Add totalorder, totalorderf, totalorderl.
[glibc.git] / ChangeLog
blobd129219fd172cb1334d729bf43fd8a855e22e3da
1 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4         (totalorder): New declaration.
5         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6         New macro.
7         * math/Versions (totalorder): New libm symbol at version
8         GLIBC_2.25.
9         (totalorderf): Likewise.
10         (totalorderl): Likewise.
11         * math/Makefile (libm-calls): Add s_totalorderF.
12         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13         string.
14         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15         (qnan_value_pl): Likewise.
16         (snan_value_pl): Likewise.
17         (qnan_value): Define using qnan_value_pl.
18         (snan_value): Define using snan_value_pl.
19         (struct test_ff_i_data): Add comment about which tests use this
20         structure.
21         (RUN_TEST_ff_b): New macro.
22         (RUN_TEST_LOOP_ff_b): Likewise.
23         (totalorder_test_data): New array.
24         (totalorder_test): New function.
25         (main): Call totalorder_test.
26         * math/test-tgmath.c (NCALLS): Increase to 122.
27         (F(compile_test)): Call totalorder.
28         (F(totalorder)): New function.
29         * manual/arith.texi (FP Comparison Functions): Document
30         totalorder, totalorderf and totalorderl.
31         * manual/libm-err-tab.pl: Update comment on interfaces without
32         ulps tabulated.
33         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
34         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
35         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
36         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
37         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
38         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
39         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
40         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
41         totalorder.
42         (CFLAGS-nldbl-totalorder.c): New variable.
43         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
44         file.
45         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
46         Add test-totalorderl-ldbl-128ibm.
47         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
48         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
49         test-totalorderl-ldbl-96.
50         * sysdeps/nacl/libm.abilist: Update.
51         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
64         Likewise.
65         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
66         Likewise.
67         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
68         Likewise.
69         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
70         Likewise.
71         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
77         Likewise.
78         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
79         Likewise.
80         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
84 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
86         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
87         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
88         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
89         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
90         remove ENOSYS implementation.
91         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
92         Consolidate all Linux implementations.
94 2016-10-11  Florian Weimer  <fweimer@redhat.com>
96         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
97         * resolv/herror.c (herror): Cast away const-ness.
98         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
99         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
101 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
103         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
104         instead of M_NAN + M_NAN.
105         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
107 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
109         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
110         unused variable 'p'.
112 2016-10-09  Alan Modra  <amodra@gmail.com>
113             Andreas Schwab  <schwab@linux-m68k.org>
115         [BZ #20554]
116         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
117         [PIC && !SHARED]: Set up PIC register for PLT call.
119 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
121         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
122         conditional on value of [__FLT_EVAL_METHOD__].
123         * math/test-iseqsig-excess-precision.c: New file.
124         * math/Makefile (tests): Add test-iseqsig-excess-precision.
126 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
128         * math/s_iseqsig_template.c: Include math-private.h.
130         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
131         * posix/tst-posix_fadvise.c: New file.
132         * posix/tst-posix_fadvise64.c: Likewise.
133         * posix/tst-posix_fadvise-common.c: Likewise.
134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
135         (__ASSUME_FADVISE64_64_6ARG): Define.
136         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
137         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
138         * sysdeps/unix/sysv/linux/tile/kernel-features.h
139         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
140         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
141         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
142         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
143         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
144         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
145         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
146         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
147         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
150         Likewise.
151         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
152         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
153         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
154         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
155         Alias to __posix_fadvise64_l32.
156         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
157         Add compat definition to posix_fadvise64.
158         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
159         Add versioned definition to posix_fadvise64.
160         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
161         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
162         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
163         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
164         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
166         * io/Makefile (tests): Add tst-posix_fallocate and
167         tst-posix_fallocate64.
168         * io/tst-posix_fallocate-common.c: New file.
169         * io/tst-posix_fallocate.c: Likewise.
170         * io/tst-posix_fallocate64.c: Likewise.
171         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
172         file.
173         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
174         Likewise.
175         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
176         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
177         Likewise.
178         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
179         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
180         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
181         SYSCALL_LL to pass both offset and len arguments.
182         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
183         Likewise.
184         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
185         __libc_pwrite64 alias used by posix_fallocate64.
187         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
188         tst-fallocate64.
189         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
190         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
191         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
192         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
193         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
194         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
195         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
196         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
197         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
198         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
199         macro on offset argument.
200         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
201         SYSCALL_LL64 on offset argument.
203         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
204         tst-fallocate64.
205         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
206         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
207         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
208         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
209         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
210         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
211         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
212         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
213         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
214         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
215         macro on offset argument.
216         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
217         SYSCALL_LL64 on offset argument.
218         * test-skeleton.c (FAIL_RET): Add macro.
219         (FAIL_EXIT): Likewise.
220         (FAIL_EXIT1): Likewise.
221         (_FAIL): Likewise.
223 2016-10-07  Florian Weimer  <fweimer@redhat.com>
225         [BZ #20629]
226         resolv: Remove RES_USEBSTRING and its implementation.
227         * resolv/resolv.h (RES_USEBSTRING): Remove.
228         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
229         (digitvalue, encode_bitstring, decode_bitstring): Remove.
230         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
231         (labellen): Remove extended label types support.
232         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
233         * resolv/res_init.c (res_setoptions): Likewise.
234         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
236 2016-10-07  Florian Weimer  <fweimer@redhat.com>
238         resolv: Remove RES_NOIP6DOTINT and its implementation.
239         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
240         (RES_NOIP6DOTINT): Remove.
241         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
242         handling.
243         * resolv/res_debug.c (p_option): Likewise.
244         * resolv/res_init.c (res_setoptions): Likewise.
245         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
247 2016-10-07  Florian Weimer  <fweimer@redhat.com>
249         resolv: Deprecate unimplemented flags.
250         * misc/sys/cdefs.h (__glibc_macro_warning1)
251         (__glibc_macro_warning): Define.
252         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
253         (RES_KEEPTSIG): Mark as deprecated.
254         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
255         RES_NOCHECKNAME, RES_KEEPTSIG.
256         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
258 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
260         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
261         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
262         Use strong_alias to create symbols for glibc verison 2.19.
264 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
266         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
268 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
270         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
272 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
274         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
276 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
278         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
279         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
280         in header for using it as type for ifunc function because __GI_* symbols
281         for ppc32 do not target the ifunc symbols.
282         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
284 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
286         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
287         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
288         libc_ifunc_hidden_def.
289         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
290         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
291         Redirect ifunced function in header for using it as type of ifunc'ed
292         function. Redefine libc_hidden_def to use fallback non ifunc'ed
293         function for __GI_* symbol.
294         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
295         * include/libc-symbols.h
296         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
298 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
300         [BZ #20478]
301         * sysdeps/s390/multiarch/ifunc-resolve.h
302         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
303         to create ifunc symbols.
304         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
305         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
306         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
307         for using it as type for ifunc function.
308         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
309         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
310         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
311         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
312         * sysdeps/s390/multiarch/strcat.c: Likewise.
313         * sysdeps/s390/multiarch/strchr.c: Likewise.
314         * sysdeps/s390/multiarch/strcmp.c: Likewise.
315         * sysdeps/s390/multiarch/strcpy.c: Likewise.
316         * sysdeps/s390/multiarch/strcspn.c: Likewise.
317         * sysdeps/s390/multiarch/strlen.c: Likewise.
318         * sysdeps/s390/multiarch/strncmp.c: Likewise.
319         * sysdeps/s390/multiarch/strncpy.c: Likewise.
320         * sysdeps/s390/multiarch/strnlen.c: Likewise.
321         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
322         * sysdeps/s390/multiarch/strrchr.c: Likewise.
323         * sysdeps/s390/multiarch/strspn.c: Likewise.
324         * sysdeps/s390/multiarch/wcschr.c: Likewise.
325         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
326         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
327         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
328         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
329         * sysdeps/s390/multiarch/wmemset.c: Likewise.
330         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
331         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
332         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
333         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
334         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
335         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
337 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
339         * include/libc-symbols.h (__ifunc_resolver):
340         New macro is used by __ifunc* macros.
341         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
342         depending on HAVE_GCC_IFUNC.
343         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
344         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
346         Redirect ifunced function in header for using as type for ifunc function.
347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
353         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
354         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
355         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
356         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
358         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
360         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
366         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
367         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
368         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
370         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
371         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
372         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
373         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
374         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
375         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
376         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
377         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
378         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
379         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
381         Add libc_hidden_def() and use libc_ifunc_hidden() macro
382         instead of libc_ifunc() macro.
383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
386 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
388         * config.h.in (HAVE_GCC_IFUNC): New undef.
389         * configure.ac: Add check if gcc supports attribute ifunc feature.
390         * configure: Regenerated.
391         * manual/install.texi: Add recommendation for gcc with
392         indirect-function support.
393         * INSTALL: Regenerated.
395 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
397         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
398         macro.
399         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
400         (__iseqsig): New declaration.
401         * math/s_iseqsig_template.c: New file.
402         * math/Versions (__iseqsigf): New libm symbol at version
403         GLIBC_2.25.
404         (__iseqsig): Likewise.
405         (__iseqsigl): Likewise.
406         * math/libm-test.inc (iseqsig_test_data): New array.
407         (iseqsig_test): New function.
408         (main): Call iseqsig_test.
409         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
410         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
411         * manual/libm-err-tab.pl: Update comment on interfaces without
412         ulps tabulated.
413         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
414         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
415         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
416         * sysdeps/nacl/libm.abilist: Update.
417         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
418         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
419         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
420         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
422         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
423         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
424         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
425         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
428         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
430         Likewise.
431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
432         Likewise.
433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
434         Likewise.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
436         Likewise.
437         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
443         Likewise.
444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
445         Likewise.
446         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
450 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
452         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
453         do_sincos_2, sloww, sloww1): Update comments.
455         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
456         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
458         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
459         K boolean and rename it.
460         (__sin): Adjust.
461         (__cos): Adjust.
463 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
464             Siddhesh Poyarekar  <siddhesh@sourceware.org>
466         * manual/nss.texi: Fix typos in the manual.
468 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
470         * manual/contrib.texi: Fix typos in the manual.
472         * manual/maint.texi: Fix typos in the manual.
474         * manual/install.texi: Fix typos in the manual.
475         * INSTALL: Regenerated.
477         * manual/lang.texi: Fix typos in the manual.
479         * manual/probes.texi: Fix typos in the manual.
481         * manual/threads.texi: Fix typos in the manual.
483         * manual/debug.texi: Fix typos in the manual.
485         * manual/crypt.texi: Fix typos in the manual.
487         * manual/conf.texi: Fix typos in the manual.
489         * manual/sysinfo.texi: Fix typos in the manual.
491         * manual/users.texi: Fix typos in the manual.
493         * manual/job.texi: Fix typos in the manual.
495         * manual/process.texi: Fix typos in the manual.
497         * manual/argp.texi: Fix typos in the manual.
498         * manual/getopt.texi: Likewise.
499         * manual/startup.texi: Likewise.
501         * manual/signal.texi: Fix typos in the manual.
503         * manual/setjmp.texi: Fix typos in the manual.
505         * manual/resource.texi: Fix typos in the manual.
507         * manual/time.texi: Fix typos in the manual.
509         * manual/arith.texi: Fix typos in the manual.
511         * manual/math.texi: Fix typos in the manual.
513         * manual/syslog.texi: Fix typos in the manual.
515         * manual/terminal.texi: Fix typos in the manual.
517         * manual/socket.texi: Fix typos in the manual.
519         * manual/filesys.texi: Fix typos in the manual.
521         * manual/llio.texi: Fix typos in the manual.
523         * manual/stdio.text: Fix typos in the manual.
525 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
527         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
528         instead of K1.
530         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
531         SHIFT_QUADRANT and make it bool.
532         (do_sincos_2): Likewise.
533         (sloww): Likewise.
534         (sloww1): Likewise.
535         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
536         (__cos): Likewise.
538 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
540         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
542 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
544         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
545         Define to __WORDSIZE, not conditional on [LONG_MAX ==
546         0x7fffffffL].
547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
549 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
551         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
552         inline by __inline__.
553         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
554         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
555         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
556         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
557         sigset_t from signal.h.
558         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
559         which is already required.
561 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
563         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
565 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
567         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
568         (struct tcp_repair_window): New type.
570 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
572         * libio/tst-memstream3.c: Include string.h.
574 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
576         [BZ #18241]
577         [BZ #20181]
578         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
579         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
580         write position is at the end the buffer.
581         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
582         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
583         (_IO_str_seekoff): Set correct offset from negative displacement and
584         set EINVAL for invalid ones.
585         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
586         buffer length.
587         (_IO_wstr_switch_to_get_mode): New function.
588         (_IO_wstr_seekoff): Set correct offset from negative displacement and
589         set EINVAL for invalid ones.
590         * libio/tst-memstream3.c: New file.
591         * libio/tst-wmemstream3.c: Likewise.
592         * manual/examples/memstrm.c: Remove warning when priting size_t.
594 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
596         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
597         macro to use __builtin_fma.
598         * sysdeps/x86_64/fpu/dla.h: Remove file.
600         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
601         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
602         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
604 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
606         [BZ #20292]
607         * elf/Makefile (routines): Add dl-addr-obj.
608         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
609         tst-_dl_addr_inside_object.
610         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
611         [ifeq (yesyes,$(have-fpie)$(build-shared))]
612         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
613         [ifeq (yesyes,$(have-fpie)$(build-shared))]
614         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
615         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
616         * elf/dl-open.c: Likewise.
617         * elf/dl-addr-obj.c: New file.
618         * elf/tst-_dl_addr_inside_object.c: New file.
620 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
622         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
623         <bits/iscanonical.h>.
624         * bits/iscanonical.h: New file.
625         * math/s_iscanonicall.c: Likewise.
626         * math/Versions (__iscanonicall): New libm symbol at version
627         GLIBC_2.25.
628         * math/libm-test.inc (iscanonical_test_data): New array.
629         (iscanonical_test): New function.
630         (main): Call iscanonical_test.
631         * math/Makefile (headers): Add bits/iscanonical.h.
632         (type-ldouble-routines): Add s_iscanonicall.
633         * manual/arith.texi (Floating Point Classes): Document
634         iscanonical.
635         * manual/libm-err-tab.pl: Update comment on interfaces without
636         ulps tabulated.
637         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
638         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
639         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
640         Likewise.
641         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
642         test-iscanonical-ldbl-128ibm.
643         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
644         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
645         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
646         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
647         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
648         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
649         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
651         Likewise.
652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
653         Likewise.
654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
655         Likewise.
656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
657         Likewise.
658         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
659         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
661 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
663         * string/bits/string3.h: Remove C++ style comments.
665 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
667         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
668         instead of ternary condition.
669         (do_sincos_2): Likewise.
670         (__sin): Likewise.
671         (__cos): Likewise.
672         (slow): Likewise.
673         (sloww): Likewise.
674         (sloww1): Likewise.
675         (bsloww): Likewise.
676         (bsloww1): Likewise.
678         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
679         instead of ternary condition.
680         (do_sin_slow): Likewise.
681         (do_sincos_1): Likewise.
682         (do_sincos_2): Likewise.
683         (__cos): Likewise.
684         (sloww): Likewise.
685         (sloww1): Likewise.
686         (sloww2): Likewise.
687         (bsloww): Likewise.
688         (bsloww1): Likewise.
689         (bsloww2): Likewise.
691         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
692         check from here...
693         (slow2): ... and here...
694         (__sin): ... to here.
696 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
698         * math/math.h
699         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
700         Cast argument to its own type.
701         * math/test-iszero-excess-precision.c: New file.
702         * math/Makefile (tests): Add test-iszero-excess-precision.
703         (CFLAGS-test-iszero-excess-precision.c): New variable.
705 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
707         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
708         field, add err field.
709         (__spawni_child): Report error through err member instead of pipe.
710         (__spawnix): Likewise.
712 2016-09-28  Zack Weinberg  <zackw@panix.com>
714         * scripts/check-installed-headers.sh: Generalize treatment of
715         sys/elf.h to all target architectures.
717         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
718         deleted typedef ucontext_t.
720 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
722         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
723         (__INTERNAL_SYSCALL1): Likewise.
724         (__INTERNAL_SYSCALL2): Likewise.
725         (__INTERNAL_SYSCALL3): Likewise.
726         (__INTERNAL_SYSCALL4): Likewise.
727         (__INTERNAL_SYSCALL5): Likewise.
728         (__INTERNAL_SYSCALL6): Likewise.
729         (__INTERNAL_SYSCALL7): Likewise.
730         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
731         (__INTERNAL_SYSCALL_NARGS): Likewise.
732         (__INTERNAL_SYSCALL_DISP): Likewise.
733         (INTERNAL_SYSCALL_CALL): Likewise.
734         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
735         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
736         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
737         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
738         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
739         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
740         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
741         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
742         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
743         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
744         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
745         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
746         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
748 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
750         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
751         macro.
752         * math/libm-test.inc (iszero_test_data): New array.
753         (iszero_test): New function.
754         (main): Call iszero_test.
755         * manual/arith.texi (Floating Point Classes): Document iszero.
756         * manual/libm-err-tab.pl: Update comment on interfaces without
757         ulps tabulated.
759 2016-09-23  Zack Weinberg  <zackw@panix.com>
761         * scripts/check-installed-headers.sh: New script.
762         * Rules: In each directory that defines header files to be installed,
763         run check-installed-headers.sh on them as a special test.
764         * Makefile: Likewise for the headers installed at top level.
766         * include/aliases.h, include/alloca.h, include/argz.h
767         * include/arpa/nameser.h, include/arpa/nameser_compat.h
768         * include/elf.h, include/envz.h, include/err.h
769         * include/execinfo.h, include/fpu_control.h, include/getopt.h
770         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
771         * include/link.h, include/malloc.h, include/mcheck.h
772         * include/mntent.h, include/netinet/ether.h
773         * include/nss.h, include/obstack.h, include/printf.h
774         * include/pty.h, include/resolv.h, include/rpc/auth.h
775         * include/rpc/auth_des.h, include/rpc/auth_unix.h
776         * include/rpc/clnt.h, include/rpc/des_crypt.h
777         * include/rpc/key_prot.h, include/rpc/netdb.h
778         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
779         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
780         * include/rpc/rpc_msg.h, include/rpc/svc.h
781         * include/rpc/svc_auth.h, include/rpc/xdr.h
782         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
783         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
784         * include/rpcsvc/ypupd.h, include/shadow.h
785         * include/stdio_ext.h, include/sys/epoll.h
786         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
787         * include/sys/prctl.h, include/sys/profil.h
788         * include/sys/statfs.h, include/sys/sysctl.h
789         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
790         * sysdeps/arm/nacl/include/bits/setjmp.h
791         * sysdeps/mips/include/sys/asm.h
792         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
793         * sysdeps/unix/sysv/linux/include/sys/timex.h
794         * sysdeps/x86/fpu/include/bits/fenv.h:
795         Add #ifndef _ISOMAC guard around internal declarations.
796         Add multiple-inclusion guard if not already present.
798 2016-09-23  Zack Weinberg  <zackw@panix.com>
800         * sysdeps/generic/sys/ucontext.h
801         * sysdeps/arm/sys/ucontext.h
802         * sysdeps/i386/sys/ucontext.h
803         * sysdeps/m68k/sys/ucontext.h
804         * sysdeps/mips/sys/ucontext.h
805         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
806         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
807         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
808         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
809         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
810         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
811         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
812         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
813         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
814         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
815         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
816         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
817         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
818         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
819         Include both bits/sigcontext.h and bits/sigstack.h.
820         Fix grammar error in comment, if present.
822         * bits/sigstack.h
823         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
824         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
825         * sysdeps/unix/sysv/linux/bits/sigstack.h
826         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
827         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
828         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
829         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
830         * bits/sigcontext.h
831         * sysdeps/mach/hurd/i386/bits/sigcontext.h
832         * sysdeps/unix/sysv/linux/bits/sigcontext.h
833         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
834         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
835         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
836         as well as signal.h, if this was not already allowed.  Request
837         definition of size_t if necessary.  Minimize semantically-null
838         differences across files.
840 2016-09-23  Zack Weinberg  <zackw@panix.com>
842         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
843         Remove all logic conditional on __need macros.  Move all the
844         conditionally defined types to their own headers...
845         * time/bits/types/clock_t.h: Define clock_t here.
846         * time/bits/types/clockid_t.h: Define clockid_t here.
847         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
848         * time/bits/types/struct_timespec.h: Define struct timespec here.
849         * time/bits/types/struct_timeval.h: Define struct timeval here.
850         * time/bits/types/struct_tm.h: Define struct tm here.
851         * time/bits/types/time_t.h: Define time_t here.
852         * time/bits/types/timer_t.h: Define timer_t here.
853         * time/Makefile: Install the new headers.
855         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
856         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
857         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
858         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
859         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
860         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
861         * sysdeps/unix/sysv/linux/bits/resource.h
862         * sysdeps/unix/sysv/linux/bits/timex.h
863         * sysdeps/unix/sysv/linux/mips/bits/resource.h
864         * sysdeps/unix/sysv/linux/net/ppp_defs.h
865         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
866         * sysdeps/unix/sysv/linux/sys/acct.h
867         * sysdeps/unix/sysv/linux/sys/timerfd.h
868         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
869         * time/sys/time.h, time/sys/timeb.h
870         Use the new bits/types headers.
872         * include/time.h: Remove __need logic.
873         * include/bits/time.h
874         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
875         * include/bits/types/time_t.h, include/bits/types/timer_t.h
876         * include/bits/types/struct_itimerspec.h
877         * include/bits/types/struct_timespec.h
878         * include/bits/types/struct_timeval.h
879         * include/bits/types/struct_tm.h:
880         New wrapper headers.
882 2016-09-23  Zack Weinberg  <zackw@panix.com>
884         * sysdeps/mach/hurd/net/if_ppp.h
885         * sysdeps/unix/sysv/linux/net/if_ppp.h:
886         Only define struct ifpppstatsreq and struct ifpppcstatsreq
887         if __USE_MISC is defined, to ensure struct ifreq is declared.
889         * inet/netinet/ether.h: Condition all function prototypes
890         on __USE_MISC, to ensure struct ether_addr is declared.
892         * socket/bits/types/struct_osockaddr.h: New header.
893         * include/bits/types/struct_osockaddr.h: New wrapper.
894         * socket/Makefile: Install the new header.
895         * socket/sys/socket.h, inet/protocols/talkd.h:
896         Refer to bits/types/struct_osockaddr.h for the definition of
897         struct osockaddr.
899 2016-09-23  Zack Weinberg  <zackw@panix.com>
901         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
902         * inet/protocols/routed.h, inet/protocols/talkd.h
903         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
904         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
905         * sysdeps/generic/netinet/if_ether.h
906         * sysdeps/generic/netinet/in_systm.h
907         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
908         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
909         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
910         * sysdeps/mach/hurd/net/if_arp.h
911         * sysdeps/mach/hurd/net/if_ppp.h
912         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
913         * sysdeps/unix/sysv/linux/bits/in.h
914         * sysdeps/unix/sysv/linux/net/ethernet.h
915         * sysdeps/unix/sysv/linux/net/if_arp.h
916         * sysdeps/unix/sysv/linux/net/if_ppp.h
917         * sysdeps/unix/sysv/linux/net/if_shaper.h
918         * sysdeps/unix/sysv/linux/net/route.h
919         * sysdeps/unix/sysv/linux/netinet/if_ether.h
920         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
921         * sysdeps/unix/sysv/linux/netinet/if_tr.h
922         * sysdeps/unix/sysv/linux/netipx/ipx.h
923         * sysdeps/unix/sysv/linux/sys/acct.h
924         * include/arpa/nameser.h, include/resolv.h:
925         Change all uses of u_char to unsigned char,
926         u_short and ushort to unsigned short, u_int and uint to unsigned int,
927         u_long and ulong to unsigned long, u_int8_t to uint8_t,
928         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
929         and u_int64_t and u_quad_t to uint64_t.
931         * mach/sys/reboot.h: Remove two casts of integer literals
932         to the types they already have.
934         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
935         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
936         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
937         from referring to 'unsigned char' to 'uint8_t' for consistency with
938         the macro definition below.
940         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
941         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
942         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
943         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
944         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
945         * sysdeps/unix/sysv/linux/sys/acct.h
946         * include/arpa/nameser.h, include/resolv.h:
947         Fix indentation disrupted by mechanical edits.
949         * inet/protocols/talkd.h, resolv/arpa/nameser.h
950         * sysdeps/generic/netinet/in_systm.h
951         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
952         * sysdeps/gnu/netinet/udp.h
953         * sysdeps/unix/sysv/linux/net/ethernet.h
954         * sysdeps/unix/sysv/linux/net/if_arp.h
955         * sysdeps/unix/sysv/linux/net/if_ppp.h
956         * sysdeps/unix/sysv/linux/net/if_shaper.h
957         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
958         * sysdeps/unix/sysv/linux/netinet/if_tr.h
959         * sysdeps/unix/sysv/linux/netipx/ipx.h
960         * sysdeps/unix/sysv/linux/sys/acct.h
961         Include stdint.h for uintNN_t definitions.
962         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
964 2016-09-23  Zack Weinberg  <zackw@panix.com>
966         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
967         * sysdeps/unix/sysv/linux/netrose/rose.h:
968         Include sys/socket.h and netax25/ax25.h.
970         * inet/netinet/icmp6.h, inet/netinet/ip6.h
971         * resolv/arpa/nameser_compat.h:
972         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
974         * sysdeps/unix/sysv/linux/sys/quota.h:
975         Use __caddr_t instead of caddr_t.
976         * sysdeps/unix/sysv/linux/sys/timerfd.h:
977         Use __clockid_t instead of clockid_t.
979         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
981         * argp/argp.h: Check whether _LIBC is defined before expanding it.
982         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
983         expanding it.
985         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
986         Define __glibc_c99_flexarr_available to 1 when the compiler
987         supports C99-compatible flexible array members, 0 otherwise.
988         * sysdeps/unix/sysv/linux/bits/socket.h
989         * sysdeps/mach/hurd/bits/socket.h
990         * bits/socket.h: Use __glibc_c99_flexarr_available in
991         definitions of struct cmsghdr and CMSG_DATA.
993 2016-09-23  Florian Weimer  <fweimer@redhat.com>
995         * manual/nss.texi (NSS Modules Interface): Adjust function return
996         type to enum nss_status.  Document errnop argument.  Clarify
997         h_errnop semantics.  Fix cross-reference formatting.
998         (NSS Module Function Internals): Mention that *errnop needs to be
999         set on failure, but not to zero.
1001 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1003         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1004         (get_random_name): New functions.
1005         (check_wrapper_flags_mode): Use linkat to give the new file a name
1006         determined by get_random_name.
1007         (do_test): Add calls to test open64 and openat64.
1009 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1011         * test-skeleton.c: Remove #include <stdarg.h>.
1013 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1015         [BZ #19826]
1016         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1017         initialization of static TLS entries.
1018         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1019         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1021 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1023         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1024         _hurd_malloc_fork_prepare.
1025         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1026         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1027         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1028         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1029         (_hurd_fork_child_hook): Drop malloc_fork_child.
1030         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1031         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1032         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1033         after locking locks (notably hurd_dtable_lock). Call
1034         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1035         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1036         __malloc_fork_unlock_child.
1037         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1039 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1041         * soft-fp/extendhftf2.c: New.
1042         * soft-fp/fixhfti.c: Likewise.
1043         * soft-fp/fixunshfti.c: Likewise.
1044         * soft-fp/floattihf.c: Likewise.
1045         * soft-fp/floatuntihf.c: Likewise.
1046         * soft-fp/half.h: Likewise.
1047         * soft-fp/trunctfhf2.c: Likewise.
1049 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1051         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1052         macro.
1053         * math/libm-test.inc (issubnormal_test_data): New array.
1054         (issubnormal_test): New function.
1055         * manual/arith.texi (Floating Point Classes): Document
1056         issubnormal.
1057         * manual/libm-err-tab.pl: Update comment on interfaces without
1058         ulps tabulated.
1060         * sysdeps/generic/stdint.h: Define
1061         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1062         <bits/libc-header-start.h> instead of including <features.h>.
1063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1064         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1065         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1096         * manual/arith.texi (Integers): Document these macros for types
1097         specified by width properties.
1098         * manual/lang.texi (Width of Type): Document these macros for
1099         other standard typedefs.
1100         * stdlib/tst-width-stdint.c: New file.
1101         * stdlib/Makefile (tests): Add tst-width-stdint.
1103 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1105         [BZ #20016]
1106         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1107         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1108         Move ...
1109         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1110         ... here, as compatibility symbols in a new file.
1111         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1112         * resolv/res_init.c (__res_vinit): Adjust member names.
1113         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1114         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1115         (res_send_rhook): Remove.
1116         (struct __res_state): Rename qhook, rhook members.
1118 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1120         malloc: Use __libc_lock wrappers.
1121         * malloc/arena.c (list_lock, free_list_lock): Define using
1122         __libc_lock_define_initialized.
1123         (arena_lock): Adjust formatting.
1124         * malloc/malloc.c (struct malloc_state): Define mutex using
1125         __libc_lock_define.
1126         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1127         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1128         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1129         (mutex_unlock, mutex_trylock): Remove.
1130         (__pthread_initialize): Remove unused macro.
1131         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1132         (mutex_unlock, mutex_trylock): Remove.
1134 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1136         [BZ #20592]
1137         Remove RR type classification macros.
1138         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1139         (ns_t_udp_p, ns_t_xfr_p): Remove.
1141 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1143         Remove misleading version information.
1144         * resolv/arpa/nameser.h (__NAMESER): Remove.
1145         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1147 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1149         Remove the always-defined BIND_4_COMPAT macro.
1150         * resolv/arpa/nameser.h: Unconditionally include
1151         <arpa/nameser_compat.h>.
1152         (BIND_4_COMPAT): Remove.
1153         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1155 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1157         [BZ #20591]
1158         Remove obsolete DNSSEC support.
1159         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1160         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1161         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1162         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1163         (ns_cert_types): Add comment.
1164         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1165         separately.
1166         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1167         (dst_s_dns_key_id): Remove.
1168         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1169         variables.
1171 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1173         [BZ #20524]
1174         * manual/string.texi (String/Array Comparison): Clarify the
1175         strverscmp behavior.
1177 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1179         * test-skeleton.c (xasprintf): Add function.
1180         * io/tst-open-tmpfile.c: New test.
1181         * io/Makefile (tests): Add it.
1183 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1185         Avoid running $(CXX) during build to obtain header file paths.
1186         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1187         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1188         * Makerules (cstdlib, cmath): Remove variables.  Use
1189         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1190         * configure: Regenerate.
1192 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1194         * Makeconfig (all-object-suffixes): Include .op only if
1195         $(build-profile).
1197 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1199         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1200         conditionals.  Do not define PATH_MAX.
1202 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1204         * posix/Makefile (tests): Add tst-spawn3.
1205         * posix/tst-spawn3.c: New file.
1206         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1207         if it is already opened for open action.
1209         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1210         all signals when executing the clone vfork child.
1211         (SIGALL_SET): Remove macro.
1213         * nptl/Makefile (tests): Add tst-exec5.
1214         * nptl/tst-exec5.c: New file.
1215         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1216         asynchronous cancellation.
1218 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1220         * hurd/exc2signal.c: #include <hurd/signal.h>
1221         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1222         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1223         accordingly.
1224         * mach/mach_error.c (mach_error): Fix old-style function definition.
1225         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1227 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1229         * math/Makefile (libm-calls): Remove s_nanF.
1230         (gen-libm-calls): Add s_nanF.
1232         * math/s_nan.c: Refactor into ...
1233         * math/s_nan_template.c: New file.
1235         * math/s_nanf.c: Removed.
1236         * math/s_nanl.c: Removed.
1237         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1238         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1240         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1241         (LDOUBLE_nanl_libm_version): New macro.
1243         * sysdeps/generic/math-type-macros-double.h:
1244         (M_STRTO_NAN): New macro.
1245         * sysdeps/generic/math-type-macros-float.h: Likewise.
1246         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1248         * sysdeps/generic/math-type-macros.h: Document
1249         M_STRTO_NAN.
1251 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1253         * math/s_nanf.c: Remove __nanf undef.
1254         * math/s_nan.c: Remove __nan undef.
1255         * math/s_nanl.c: Remove __nanl undef.
1257         * sysdeps/generic/math_private.h (__nan): Remove macro
1258         override.
1259         (__nanf): Likewise.
1260         (__nanl): Likewise.
1262 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1264         * math/Makefile (gen-all-calls): New variable.
1265         (generated): Replace gen-libm-calls with gen-all-calls.
1266         (gen-libm-templates.stmp): Likewise.  Also, ensure
1267         the output directory exists or is created and add
1268         dependency on the Makefile.
1269         (calls): Move s_ldexpF into gen-calls.
1270         (gen-calls): New variable.
1272         * math/s_ldexpf.c: Removed.
1273         * math/s_ldexpl.c: Removed.
1274         * math/s_ldexp.c: Refactored into ...
1275         * math/s_ldexp_template.c: New file.
1277         * sysdeps/generic/math-type-macros-double.h: Remove
1278         redundant fall-through definition of declare_mgen_alias.
1279         (declare_mgen_alias_2): New macro.
1281         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1282         New macro for function aliased to two exported symbols.
1284         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1285         new template file.
1286         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1288 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1290         * Makeconfig (all-object-suffixes): Remove .og.
1291         * Makerules (elide-routines.og): Remove.
1292         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1293         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1294         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1296 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1298         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1299         .os objects.
1301 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1303         [BZ #20615]
1304         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1305         fpu directory by non-fpu.
1306         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1307         on non-fpu directory from a fpu directory.
1309 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1311         * include/limits.h: Define
1312         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1313         <bits/libc-header-start.h> instead of including <features.h>.
1314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1325         * manual/lang.texi (Width of Type): Document these macros.
1326         * stdlib/tst-width.c: New file.
1327         * stdlib/Makefile (tests): Add tst-width.
1329 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1331         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1332         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1334 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1336         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1337         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1338         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1340 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1342         [BZ #18243]
1343         * rt/Makefile (test): Add tst-shm-cancel.
1344         * rt/tst-shm-cancel.c: New file.
1345         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1347         [BZ #18243]
1348         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1349         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1350         definition.
1351         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1352         uncontended case.
1353         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1354         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1355         (tf): Fix check for uncontended case.
1356         (do_test): Likewise.
1357         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1358         (tf): Fix check for uncontended case.
1359         (do_test): Likewise.
1360         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1361         (tf): Fix check for uncontended case.
1362         (do_test): Likewise.
1363         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1364         (tf): Fix check for uncontended case.
1365         (do_test): Likewise.
1367         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1368         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1370         [BZ #15765]
1371         * nptl/Makefile (tests): Add tst-sem16.
1372         * nptl/tst-sem16.c: New file.
1373         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1375         * nptl/sem_open.c (sem_open): Init pad value to 0.
1376         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1377         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1379 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1381         [BZ #20611]
1382         * inet/Makefile (routines): Add inet6_scopeid_pton.
1383         (tests): Add tst-inet6_scopeid_pton.
1384         * inet/inet6_scopeid_pton.c: New file.
1385         * inet/net-internal.h: Likewise.
1386         * inet/tst-inet6_scopeid_pton.c: New test.
1387         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1388         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1391 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1393         Remove support for compiling wrappers with PTW.
1394         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1395         * nptl/Makefile (pthread-compat-wrappers): Define.
1396         (libpthread-routines): Use pthread-compat-wrappers.
1397         * sysdeps/unix/sysv/linux/alpha/Makefile
1398         (libpthread-routines, libpthread-shared-only-routines): Remove
1399         ptw- prefix.
1400         * sysdeps/s390/nptl/Makefile
1401         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1402         * sysdeps/ia64/nptl/Makefile
1403         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1404         * sysdeps/nacl/Makefile (libpthread-routines): Use
1405         pthread-compat-wrappers to filter the routines list instead of the
1406         ptw- prefix.
1408 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1410         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1411         with L() and remove explicit suffix, convert real literals
1412         which can be equivalentally substituted with integers, and
1413         transform -L(x) to L(-x).
1415         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1416         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1417         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1418         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1419         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1420         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1421         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1422         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1423         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1424         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1425         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1426         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1427         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1428         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1429         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1430         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1431         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1432         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1433         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1434         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1435         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1436         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1437         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1439         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1440         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1441         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1442         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1443         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1445         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1446         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1447         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1448         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1449         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1450         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1451         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1452         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1453         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1454         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1455         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1459         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1463         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1464         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1466 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1468         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1470 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1472         * malloc/Makefile (tests): Remove individual static test names
1473         and just add all of tests-static.
1475         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1477 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1479         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1480         file.
1482         * sysdeps/sparc/fpu/fegetmode.c: New file.
1483         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1485         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1486         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1488         * sysdeps/s390/fpu/fegetmode.c: New file.
1489         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1491         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1492         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1493         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1494         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1496         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1498         * sysdeps/mips/fpu/fegetmode.c: New file.
1499         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1501         * sysdeps/m68k/fpu/fegetmode.c: New file.
1502         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1504         * sysdeps/ia64/fpu/fegetmode.c: New file.
1505         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1507         * sysdeps/hppa/fpu/fegetmode.c: New file.
1508         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1510         * sysdeps/arm/fegetmode.c: New file.
1511         * sysdeps/arm/fesetmode.c: Likewise.
1513         * sysdeps/alpha/fpu/fegetmode.c: New file.
1514         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1516         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1517         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1519         * math/fegetmode.c: New file.
1520         * math/fesetmode.c: Likewise.
1521         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1522         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1523         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1524         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1525         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1527         declaration.
1528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1529         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1530         typedef.
1531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1532         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1533         (femode_t): New typedef.
1534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1535         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1536         (femode_t): New typedef.
1537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1538         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1539         (femode_t): New typedef.
1540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1541         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1542         (femode_t): New typedef.
1543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1544         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1545         (femode_t): New typedef.
1546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1547         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1548         (femode_t): New typedef.
1549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1550         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1551         (femode_t): New typedef.
1552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1553         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1554         (femode_t): New typedef.
1555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1556         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1557         (femode_t): New typedef.
1558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1559         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1560         (femode_t): New typedef.
1561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1562         declaration.
1563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1564         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1565         (femode_t): New typedef.
1566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1567         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1568         (femode_t): New typedef.
1569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1570         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1571         (femode_t): New typedef.
1572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1573         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1574         (femode_t): New typedef.
1575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1576         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1577         (femode_t): New typedef.
1578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1579         * manual/arith.texi (FE_DFL_MODE): Document macro.
1580         (fegetmode): Document function.
1581         (fesetmode): Likewise.
1582         * math/Versions (fegetmode): New libm symbol at version
1583         GLIBC_2.25.
1584         (fesetmode): Likewise.
1585         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1586         (tests): Add test-femode and test-femode-traps.
1587         * math/test-femode-traps.c: New file.
1588         * math/test-femode.c: Likewise.
1589         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1590         alias for __fe_dfl_env.
1591         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1592         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1593         (__fe_dfl_mode): Likewise.
1594         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1595         version GLIBC_2.25.
1596         * sysdeps/nacl/libm.abilist: Update.
1597         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1598         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1599         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1600         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1601         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1602         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1603         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1604         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1605         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1606         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1607         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1608         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1610         Likewise.
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1612         Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1614         Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1616         Likewise.
1617         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1618         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1619         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1620         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1621         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1623         Likewise.
1624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1625         Likewise.
1626         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1627         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1628         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1630 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1632         [BZ #20495]
1633         [BZ #20508]
1634         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1635         processors, set Use_dl_runtime_resolve_slow and set
1636         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1637         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1638         New.
1639         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1640         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1641         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1642         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1643         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1644         if Use_dl_runtime_resolve_opt is set.  Use
1645         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1646         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1647         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1648         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1649         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1650         New.
1651         (_dl_runtime_resolve_opt): Likewise.
1652         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1653         defined.
1655 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1657         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1658         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1660 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1662         Convert malloc to __libc_lock.  Automated part, using this Perl
1663         s/// command:
1664           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1665             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1666         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1667         conversion.
1669 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1671         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1672         (linknamespace-symlists-tests): Likewise.
1673         (linknamespace-header-tests): Likewise.
1675 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1677         [BZ #19810]
1678         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1679         * elf/tst-noload.c: New test case.
1680         * elf/Makefile (tests): Add tst-noload.
1682 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1684         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1686         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1687         not any more.
1689         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1691 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1693         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1694         (do_cos_slow): Likewise.
1695         (do_sin): Likewise.
1696         (do_sin_slow): Likewise.
1697         (slow): Likewise.
1698         (slow1): Likewise.
1699         (slow2): Likewise.
1700         (sloww): Likewise.
1701         (sloww1): Likewise.
1702         (sloww2): Likewise.
1703         (bsloww): Likewise.
1704         (bsloww1): Likewise.
1705         (bsloww2): Likewise.
1706         (cslow2): Likewise.
1708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1710         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1711         arguments.  Consolidate input partitioning from callers here.
1712         (do_cos_slow): Likewise.
1713         (do_sin): Likewise.
1714         (do_sin_slow): Likewise.
1715         (do_sincos_1): Remove the no longer necessary input partitioning.
1716         (do_sincos_2): Likewise.
1717         (__sin): Likewise.
1718         (__cos): Likewise.
1719         (slow1): Likewise.
1720         (slow2): Likewise.
1721         (sloww1): Likewise.
1722         (sloww2): Likewise.
1723         (bsloww1): Likewise.
1724         (bsloww2): Likewise.
1725         (cslow2): Likewise.
1727 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1729         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1730         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1731         outside of allocated array.
1733 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1735         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1736         instead of MB_CUR_MAX to avoid variable-length array.
1738 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1740         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1741         (type-double-routines): Add k_rem_pio2.
1742         (type-float-routines): Add k_rem_pio2f.
1744         * sysdeps/generic/math_private.h:
1745         (__kernel_rem_pio2l): Removed.
1747         * math/k_rem_pio2l.c: Removed.
1748         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1749         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1750         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1751         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1753 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1755         * math/Makefile (gen-libm-calls): Add s_fmin
1756         (libm-calls): Remove above.
1758         * math/s_fmin.c: Refactor into ...
1759         * math/s_fmin_template.c: New file.
1761         * math/s_fminf.c: Removed.
1762         * math/s_fminl.c: Removed.
1763         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1764         (LDOUBLE_fmin_libm_version): New macro.
1766         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1767         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1769 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1771         * math/Makefile: (gen-libm-calls): Add s_fmax.
1772         (libm-calls): Remove above.
1774         * math/s_fmax.c: Refactor into ...
1775         * math/s_fmax_template.c: New file.
1776         * math/s_fmaxf.c: Removed.
1777         * math/s_fmaxl.c: Removed.
1779         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1780         (LDOUBLE_fmaxl_libm_version): New macro.
1782         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1783         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1785         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1786         s_fmin.c to pick the aarch64 version of the file.
1787         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1788         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1790 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1792         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1793         (libm-calls): Remove above.
1795         * math/s_nextdown.c: Refactor into ...
1796         * math/s_nextdown_template.c: New file.
1797         * math/s_nextdownf.c: Removed.
1798         * math/s_nextdownl.c: Removed.
1800         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1802 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1804         * math/Makefile (gen-libm-calls): Add s_fdim.
1805         (libm-calls): Move to above.
1807         * math/s_fdim.c: Renamed and refactored into to ...
1808         * math/s_fdim_template.c: New file.
1809         * math/s_fdiml.c: Removed.
1810         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1811         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1813         * sysdeps/generic/math-type-macros-double.h:
1814         (declare_mgen_alias): Don't declare if already declared.
1815         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1816         Likewise.
1818         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1819         (declare_mgen_alias): Don't declare if already declared.
1820         (M_LIBM_NEED_COMPAT): Likewise.
1821         (declare_mgen_libm_compat): Likewise.
1822         (LDOUBLE_fdiml_libm_version): New macro.
1824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1825         Include math/s_fdim.c now that ldbl-opt version is not needed.
1826         (declare_mgen_alias): New macro to disable aliasing.
1828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1829         (declare_mgen_alias): Likewise.
1830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1831         (declare_mgen_alias): Likewise.
1832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1833         (declare_mgen_alias): Likewise.
1834         (M_LIBM_NEED_COMPAT): Likewise.
1836 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1838         [BZ #20525]
1839         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1840         Include <linux/quota.h>.
1841         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1842         and btodb.
1843         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1844         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1845         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1846         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1847         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1848         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1849         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1850         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1851         types.
1852         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1853         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1855 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1857         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1858         (gammal_positive): Fix spacing.
1859         (__ieee754_gammal_r): Likewise.
1861 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1863         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1864         (_Float128): Define as long double, always.
1865         (L): Apply long double type suffix, always.
1867         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1868         _Float128, excepting comments.
1870         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1871         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1872         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1874         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1875         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1886         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1889         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1890         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1891         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1892         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1894         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1895         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1896         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1897         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1898         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1899         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1900         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1901         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1902         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1903         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1904         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1905         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1909         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1913         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1914         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1915         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1916         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1917         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1918         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1936         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1940         _Float128, and include math_private.h.
1941         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1943         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1944         long double semantics.
1945         (_Float128): Likewise.
1946         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1947         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1948         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1949         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1951 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1953         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1954         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1955         * sysdeps/s390/configure: Regenerated.
1956         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1957         instruction for raising over-/underflow if z196 zarch is supported
1958         by default.
1959         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1961 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1963         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1964         it point to a dumb buffer for RPC to fill it.
1966 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1968         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1969         instead of if/else.
1970         (do_sin_slow): Likewise.
1971         (do_sincos_1): Use fabs instead of if/else.
1972         (do_sincos_2): Likewise.
1973         (__sin): Likewise.
1974         (__cos): Likewise.
1975         (slow2): Likewise.
1976         (sloww): Likewise.
1977         (sloww1): Likewise.  Drop argument M.
1978         (sloww2): Use fabs instead of if/else.
1979         (bsloww): Likewise.
1980         (bsloww1): Likewise.
1981         (bsloww2): Likewise.
1983         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1984         fall through comment.
1985         (do_sincos_1): Likewise.
1987         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1988         Consolidate switch cases 0 and 2.
1990 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1992         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1993         (libm-calls): Remove the above.
1995         * math/s_cexp_template.c: Update using type-generic macros.
1996         * math/s_clog10_template.c: Likewise.
1997         * math/s_cpow_template.c: Likewise.
1998         * math/s_clog_template.c: Likewise.
1999         * math/s_cproj_template.c: Likewise.
2000         * math/s_csqrt_template.c: Likewise.
2002         * math/s_cexp.c: Removed.
2003         * math/s_cexpf.c: Removed.
2004         * math/s_cexpl.c: Removed.
2005         * math/s_clog10.c: Removed.
2006         * math/s_clog10f.c: Removed.
2007         * math/s_clog10l.c: Removed.
2008         * math/s_cpow.c: Removed.
2009         * math/s_cpowf.c: Removed.
2010         * math/s_cpowl.c: Removed.
2011         * math/s_clog.c: Removed.
2012         * math/s_clogf.c: Removed.
2013         * math/s_clogl.c: Removed.
2014         * math/s_cproj.c: Removed.
2015         * math/s_cprojf.c: Removed.
2016         * math/s_cprojl.c: Removed.
2017         * math/s_csqrt.c: Removed.
2018         * math/s_csqrtf.c: Removed.
2019         * math/s_csqrtl.c: Removed.
2021         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2022         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2023         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2024         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2025         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2026         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2028         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2029         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2030         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2031         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2032         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2033         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2034         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2035         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2036         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2037         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2038         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2040         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2041         version.
2043         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2044         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2045         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2046         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2048 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2050         * s_cexp_template.c: Copy of s_cexp.c.
2051         * s_clog_template.c: Copy of s_clog.c.
2052         * s_clog10_template.c: Copy of s_clog10.c.
2053         * s_cpow_template.c: Copy of s_cpow.c.
2054         * s_cproj_template.c: Copy of s_cproj.c.
2055         * s_csqrt_template.c: Copy of s_csqrt.c.
2057 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2059         [BZ #20517]
2060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2061         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2062         exported.
2064 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2066         * math/fetestexceptflag.c: New file.
2067         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2068         Stefan Liebler.
2069         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2070         (fetestexceptflag): New function declaration.
2071         * manual/arith.texi (fetestexceptflag): Document function.
2072         * math/Versions (fetestexceptflag): New libm symbol at version
2073         GLIBC_2.25.
2074         * math/Makefile (libm-support): Add fetestexceptflag.
2075         (tests): Add test-fetestexceptflag.
2076         * math/test-fetestexceptflag.c: New file.
2077         * sysdeps/nacl/libm.abilist: Update.
2078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2091         Likewise.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2093         Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2104         Likewise.
2105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2106         Likewise.
2107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2111 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2113         [BZ #20432]
2114         Avoid strong references to malloc-internal symbols when linking
2115         statically, to support statically interposed mallocs.
2116         * include/libc-symbols.h (call_function_static_weak): New macro.
2117         * malloc/Makefile (tests): Add tst-interpose-nothread,
2118         tst-interpose-thread, tst-interpose-static-nothread,
2119         tst-interpose-static-thread.
2120         (tests-static): Add tst-interpose-static-nothread,
2121         tst-interpose-static-thread.
2122         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2123         tst-interpose-aux-thread.o.
2124         (test-extras): Add tst-interpose-aux-nothread,
2125         tst-interpose-aux-thread.
2126         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2127         tst-interpose-aux-nothread.o.
2128         (tst-interpose-thread, tst-interpose-static-thread): Link with
2129         tst-interpose-aux-thread.o and libthread.
2130         * malloc/tst-interpose-aux-nothread.c: New file.
2131         * malloc/tst-interpose-aux-thread.c: Likewise.
2132         * malloc/tst-interpose-aux.c: Likewise.
2133         * malloc/tst-interpose-aux.h: Likewise.
2134         * malloc/tst-interpose-nothread.c: Likewise.
2135         * malloc/tst-interpose-skeleton.c: Likewise.
2136         * malloc/tst-interpose-static-nothread.c: Likewise.
2137         * malloc/tst-interpose-static-thread.c: Likewise.
2138         * malloc/tst-interpose-thread.c: Likewise.
2139         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2140         * sysdeps/mach/hurd/fork.c (__fork): Only call
2141         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2142         __malloc_fork_unlock_child if defined.
2143         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2145 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2147         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2148         timespec C99 designated initialization.
2150 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2152         [BZ #19946]
2153         Avoid expected SIGALRM signals.
2154         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2155         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2156         (xpthread_create, xpthread_detach, xpthread_join)
2157         (delayed_exit_thread, delayed_exit): New functions.
2158         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2159         (tf): Use xpthread_cond_wait.
2160         (do_test): Likewise.  Replace alarm with delayed_exit.
2161         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2162         (do_test): Call delayed_exit.  Report failure.
2163         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2164         (do_test): Call delayed_exit.
2165         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2166         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2167         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2168         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2169         error.
2170         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2171         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2172         error.
2173         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2174         (do_test): Call delayed_exit.
2175         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2176         (do_test): Call delayed_exit.
2177         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2178         (do_test): Call delayed_exit instead of alarm.  Use
2179         xpthread_mutex_lock.
2180         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2181         (do_test): Call delayed_exit instead of alarm.  Use
2182         xpthread_mutex_lock.
2183         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2184         (do_test): Call delayed_exit instead of alarm.
2185         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2186         (do_test): Call delayed_exit instead of alarm.  Use
2187         xpthread_spin_lock.
2188         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2189         (do_test): Call delayed_exit instead of alarm.  Use
2190         xpthread_join.
2192 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2194         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2195         adjust CFA when allocating register save area on re-aligned
2196         stack.
2198 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2200         * string/tst-cmp.c: New test.
2201         * string/Makefile (tests): Add it.
2203 2016-08-25  Mark Wielaard  <mark@klomp.org>
2205         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2206         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2207         (check_tree_recurse): Use newly defined accessors.
2208         (check_tree): Likewise.
2209         (maybe_split_for_insert): Likewise.
2210         (__tfind): Likewise.
2211         (__tdelete): Likewise.
2212         (trecurse): Likewise.
2213         (tdestroy_recurse): Likewise.
2214         (__tsearch): Likewise. And add asserts for malloc alignment.
2215         (__twalk): Cast root to node in case CHECK_TREE is defined.
2217 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2219         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2221 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2223         * math/Makefile (libm-gen-calls): Add
2224         catan, catanh, ctan, ctanh.
2225         (libm-calls): Remove the above.
2227         * math/s_catan_template.c: Update using type-generic macros.
2228         * math/s_catanh_template.c: Likewise.
2229         * math/s_ctan_template.c: Likewise.
2230         * math/s_ctanh_template.c: Likewise.
2232         * math/s_catanf.c: Removed.
2233         * math/s_catan.c: Removed.
2234         * math/s_catanl.c: Removed.
2235         * math/s_catanhf.c: Removed.
2236         * math/s_catanh.c: Removed.
2237         * math/s_catanhl.c: Removed.
2238         * math/s_ctanf.c: Removed.
2239         * math/s_ctan.c: Removed.
2240         * math/s_ctanl.c: Removed.
2241         * math/s_ctanhf.c: Removed.
2242         * math/s_ctanh.c: Removed.
2243         * math/s_ctanhl.c: Removed.
2245         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2246         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2247         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2248         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2249         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2250         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2252         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2253         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2254         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2255         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2257 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2259         * s_catan_template.c: Copy of s_catan.c.
2260         * s_catanh_template.c: Copy of s_catanh.c.
2261         * s_ctan_template.c: Copy of s_ctan.c.
2262         * s_ctanh_template.c: Copy of s_ctanh.c.
2264 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2266         * math/Makefile (gen-libm-calls): Move
2267         casin, casinh, csin, csinh here.
2268         (libm-calls): Remove the above.
2270         * math/s_casin_template.c: Update using type-generic macros.
2271         * math/s_casinh_template.c: Likewise.
2272         * math/s_csin_template.c: Likewise.
2273         * math/s_csinh_template.c: Likewise.
2274         * math/k_casinh_template.c: Likewise.
2276         * math/s_casinf.c: Removed.
2277         * math/s_casin.c: Removed.
2278         * math/s_casinl.c: Removed.
2279         * math/s_casinh.c: Removed.
2280         * math/s_casinhf.c: Removed.
2281         * math/s_casinhl.c: Removed.
2282         * math/s_csin.c: Removed.
2283         * math/s_csinf.c: Removed.
2284         * math/s_csinl.c: Removed.
2285         * math/s_csinh.c: Removed.
2286         * math/s_csinhf.c: Removed.
2287         * math/s_csinhl.c: Removed.
2288         * math/k_casinh.c: Removed.
2289         * math/k_casinhf.c: Removed.
2290         * math/k_casinhl.c: Removed.
2292         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2293         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2294         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2295         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2297         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2298         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2299         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2300         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2301         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2302         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2303         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2304         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2306         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2307         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2308         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2309         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2311         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2312         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2313         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2314         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2316 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2318         * s_casin_template.c: Copy of s_casin.c.
2319         * s_casinh_template.c: Copy of s_casinh.c.
2320         * s_csin_template.c: Copy of s_csin.c.
2321         * s_csinh_template.c: Copy of s_csinh.c.
2322         * k_casinh_template.c: Copy of k_casinh.c.
2324 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2326         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2328 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2330         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2331         (mul_split) Remove, rename as mul_splitl, remove
2332         redundant float.h include, and include via mul_splitl.h
2334         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2336         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2337         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2338         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2340         * math/mul_splitl.h: New file.
2342         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2343         Move into mul_split.h, and remove redundant float.h include.
2345         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2346         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2350         * math/mul_split.h: New file.
2352 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2354         * math/Makefile (libm-gen-calls): Move
2355         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2356         (libm-calls): Remove above.
2358         * math/s_cacos_template.c: Update using type-generic macros.
2359         * math/s_cacosh_template.c: Likewise.
2360         * math/s_ccos_template.c: Likewise.
2361         * math/s_ccosh_template.c: Likwise.
2363         * math/s_cacosf.c: Removed.
2364         * math/s_cacos.c: Removed.
2365         * math/s_cacosl.c: Removed.
2366         * math/s_cacoshf.c: Removed.
2367         * math/s_cacosh.c: Removed.
2368         * math/s_cacoshl.c: Removed.
2369         * math/s_ccosf.c: Removed.
2370         * math/s_ccos.c: Removed.
2371         * math/s_ccosl.c: Removed.
2372         * math/s_ccoshf.c: Removed.
2373         * math/s_ccosh.c: Removed.
2374         * math/s_ccoshl.c: Removed.
2376         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2377         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2378         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2379         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2380         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2381         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2383         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2384         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2385         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2386         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2388         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2389         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2390         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2391         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2393 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2395         * s_cacos_template.c: Copy of s_cacos.c.
2396         * s_cacosh_template.c: Copy of s_cacosh.c.
2397         * s_ccos_template.c: Copy of s_ccos.c.
2398         * s_ccosh_template.c: Copy of s_ccosh.c.
2400 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2402         * stdlib/tst-strtod-round-skeleton.c:
2403         Refactored from tst-strtod-round.c.
2405         (L_): New macro to apply literal modifier.
2406         (FNPFX): New macro to select str or wcs prefix.
2407         (CHAR): New macro to choose wchar_t or char.
2408         (STRM): New macro to choose printf for tested character type.
2410         (STRTO): New macro to choose appropriate string -> real function.
2411         (FNPFXS): Stringitized version of FNPFX.
2412         (STR): Support for above macro.
2413         (STRX): Likewise.
2415         (TEST): Update with above macros.
2416         (test): Likewise.
2417         (GEN_ONE_TEST): Likewise.
2418         (test_in_one_mode): Likewise.
2420         * stdlib/tst-strtod-round.c: New file.
2421         * wcsmbs/tst-wcstod-round.c: New file.
2423         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2424         (tst-wcstod-round): Add libm depencency for fesetround.
2426 2016-08-19  Zack Weinberg  <zackw@panix.com>
2428         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2430 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2432         [BZ #20477]
2433         * resolv/res_hconf.c (do_init): Use atomic access.
2434         * resolv/res_hconf.h: Add comments.
2435         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2436         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2439 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2441         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2442         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2444         Likewise.
2446 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2448         [BZ #16907]
2449         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2450         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2451         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2452         (__attribute__): Remove definition.
2454 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2456         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2457         Remove unused sqrtl declaration.
2459 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2461         * math/Makefile: (gen-libm-templates.stmp): New rule.
2462         (libm-calls): Move carg conj cimag and cabs into ...
2463         (gen-libm-calls): New variable.
2464         (generated): Inform Make objects from gen-libm-calls
2465         may be generated.
2467         * sysdeps/generic/math-type-macros.h: New file.
2468         * sysdeps/generic/math-type-macros-float.h: Likewise.
2469         * sysdeps/generic/math-type-macros-double.h: Likewise.
2470         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2471         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2472         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2474         * math/cabs.c: Refactor into
2475         * math/cabs_template.c: new file.
2476         * math/cabsf.c: Removed.
2477         * math/cabsl.c: Removed.
2478         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2479         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2481         * math/carg.c: Refactor into
2482         * math/carg_template.c: new file.
2483         * math/cargf.c: Removed.
2484         * math/cargl.c: Removed.
2485         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2486         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2488         * math/conj.c: Refactor into
2489         * math/conj_template.c: new file.
2490         * math/conjf.c: Removed.
2491         * math/conjl.c: Removed.
2492         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2493         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2495         * math/cimag.c: Refactor into
2496         * math/cimag_template.c: new file.
2497         * math/cimagf.c: Removed.
2498         * math/cimagl.c: Removed.
2499         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2500         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2502         * math/cimag.c: Refactor into
2503         * math/cimag_template.c: new file.
2504         * math/cimagf.c: Removed.
2505         * math/cimagl.c: Removed.
2506         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2507         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2509 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2511         Reduce time to expected nptl/tst-once5 failure.
2512         * nptl/tst-once5.cc (TIMEOUT): Define.
2514 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2516         [BZ #20452]
2517         Avoid additional copies of objects in libc.a in static libraries.
2518         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2519         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2520         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2521         rt-sysdep.
2522         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2523         Add nptl-sysdep.
2524         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2525         Add ptw-sysdep.
2526         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2527         rt-sysdep.
2528         * sysdeps/unix/sysv/linux/alpha/Makefile
2529         (libpthread-shared-only-routines): Add ptw-sysdep,
2530         ptw-sigprocmask, ptw-rt_sigaction.
2531         * sysdeps/unix/sysv/linux/ia64/Makefile
2532         (librt-shared-only-routines): Add rt-sysdep.
2533         * sysdeps/unix/sysv/linux/i386/Makefile
2534         (libpthread-shared-only-routines): Add libc-do-syscall.
2535         * sysdeps/unix/sysv/linux/microblaze/Makefile
2536         (libpthread-shared-only-routines): Add sysdep.
2537         * sysdeps/unix/sysv/linux/powerpc/Makefile
2538         (librt-shared-only-routines): Add rt-sysdep.
2539         (libpthread-shared-only-routines): Add sysdep.
2540         * sysdeps/unix/sysv/linux/s390/Makefile
2541         (librt-shared-only-routines): Add rt-sysdep.
2542         * sysdeps/unix/sysv/linux/sparc/Makefile
2543         (librt-shared-only-routines): Add rt-sysdep.
2544         (libpthread-shared-only-routines): Add sysdep.
2545         * sysdeps/unix/sysv/linux/tile/Makefile
2546         (libpthread-shared-only-routines): Likewise.
2548 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2550         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2551         Mask implicit bit out of unpacked value.
2552         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2556         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2558         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2560         * sysdeps/s390/fpu/fesetexcept.c: New file.
2562         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2563         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2564         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2566         * sysdeps/mips/fpu/fesetexcept.c: New file.
2568         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2570         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2572         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2574         * sysdeps/arm/fesetexcept.c: New file.
2576         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2578         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2580         * math/fesetexcept.c: New file.
2581         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2582         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2583         * math/fenv.h: Define
2584         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2585         <bits/libc-header-start.h> instead of including <features.h>.
2586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2587         declaration.
2588         * manual/arith.texi (fesetexcept): Document function.
2589         * math/Versions (fesetexcept): New libm symbol at version
2590         GLIBC_2.25.
2591         * math/Makefile (libm-support): Add fesetexcept.
2592         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2593         * math/test-fesetexcept.c: New file.
2594         * math/test-fesetexcept-traps.c: Likewise.
2595         * sysdeps/nacl/libm.abilist: Update.
2596         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2597         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2598         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2599         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2600         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2601         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2602         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2603         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2604         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2605         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2606         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2607         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2609         Likewise.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2611         Likewise.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2613         Likewise.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2615         Likewise.
2616         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2617         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2622         Likewise.
2623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2624         Likewise.
2625         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2629 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2631         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2632         New.
2633         (do_test): Apply default_stack_size_in_mb if not set.
2634         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2636 2016-08-15  Andreas Schwab  <schwab@suse.de>
2638         [BZ #20435]
2639         CVE-2016-6323
2640         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2641         as .cantunwind.
2643 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2645         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2646         comment from fraiseexcpt.c.
2648         * math/test-fexcept.c (feraiseexcept_exact): New function.
2649         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2650         (test_except): Likewise.
2652 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2654         [BZ #20455]
2655         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2656         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2657         to be restored.
2659         * math/test-fexcept-traps.c: New file.
2660         * math/test-fexcept.c: Likewise.
2661         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2662         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2663         macro.
2664         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2665         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2667 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2669         * include/atomic.h (atomic_fetch_and_relaxed,
2670         atomic_fetch_and_release, atomic_fetch_or_release,
2671         atomic_fetch_xor_release): New.
2673 2016-08-06  Christian Seiler  <christian@iwakd.de>
2675         [BZ #20444]
2676         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2677         MACH_PORT_NULL.
2679 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2681         * math/s_fdim.c: Avoid alias renamed.
2682         * math/s_fdimf.c: Likewise.
2683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2684         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2685         Add s_fdimf-vis3, s_fdim-vis3.
2686         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2687         (CFLAGS-s_fdim-vis3.c): Likewise.
2688         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2689         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2691 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2694         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2695         Remove s_fdimf-vis3, s_fdim-vis3.
2696         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2697         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2704         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2705         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2707 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2709         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2710         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2711         -Wa,-Av9a -mvis.
2713 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2715         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2716         LIT() to individual constants in simple expressions
2717         after splitting on spaces.
2718         (_apply_lit): Rename replaced version, and use it to
2719         apply to what appears to be a token.
2721         * math/libm-test.inc: Fix many, many issues with
2722         spacing.
2724 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2726         * math/math.h: Move comment about <bits/mathdef.h> definitions
2727         above inclusion of <bits/mathdef.h>.  Do not mention
2728         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2730 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2732         * include/atomic.h (atomic_exchange_relaxed): New.
2734 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2736         * math/e_scalb.c: Do not include <fenv.h>.
2737         (invalid_fn): Do calculation resulting in NaN instead of raising
2738         FE_INVALID and returning a NaN explicitly.
2739         * math/e_scalbf.c: Do not include <fenv.h>.
2740         (invalid_fn): Do calculation resulting in NaN instead of raising
2741         FE_INVALID and returning a NaN explicitly.
2742         * math/e_scalbl.c: Do not include <fenv.h>.
2743         (invalid_fn): Do calculation resulting in NaN instead of raising
2744         FE_INVALID and returning a NaN explicitly.
2746 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2748         * po/de.po: Updated from Translation Project.
2749         * po/fi.po: Likewise.
2750         * po/sv.po: Likewise.
2752 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2754         [BZ #20452]
2755         Use sysdep.o from libc.a in static libraries.
2756         * sysdeps/unix/sysv/linux/i386/Makefile
2757         (libpthread-shared-only-routines): Add sysdep.
2758         (librt-shared-only-routines): Likewise.
2760 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2762         * math/tgmath.h (nextdown): Define if
2763         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2764         (nextup): Likewise.
2766         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2767         macro.
2768         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2769         Document.
2770         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2771         Document macro.
2772         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2773         (exp10f): Likewise.
2774         (exp10l): Likewise.
2775         * math/bits/mathcalls.h (exp10): Declare if
2776         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2778         * manual/arith.texi (nextup): Fix typo in last change.
2780 2016-08-03  Zack Weinberg  <zackw@panix.com>
2782         [BZ #19239]
2783         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2784         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2785         define major, minor, and makedev to issue deprecation warnings on use.
2786         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2787         previously-activated deprecation warnings for these macros and prevent
2788         subsequent inclusions of this header from having any effect.
2789         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2790         including <sys/sysmacros.h>, and undefine it again afterward.
2792 2016-08-03  Zack Weinberg  <zackw@panix.com>
2794         * sysdeps/generic/sys/sysmacros.h: Delete file.
2795         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2796         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2797         * bits/sysmacros.h: ... here; this encoding is now the generic
2798         encoding.  Now defines only the following macros:
2799         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2800         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2801         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2803         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2804         bits/sysmacros.h and the above new macros to generate the
2805         public implementations of major, minor, and makedev.
2806         * misc/tst-makedev.c: New test.
2807         * include/sys/sysmacros.h: New wrapper.
2809         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2810         (routines): Add makedev.
2811         (tests): Add tst-makedev.
2812         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2813         gnu_dev_makedev.
2814         * posix/Makefile (headers): Remove sys/sysmacros.h.
2815         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2817         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2818         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2819         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2820         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2821         * sysdeps/unix/sysv/linux/arm/libc.abilist
2822         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2823         * sysdeps/unix/sysv/linux/i386/libc.abilist
2824         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2825         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2826         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2827         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2828         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2829         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2830         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2831         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2832         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2837         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2838         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2839         * sysdeps/unix/sysv/linux/sh/libc.abilist
2840         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2841         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2844         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2845         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2846         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2847         Add GLIBC_2.25.
2849         * include/features.h (__glibc_clang_prereq): New macro.
2850         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2851         (__attribute_deprecated_msg__): New macros.
2853 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2855         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2856         macro.
2857         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2858         * manual/arith.texi (issignaling): Document as ISO from TS
2859         18661-1:2014.
2860         (nextup): Likewise.
2861         (nextupf): Likewise.
2862         (nextupl): Likewise.
2863         (nextdown): Likewise.
2864         (nextdownf): Likewise.
2865         (nextdownl): Likewise.
2866         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2867         macro.
2868         * math/math.h: Define
2869         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2870         <bits/libc-header-start.h> instead of including <features.h>.
2871         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2872         [__USE_GNU].
2873         * math/bits/mathcalls.h (nextdown): Declare if
2874         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2875         (nextup): Likewise.
2876         (__issignaling): Likewise.
2878 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2880         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2881         check, and remove __glibc_likely hint
2882         from FP_INFINITE check.
2883         * s_csinhf.c (__csinhf): Likewise.
2885         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2886         hint from FP_INFINITE check.
2887         * s_csinhl.c (__csinhl): Likewise.
2889 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2891         * math/Makefile (libm-calls): Insert F placeholder into
2892         object names.  Move w_lgamma_compat* routines into
2893         (libm-compat-calls): New variable.
2894         (libm-compat-calls-ldouble-yes): New variable.
2895         (calls): Insert F placeholder.
2896         (generated): Redefine using new type-foreach macro call.
2897         (routines): Likewise.
2899         (types): New variable to hold a list of symbolic names
2900         for each type supported by the target machine.
2901         (libm-routines): Redefine using new types variable.
2902         (type-foreach): macro to replace fooF with the
2903         appropriately suffixed foo for each types.
2905         (type-ldouble-suffix): New variable.
2906         (type-ldouble-routines): Likewise.
2907         (type-ldouble-yes): Likewise.
2908         (type-double-suffix): Likewise.
2909         (type-double-routines): Likewise.
2910         (type-float-suffix): Likewise.
2911         (type-float-routines): Likewise.
2913         (dbl-only-routines): Remove.
2914         (long-c-yes): Likewise.
2915         (long-m-routines): Likewise.
2916         (long-m-support): Likewise.
2917         (long-m-yes): Likewise.
2918         (test-longdouble-yes): Likewise.
2920         (test-float.o): Simplify by increasing the scope of the
2921         recipe which adds libm-test.stmp to the vector types.
2922         (test-ifloat.o): Likewise.
2923         (test-float-finite.o): Likewise.
2924         (test-double.o): Likewise
2925         (test-idouble.o): Likewise.
2926         (test-double-finite.o): Likewise.
2927         (test-ldouble.o): Likewise
2928         (test-ildoubl.o): Likewise.
2929         (test-ldouble-finite.o): Likewise.
2931         (libm-tests): Redefine type tests using foreach and the
2932         list of types in types.
2934         (CPPFLAGS-test-ildoubl.c): Rename to
2935         (CPPFLAGS-test-ildouble.c): New variable
2937         * math/test-ildoubl.c: Rename to
2938         * math/test-ildouble.c: New file.
2940 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2942         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2943         Use fabsl instead of fabs.
2944         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2945         Likewise.
2946         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2947         Add long double suffix to constant to ensure proper
2948         promotion to long double.
2950 2016-08-03  Tom Tromey  <tom@tromey.com>
2952         [BZ #20311]
2953         * nptl_db/Makefile (headers): Add proc_service.h.
2954         * nptl_db/proc_service.h: Add include guard.  Use
2955         __BEGIN/__END_DECLS.
2956         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2957         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2958         arguments.
2961 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2963         [BZ #17730]
2964         Avoid using memalign for TCB allocations.
2965         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2966         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2967         Avoid alignment gap in the TLS_DTV_AT_TP case.
2968         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2969         determine the pointer to free.
2970         * nptl/tst-tls3-malloc.c: New test.
2971         * nptl/Makefile (tests): Add it.
2972         (tst-tls3-malloc): Link with libdl, libpthread.
2973         (LDFLAGS-tst-tls3-malloc): Set.
2974         (tst-tls3-malloc.out): Depend on DSO used in test.
2976 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2978         [BZ #17730]
2979         Avoid using memalign for TLS allocations.
2980         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2981         is_static member with to_free member.
2982         (union dtv): Use struct dtv_pointer.
2983         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2984         dtv_pointer instead of is_static.
2985         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2986         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2987         instead of val.
2988         (allocate_dtv_entry): New function.
2989         (allocate_and_init): Return struct dtv_pointer.  Call
2990         allocate_dtv_entry instead of __libc_memalign.
2991         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2992         instead of val.
2993         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2994         instead of is_static.  Adjust call to allocate_and_init.
2995         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2996         struct dtv_pointer instead of val.
2998 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3000         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3001         (MALLOC_ALIGN_MASK): Move ...
3002         * malloc/malloc-internal.h: ... to here.
3003         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3005 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3007         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3008         (UDP_ENCAP_GTP1U): Likewise.
3010         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3011         (PF_MAX): Update value.
3012         (AF_QIPCRTR): New macro.
3014 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3016         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3017         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3018         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3020         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3021         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3022         s_truncf-vis3, s_trunc-vis3.
3023         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3024         (CFLAGS-s_ceil-vis3.c): Likewise.
3025         (CFLAGS-s_floorf-vis3.c): Likewise.
3026         (CFLAGS-s_floor-vis3.c): Likewise.
3027         (CFLAGS-s_truncf-vis3.c): Likewise.
3028         (CFLAGS-s_trunc-vis3.c): Likewise.
3029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3037         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3038         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3039         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3040         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3042 2016-08-02  David S. Miller  <davem@davemloft.net>
3044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3045         (__nearbyint_vis3): Don't check for sNaN before float register is
3046         loaded with the incoming argument.
3047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3048         (__nearbyintf_vis3): Likewise.
3049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3050         Likewise.
3051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3052         Likewise.
3054         * string/test-strncmp.c (do_test_limit): Make sure the test data
3055         stream is aligned as required for the type "CHAR".
3056         (do_test): Likewise.
3058 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3060         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3061         by beq instructions jumping to the end of the function.
3062         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3063         clobber list. Use "i" constraint instead of "X".
3064         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3065         of "X".
3067 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3069         * bits/libc-header-start.h: New file.
3070         * Makefile (headers): Add bits/libc-header-start.h.
3071         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3072         (__GLIBC_USE): New macro.
3073         * libio/stdio.h: Define
3074         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3075         <bits/libc-header-start.h> instead of including <features.h>.
3076         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3077         (open_memstream): Likewise.
3078         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3079         (__asprintf): Likewise.
3080         (asprintf): Likewise.
3081         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3082         (getdelim): Likewise.
3083         (getline): Likewise.
3084         * string/string.h: Define
3085         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3086         <bits/libc-header-start.h> instead of including <features.h>.
3087         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3088         (strndup): Likewise.
3089         * wcsmbs/wchar.h: Define
3090         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3091         <bits/libc-header-start.h> instead of including <features.h>.
3092         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3093         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3095 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3097         Support linking against compatibility symbols, for use in tests.
3098         * include/libc-symbols.h (symbol_version_reference): New macro.
3099         (symbol_version): Use it.
3100         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3101         (compat_symbol): Use compat_symbol_reference.
3102         (compat_symbol_1, compat_symbol_2): Remove.
3103         (compat_symbol_reference, compat_symbol_reference_1)
3104         (compat_symbol_reference_2): New macro.  Use
3105         symbol_version_reference.
3107 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3109         [BZ #19469]
3110         * malloc/Makefile (CPPFLAGS): Compile tests with
3111         -DTEST_NO_MALLOPT.
3112         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3114 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3116         [BZ #20033]
3117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3118         finite version.
3119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3120         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3121         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3122         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3123         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3126         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3130         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3131         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3132         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3136         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3137         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3138         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3139         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3140         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3141         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3142         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3143         in zero power.
3145 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3147         [BZ #20370]
3148         * malloc/arena.c (get_free_list): Update comment.  Assert that
3149         arenas on the free list have no attached threads.
3150         (remove_from_free_list): New function.
3151         (reused_arena): Call it.
3153 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3155         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3156         when it is a NaN.
3157         [_IEEE_FP_INEXACT] Remove.
3158         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3159         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3160         when it is a NaN.
3161         [_IEEE_FP_INEXACT] Remove.
3162         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3163         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3164         when it is a NaN.
3165         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3166         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3167         when its absolute value is greater than 0x1.0p52.
3168         [_IEEE_FP_INEXACT] Remove.
3169         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3170         when its absolute value is greater than 0x1.0p23.
3171         [_IEEE_FP_INEXACT] Remove.
3173 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3175         * version.h (RELEASE): Set to "development"
3176         (VERSION): Set to 2.24.90.
3177         * NEWS: Add 2.25 section.
3179         * version.h (RELEASE): Set to "stable"
3180         (VERSION): Set to 2.24.
3181         * include/features.h (__GLIBC_MINOR__): Set to 24.
3183         * NEWS: Add 2.24 fixed bugs.
3184         * po/libc.pot: Regenerate.
3186 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3189         [$(subdir) = math] (libm-sysdep_routines): Remove.
3190         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3191         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3192         s_truncf-vis3, s_trunc-vis3.
3193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3195         file.
3196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3229         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3230         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3231         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3232         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3233         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3234         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3235         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3236         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3237         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3238         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3240 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3242         [BZ #20384]
3243         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3244         test-double-libmvec-sincos-avx-main.o,
3245         test-double-libmvec-sincos-avx2-main.o,
3246         test-double-libmvec-sincos-main.o,
3247         test-float-libmvec-sincosf-avx-main.o,
3248         test-float-libmvec-sincosf-avx2-main.o and
3249         test-float-libmvec-sincosf-main.o.
3250         test-float-libmvec-sincosf-avx512-main.o.
3251         ($(objpfx)test-double-libmvec-sincos): Also link with
3252         $(objpfx)test-double-libmvec-sincos-main.o.
3253         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3254         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3255         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3256         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3257         ($(objpfx)test-float-libmvec-sincosf): Also link with
3258         $(objpfx)test-float-libmvec-sincosf-main.o.
3259         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3260         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3261         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3262         test-double-libmvec-sincos-avx512-main.o and
3263         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3264         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3265         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3266         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3267         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3268         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3269         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3270         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3271         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3272         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3273         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3274         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3275         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3276         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3277         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3278         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3279         -DREQUIRE_AVX2.
3280         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3281         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3282         -DREQUIRE_AVX512F.
3283         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3284         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3285         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3286         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3287         file.
3288         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3289         Likewise.
3290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3291         Likewise.
3292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3293         Likewise.
3294         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3295         Likewise.
3296         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3297         Likewise.
3298         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3299         Likewise.
3300         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3301         Likewise.
3303 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3305         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3307 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3309         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3310         and typo in a comment about AT_HWCAP entry.
3312 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3314         * sysdeps/aarch64/libm-test-ulps: Updated.
3316 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3318         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3319         of r13 as it is not restored in mvcle case.
3321 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3323         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3324         Rename "ret" to "__ret".
3325         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3326         inline_syscall5, inline_syscall6): Likewise.
3328 2016-07-19   Will Newton  <will.newton@gmail.com>
3330         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3331         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3332         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3333         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3334         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3336 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3338         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3339         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3340         -mfpmath=387 with $(rtld-CFLAGS).
3341         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3342         $(rtld-CFLAGS).
3344 2016-07-18   Ross Burton  <ross.burton@intel.com>
3345              Khem Raj  <raj.khem@gmail.com>
3347         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3348         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3349         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3350         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3351         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3352         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3353         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3354         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3355         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3356         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3357         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3358         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3359         R_METAG_TLS_DTPOFF): New.
3361 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3362             Matt Clay  <mclay@lycos.com>
3364         [BZ #20357]
3365         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3366         to call __mpsin/__mpcos and to negate values.
3367         * math/auto-libm-test-in: Add test.
3368         * math/auto-libm-test-out: Regenerate.
3370 2016-07-18  Zack Weinberg  <zackw@panix.com>
3372         * grp/Makefile: Don't install the internal header grp-merge.h.
3374 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3376         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3378 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3380         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3382 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3384         [BZ #15368]
3385         * sysdeps/unix/sysv/linux/nptl-signals.h
3386         (__nptl_clear_internal_signals): New function.
3387         (__libc_signal_block_all): Likewise.
3388         (__libc_signal_block_app): Likewise.
3389         (__libc_signal_restore_set): Likewise.
3390         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3391         implementation.
3392         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3393         the cached pid/tid value in pthread structure.
3395 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3397         [BZ #20347]
3398         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3400 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3402         [BZ #20348]
3403         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3404         preadv64, pwrite64 and pwritev64.
3406 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3408         [BZ #20350]
3409         * posix/tst-preadwrite.c: Renamed to ...
3410         * posix/tst-preadwrite-common.c: This.
3411         (PREAD): Removed.
3412         (PWRITE): Likewise.
3413         (STRINGIFY): Likewise.
3414         (STRINGIFY2): Likewise.
3415         (do_prepare): Make it static and remove function arguments.
3416         (do_test): Likewise.
3417         (PREPARE): Updated.
3418         (TEST_FUNCTION): New.
3419         (name): Make it static.
3420         (fd): Likewise.
3421         (do_prepare): Use create_temp_file.
3422         (do_test): Renamed to ...
3423         (do_test_with_offset): This.  Make it static and accept offset.
3424         Properly check return value of PWRITE and PREAD.  Return bytes
3425         read.  Don't close fd nor unlink name.
3426         * posix/tst-preadwrite.c: Rewrite.
3427         * posix/tst-preadwrite64.c: Likewise.
3429 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3431         [BZ #20309]
3432         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3433         -mtls-dialect=gnu2 works.
3434         * configure: Regenerated.
3435         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3436         (tests): Add tst-gnu2-tls1.
3437         (modules-names): Add tst-gnu2-tls1mod.
3438         ($(objpfx)tst-gnu2-tls1): New.
3439         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3440         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3441         * elf/tst-gnu2-tls1.c: New file.
3442         * elf/tst-gnu2-tls1mod.c: Likewise.
3443         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3444         bytes for push in the PLT entry to align the stack.
3446 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3448         [BZ #20349]
3449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3451 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3453         [BZ #18707]
3454         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3455         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3457 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3459         * sysdeps/unix/sysv/linux/sysdep.h
3460         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3461         guards.
3462         * misc/tst-preadvwritev-common.c: New file.
3463         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3464         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3465         a check for files larger than 2GB.
3467         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3468         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3469         * sysdeps/unix/sysv/linux/pread.c
3470         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3471         __OFF_T_MATCHES_OFF64_T.
3472         * sysdeps/unix/sysv/linux/pread64.c
3473         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3474         * sysdeps/unix/sysv/linux/preadv.c
3475         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3476         * sysdeps/unix/sysv/linux/preadv64.c
3477         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3478         * sysdeps/unix/sysv/linux/pwrite.c
3479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3480         * sysdeps/unix/sysv/linux/pwrite64.c
3481         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3482         * sysdeps/unix/sysv/linux/pwritev.c
3483         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3484         * sysdeps/unix/sysv/linux/pwritev64.c
3485         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3487 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3489         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3490         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3492 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3494         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3496 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3498         [BZ #20240]
3499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3500         (CFLAGS-s_modf-ppc32.c): New variable.
3501         (CFLAGS-s_modff-ppc32.c): Likewise.
3502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3503         (CFLAGS-s_modf-ppc64.c): Likewise.
3504         (CFLAGS-s_modff-ppc64.c): Likewise.
3506 2016-07-07  Andreas Schwab  <schwab@suse.de>
3508         [BZ #20263]
3509         * nptl/tst-robust10.c: New test.
3510         * nptl/Makefile (tests): Add tst-robust10.
3512 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3514         [BZ #20263]
3515         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3517 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3519         * sysdeps/s390/linkmap.h (struct link_map_machine):
3520         Remove member gotplt and add member jmprel.
3521         * sysdeps/s390/s390-32/dl-machine.h
3522         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3523         instead of gotplt with &got[3].
3524         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3525         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3527 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3529         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3531 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3533         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3534         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3535         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3536         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3537         * libio/vtables.c (_IO_vtable_check)
3538         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3539         * libio/libioP.h (IO_set_accept_foreign_vtables)
3540         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3542 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3544         [BZ #20314]
3545         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3546         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3547         $(common-objpfx)cmath.
3548         ($(common-objpfx)cstdlib): New target.
3549         ($(common-objpfx)cmath): Likewise.
3551 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3553         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3555 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3557         [BZ #20327]
3558         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3559         are not part of the string.
3561 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3563         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3564         * nptl/tst-cancel4-common.h (fifoname): New variable.
3565         (fifofd): Likewise.
3566         (cl_fifo): New function.
3567         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3568         SIGINT.
3569         (tf_open): Add early cancel test.
3571 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3573         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3575 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3577         * sysdeps/generic/ldsodefs.h
3578         (dl_symbol_visibility_binds_local_p): New inline function.
3579         * elf/dl-addr.c (determine_info): Treat hidden and internal
3580         symbols as local.
3581         * elf/dl-lookup.c (do_lookup_x): Likewise.
3582         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3584 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3586         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3587         invalid exception for a sNaN input.
3588         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3589         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3590         (__nearbyint_vis3): Likewise
3591         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3592         (__nearbyintf_vis3): Likewise
3593         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3594         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3595         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3596         Likewise.
3597         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3598         Likewise.
3600 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3602         [BZ #20139]
3603         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3604         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3605         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3606         2.24 or above.
3607         (HAVE_AVX512_ASM_SUPPORT): Removed.
3608         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3609         * sysdeps/x86_64/configure: Regenerated.
3610         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3611         check unconditional.
3612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3613         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3614         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3615         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3616         Likewise.
3617         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3618         Likewise.
3619         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3620         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3621         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3622         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3623         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3624         Likewise.
3625         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3626         Likewise.
3627         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3628         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3629         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3630         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3632         Likewise.
3633         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3634         Likewise.
3635         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3636         Likewise.
3637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3638         Likewise.
3639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3640         Likewise.
3641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3642         Likewise.
3643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3644         Likewise.
3645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3646         Likewise.
3647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3648         Likewise.
3649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3650         Likewise.
3651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3652         Likewise.
3654 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3656         [BZ #20024]
3657         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3659         of this implementation of vector function.
3660         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3661         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3663         Likewise.
3664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3666         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3667         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3668         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3669         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3670         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3671         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3672         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3673         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3674         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3675         for testing vector sincos with fixed ABI.
3676         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3677         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3678         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3679         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3680         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3681         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3682         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3683         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3684         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3685         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3686         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3687         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3688         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3689         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3690         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3691         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3693 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3695         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3697 2016-06-30  Anton Blanchard  <anton@samba.org>
3699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3700         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3701         s_sinf-ppc64.
3702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3705         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3707 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3711         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3712         e_expf-ppc64.
3713         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3714         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3715         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3716         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3718 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3720         [BZ #20277]
3721         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3722         when SHARED is defined.
3724 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3726         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3727         (index_arch_Prefer_ERMS): Likewise.
3728         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3729         __memcpy_erms for Prefer_ERMS.
3730         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3731         (__memmove_erms): Enabled for libc.a.
3732         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3733         __memmove_erms or Prefer_ERMS.
3734         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3735         __mempcpy_erms for Prefer_ERMS.
3736         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3737         __memset_erms for Prefer_ERMS.
3739 2016-06-30  Andreas Schwab  <schwab@suse.de>
3741         [BZ #20262]
3742         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3743         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3744         of memory.
3746 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3748         [BZ #18645]
3749         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3750         (test-extras): Add tst-cleanupx4aux.
3751         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3752         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3753         tst-cleanupx4aux.o.
3754         * nptl/tst-cleanupx4aux.c: New file.
3756 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3758         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3760 2016-06-29  Andreas Schwab  <schwab@suse.de>
3762         [BZ #20260]
3763         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3764         address before the beginning of the string as an integer to avoid
3765         array-bounds warning.
3767 2016-06-28  Richard Henderson  <rth@redhat.com>
3769         * elf/elf.h (EM_BPF): New.
3770         (EM_NUM): Update.
3771         (R_BPF_NONE, R_BPF_MAP_FD): New.
3773         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3774         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3775         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3776         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3777         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3778         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3779         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3780         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3781         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3782         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3783         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3784         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3785         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3786         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3787         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3788         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3789         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3790         (EM_NUM): Update.
3792 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3794         [BZ #18960]
3795         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3796         Set _nl_current_LC_CATEGORY_used to two instead of one.
3798 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3800         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3801         (do_test): ... this.
3802         (TEST_FUNCTION): New macro.
3803          Include test-skeleton.c.
3804         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3805         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3807 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3809         [BZ #15479]
3810         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3811         floating-point environment rather than just control word.
3812         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3813         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3814         floating-point environment, with "invalid" exceptions merged in,
3815         rather than just control word.
3816         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3817         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3818         "inexact" exceptions.
3820         [BZ #15479]
3821         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3822         floating-point environment rather than just control word.
3823         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3824         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3825         floating-point environment, with "invalid" exceptions merged in,
3826         rather than just control word.
3827         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3828         * math/libm-test.inc (floor_test_data): Do not allow spurious
3829         "inexact" exceptions.
3831         [BZ #15479]
3832         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3833         floating-point environment rather than just control word.
3834         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3835         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3836         floating-point environment, with "invalid" exceptions merged in,
3837         rather than just control word.
3838         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3839         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3840         "inexact" exceptions.
3842 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3844         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3845         __libc_vfork.
3846         (__vfork) [IS_IN (libc)]: Remove alias.
3847         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3848         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3849         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3851 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3853         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3854         of atomic_compare_and_exchange_bool_rel.
3855         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3856         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3857         catomic_compare_and_exchange_bool_rel): Remove.
3858         * sysdeps/aarch64/atomic-machine.h
3859         (atomic_compare_and_exchange_bool_rel): Likewise.
3860         * sysdeps/alpha/atomic-machine.h
3861         (atomic_compare_and_exchange_bool_rel): Likewise.
3862         * sysdeps/arm/atomic-machine.h
3863         (atomic_compare_and_exchange_bool_rel): Likewise.
3864         * sysdeps/mips/atomic-machine.h
3865         (atomic_compare_and_exchange_bool_rel): Likewise.
3866         * sysdeps/microblaze/atomic-machine.h
3867         ( __arch_compare_and_exchange_bool_8_rel,
3868         __arch_compare_and_exchange_bool_16_rel): Likewise.
3869         * sysdeps/powerpc/atomic-machine.h
3870         ( __arch_compare_and_exchange_bool_8_rel,
3871         __arch_compare_and_exchange_bool_16_rel): Likewise.
3872         * sysdeps/powerpc/powerpc32/atomic-machine.h
3873         ( __arch_compare_and_exchange_bool_32_rel,
3874         __arch_compare_and_exchange_bool_64_rel): Likewise.
3875         * sysdeps/powerpc/powerpc64/atomic-machine.h
3876         ( __arch_compare_and_exchange_bool_32_rel,
3877         __arch_compare_and_exchange_bool_64_rel): Likewise.
3878         * sysdeps/tile/atomic-machine.h
3879         (atomic_compare_and_exchange_bool_rel): Likewise.
3881 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3883         [BZ #20296]
3884         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3885         when either argument is a NaN.
3886         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3887         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3889         * math/libm-test.inc (snan_value_ld): New macro.
3890         (isgreater_test_data): Add sNaN tests.
3891         (isgreaterequal_test_data): Likewise.
3892         (isless_test_data): Likewise.
3893         (islessequal_test_data): Likewise.
3894         (islessgreater_test_data): Likewise.
3895         (isunordered_test_data): Likewise.
3896         (nextafter_test_data): Likewise.
3897         (nexttoward_test_data): Likewise.
3898         (remainder_test_data): Likewise.
3899         (remquo_test_data): Likewise.
3900         (significand_test_data): Likewise.
3901         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3903 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3905         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3906         environment macros are defined.
3907         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3909 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3911         [BZ #20191]
3912         Implement vtable verification in libio.
3913         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3914         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3915         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3916         _IO_new_file_init_internal instead of _IO_file_init.
3917         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3918         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3919         * libio/Makefile (routines): Add vtables.
3920         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3921         (_IO_init): Remove, not for internal use.
3922         (_IO_init_internal): Declare, internal replacement for _IO_init.
3923         (_IO_file_init): Remove, not for internal use.
3924         (_IO_new_file_init): Remove, not for internal use.
3925         (_IO_new_file_init_internal): Declare, internal replacement for
3926         _IO_new_file_init.
3927         (_IO_old_file_init): Remove, not for internal use.
3928         (_IO_old_file_init_internal): Declare, internal replacement for
3929         _IO_old_file_init.
3930         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3931         internal use.
3932         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3933         Declare.
3934         (libio_vtable): New macro.
3935         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3936         functions.
3937         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3938         _IO_new_file_init.
3939         (_IO_new_file_init): New externally visible wrapper which disables
3940         vtable verification.
3941         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3942         Define as vtables.
3943         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3944         (_IO_init): New externally visible wrapper which disables
3945         vtable verification.
3946         * libio/iofdopen.c (_IO_new_fdopen): Call
3947         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3948         comment.
3949         * libio/iofopen.c (__fopen_internal): Call
3950         _IO_new_file_init_internal instead of _IO_file_init.
3951         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3952         Define as vtables.
3953         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3954         _IO_new_file_init_internal instead of _IO_file_init.
3955         * libio/iopopen.c (_IO_new_popen): Likewise.
3956         (_IO_proc_jumps): Define as vtable.
3957         * libio/iovdprintf.c (_IO_vdprintf): Call
3958         _IO_new_file_init_internal instead of _IO_file_init.
3959         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3960         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3961         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3962         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3963         _IO_old_file_init.
3964         (_IO_old_file_init): New externally visible wrapper which disables
3965         vtable verification.
3966         (_IO_old_file_jumps): Define as vtable.
3967         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3968         _IO_old_file_init_internal instead of _IO_old_file_init.
3969         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3970         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3971         (_IO_old_proc_jumps): Define as vtable.
3972         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3973         Define as vtables.
3974         * libio/vtables.c: New file.
3975         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3976         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3977         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3978         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3979         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3980         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3981         instead of _IO_init.
3983 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3985         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3987 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3989         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3990         potentially unused.
3992 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3994         * test-skeleton.c (write_message): New function.
3995         * malloc/tst-mallocfork2.c (write_message): Remove.
3996         * debug/tst-longjmp_chk2.c (write_indented): New function.
3997         (write_message): Remove.
3998         (stackoverflow_handler): Call write_indented.
4000 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4002         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4003         "inexact" exceptions after fnstenv.
4004         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4005         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4006         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4008 2015-06-22  Zack Weinberg  <zackw@panix.com>
4010         * sysdeps/generic/bits/hwcap.h: Moved to ...
4011         * bits/hwcap.h: Here.
4013 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4015         * sysdeps/aarch64/memcpy.S (memcpy):
4016         Further tuning for performance.
4018 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4020         [BZ #20284]
4021         * malloc/arena.c (reused_arena): Do not return NULL if we start
4022         out with a non-corrupted arena.
4024 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4026         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4027         * misc/tst-preadvwritev.c: New file.
4028         * misc/tst-preadvwritev64.c: Likewise.
4029         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4030         usage.
4031         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4032         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4033         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4034         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4036 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4038         [BZ #19654]
4039         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4040         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4041         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4042         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4043         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4044         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4045         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4047         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4048         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4051         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4052         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4053         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4054         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4055         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4056         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4057         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4063         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4064         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4066 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4068         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4069         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4071 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4073         * sysdeps/aarch64/memcpy.S (memcpy):
4074         Rewrite of optimized memcpy and memmove.
4075         * sysdeps/aarch64/memmove.S (memmove): Remove
4076         memmove code (merged into memcpy.S).
4078 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4080         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4081         * sysdeps/generic/dl-dtv.h: New file.
4082         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4083         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4084         (dtv_t): Remove.
4085         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4086         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4087         (dtv_t): Remove.
4088         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4089         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4090         (dtv_t): Remove.
4091         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4092         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4093         (dtv_t): Remove.
4094         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4095         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4096         (dtv_t): Remove.
4097         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4098         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4099         (dtv_t): Remove.
4100         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4101         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4102         (dtv_t): Remove.
4103         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4104         (dtv_t): Remove.
4105         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4106         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4107         (dtv_t): Remove.
4108         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4109         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4110         (dtv_t): Remove.
4111         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4112         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4113         (dtv_t): Remove.
4114         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4115         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4116         (dtv_t): Remove.
4117         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4118         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4119         (dtv_t): Remove.
4120         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4121         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4122         (dtv_t): Remove.
4123         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4124         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4125         (dtv_t): Remove.
4126         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4127         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4128         (dtv_t): Remove.
4130 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4132         Revert symbol poisoning of  __malloc_initialize_hook.
4133         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4134         poisoning.
4135         * malloc/Makefile: Remove un-poisoning.
4136         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4137         instead of old__malloc_initialize_hook.
4138         * malloc/malloc-hooks.h: Likewise.
4139         * malloc/malloc.c: Likewise.
4140         * malloc/mcheck-init.c: Likewise.
4142 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4144         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4146 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4148         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4149         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4150         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4151         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4153 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4155         * NEWS: Mention addition of nextup and nextdown.
4156         * manual/arith.texi: Document nextup and nextdown.
4157         * manual/libm-err-tab.pl: Add nextup and nextdown.
4158         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4159         * math/Versions (libm): Add GLIBC_2.24.
4160         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4161         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4162         Add new test.
4163         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4164         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4165         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4166         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4167         (nextup_test_data): Likewise.
4168         (nextdown_test_data): Likewise.
4169         * math/s_nextdown.c: New file.
4170         * math/s_nextdownf.c: Likewise.
4171         * math/s_nextdownl.c: Likewise.
4172         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4173         F(nextup): New function.
4174         F(nextdown): Likewise.
4175         * math/tgmath.h: Add nextup and nextdown.
4176         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4177         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4181         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4182         Add nextup and nextdown.
4183         (CFLAGS-nldbl-nextup.c): New variable.
4184         (CFLAGS-nldbl-nextdown.c): Likewise.
4185         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4186         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4187         * sysdeps/nacl/libm.abilist: Update.
4188         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4189         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4190         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4191         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4192         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4193         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4194         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4196         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4198         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4199         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4202         Likewise.
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4205         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4206         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4207         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4208         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4217 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4219         * manual/pattern.texi: Fix typos & grammar errors.
4221 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4223         * manual/search.texi: Fix typos & grammar errors.
4225 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4227         * manual/message.texi: Fix typos & grammar errors.
4229 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4231         * manual/contrib.texi: Fix spelling typos.
4232         * manual/crypt.texi: Likewise.
4233         * manual/filesys.texi: Likewise.
4234         * manual/locale.texi: Likewise.
4235         * manual/message.texi: Likewise.
4236         * manual/nss.texi: Likewise.
4237         * manual/string.texi: Likewise.
4239 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4241         * manual/locale.texi: Fix typos & grammar errors.
4243 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4245         * manual/charset.texi: Fix typos & grammar errors.
4247 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4249         * manual/string.texi: Fix typos.
4251 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4253         * manual/ctype.texi: Fix typos.
4255 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4257         * manual/memory.texi: Fix various typos & grammar errors.
4259 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4261         [BZ #20255]
4262         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4263         * math/libm-test.inc (fdim_test_data): Add another test.
4265         [BZ #6796]
4266         [BZ #20255]
4267         [BZ #20256]
4268         * math/s_fdim.c: Include <math_private.h>.
4269         (__fdim): Use math_narrow_eval on result.
4270         * math/s_fdimf.c: Include <math_private.h>.
4271         (__fdimf): Use math_narrow_eval on result.
4272         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4273         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4274         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4275         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4276         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4277         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4278         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4279         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4280         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4281         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4282         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4283         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4284         overflow.  Add sNaN tests.
4286         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4287         fpclassify.
4288         * math/s_fdimf.c (__fdimf): Likewise.
4289         * math/s_fdiml.c (__fdiml): Likewise.
4291 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4293         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4294         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4296         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4297         ifunc'ed strcasecmp/strncasecmp.
4298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4299         [EALIGN]: Removed.
4300         [END]: Likewise.
4301         [__strcasecmp]: Define instead of the above to control symbol name.
4302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4303         for __strcasecmp_power8.
4304         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4305         for __strncasecmp_power8.
4306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4308         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4309         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4310         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4311         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4313 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4315         [BZ #20252]
4316         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4317         arguments when second argument is a NaN.
4318         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4319         qNaN tests.
4321         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4322         (conj_test_data): Likewise.
4323         (copysign_test_data): Likewise.
4324         (creal_test_data): Likewise.
4325         (fma_test_data): Likewise.
4326         (fmod_test_data): Likewise.
4328         [BZ #20250]
4329         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4330         itself.
4331         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4332         zero input to itself.
4333         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4334         Likewise.
4335         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4336         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4337         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4338         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4339         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4341 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4343         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4344         * nptl/tst-cancel4-common.c: New file.
4345         * nptl/tst-cancel4-common.h: Likewise.
4346         * nptl/tst-cancel4.c: Move common definitions to
4347         tst-cancel4-common.{c,h} file.
4348         * nptl/tst-cancel4_1.c: New test.
4349         * nptl/tst-cancel4_2.c: New test.
4351 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4353         [BZ #20248]
4354         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4355         (write_message): New function.
4356         (stackoverflow_handler): Call it instead of printf, to avoid
4357         excessive stack usage by printf.
4358         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4360 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4362         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4363         (prio_inherit_missing): Remove define.
4364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4365         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4369         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4370         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4371         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4372         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4373         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4375 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4377         [BZ #19670]
4378         [BZ #19672]
4380         * io/test-lfs.c (do_prepare): Use xmalloc.
4381         * io/tst-fcntl.c (do_prepare): Likewise.
4382         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4383         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4384         * login/tst-utmp.c (do_prepare): Likewise.
4385         * posix/tst-exec.c (do_prepare): Likewise.
4386         * posix/tst-pathconf.c (prepare): Likewise.
4387         * posix/tst-spawn.c (do_prepare): Likewise.
4388         * posix/tst-truncate.c (do_prepare): Likewise.
4389         * rt/tst-aio.c (do_prepare): Likewise.
4390         * rt/tst-aio64.c (do_prepare): Likewise.
4392 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4394         [BZ #20237]
4395         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4396         (get*ent): Set entidx to NULL during initialization.  If entidx is
4397         NULL, start iteration from the beginning.
4399 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4401         * malloc/malloc.c (musable): Return correct size for dumped fake
4402         mmapped chunk.
4404 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4406         [BZ #20222]
4407         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4408         (_IO_cookie_write): Likewise.
4409         (_IO_cookie_seek): Likewise.
4410         (_IO_cookie_close): Likewise.
4411         (_IO_old_cookie_seek): Likewise.
4412         (set_callbacks): New function.
4413         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4415 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4417         * locale/programs/localedef.c (oldstyle_tables): Remove.
4418         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4420 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4422         [BZ #20240]
4423         * math/Makefile (CFLAGS-s_modf.c): New variable.
4424         (CFLAGS-s_modff.c): Likewise.
4425         (CFLAGS-s_modfl.c): Likewise.
4426         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4428 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4430         [BZ #20215]
4431         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4432         [!__GNUC_PREREQ (3,2)]: Likewise.
4434 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4436         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4437         (msghdr.msg_controllen): Likewise.
4438         (cmsghdr.cmsg_len): Likewise.
4439         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4440         ptw-oldsendmsg.
4441         (CFLAGS-oldrecvmsg.c): Remove rule.
4442         (CFLAGS-oldsendmsg.c): Likewise.
4443         (CFLAGS-recvmsg.c): Add rule.
4444         (CFLAGS-sendmsg.c): Likewise.
4445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4446         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4447         (CFLAGS-recvmsg.c): Remove rule.
4448         (CFLAGS-sendmsg.c): Likewise.
4449         (CFLAGS-oldrecvmsg.c): Likewise.
4450         (CFLAGS-oldsendmsg.c): Likewise.
4451         (CFLAGS-recvmmsg.c): Likewise.
4452         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4453         to kernel defined interfaces.
4454         (msghdr.msg_controllen): Likewise.
4455         (cmsghdr.cmsg_len): Likewise.
4456         (msghdr.__glibc_reserved1): Remove member.
4457         (msghdr.__glibc_reserved2): Likewise.
4458         (cmsghdr.__glibc_reserved1): Likewise.
4459         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4460         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4461         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4462         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4463         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4464         version.
4465         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4466         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4467         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4468         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4469         Remove recvmsg and sendmsg.
4470         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4471         Likewise.
4472         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4473         Likewise.
4474         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4475         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4476         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4481         [libc] (GLIBC_2.24): Likewise.
4482         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4487         [libc] (GLIBC_2.24): Likewise.
4488         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4491         Likewise.
4492         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4493         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4494         Likewise.
4495         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4496         Likewise.
4497         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4502         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4503         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4504         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4505         version for {recv,send,recm,sendm}msg.
4506         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4507         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4509         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4510         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4511         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4512         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4516         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4519         Likewise.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4525         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4527         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4528         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4532         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4533         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4534         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4536 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4538         [BZ #19564]
4539         Remove __malloc_initialize_hook from the API.
4540         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4541         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4542         #pragma GCC poison.
4543         * malloc/malloc-hooks.h: New file.
4544         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4545         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4546         (old__malloc_initialize_hook): Rename from
4547         __malloc_initialize_hook to evade poisoning.  Turn into compat
4548         symbol.
4549         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4550         __malloc_initialize_hook.
4551         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4552         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4553         * manual/memory.texi (Hooks for Malloc): Remove
4554         __malloc_initialize_hook.  Adjust hook example.
4556 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4558         [BZ #20235]
4559         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4560         itself.
4561         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4562         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4564         [BZ #20234]
4565         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4566         infinity or NaN input to itself.
4568         [BZ #20233]
4569         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4570         to itself.
4572         [BZ #20232]
4573         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4574         itself.
4576 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4578         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4579         __libc_start_main via GOT.
4581 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4583         * sysdeps/x86_64/memcopy.h: New file.
4584         * sysdeps/x86_64/wordcopy.c: Likewise.
4586 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4588         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4589         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4590         <cstdlib>.
4591         (optimization_barrier): New.
4592         (do_test): Use it.  Call quick_exit in the global namespace.
4593         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4594         instead of <cstdlib>, <thread>.
4595         (optimization_barrier): New.
4596         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4597         Call quick_exit in the global namespace.
4598         (do_test): Call optimization_barrier.  Use pthread_create,
4599         pthread_join instead of std::thread.
4601 2016-06-09  Andreas Schwab  <schwab@suse.de>
4603         [BZ #19755]
4604         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4605         new entries in auto-propagate mode.
4606         * nscd/grpcache.c (cache_addgr): Likewise.
4608 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4610         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4611         New functions.
4612         (add_temp_file): Use them.
4614 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4616         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4618 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4620         [BZ #20229]
4621         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4622         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4623         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4625         [BZ #20228]
4626         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4627         itself.
4628         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4629         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4631         [BZ #20227]
4632         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4633         itself.
4634         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4635         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4636         * math/libm-test.inc (log_test_data): Add sNaN tests.
4638         [BZ #20226]
4639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4640         itself.
4641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4642         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4643         (exp10_test_data): Likewise.
4644         (expm1_test_data): Likewise.
4646         [BZ #20225]
4647         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4648         itself.
4649         * math/s_ldexpf.c (__ldexpf): Likewise.
4650         * math/s_ldexpl.c (__ldexpl): Likewise.
4651         * math/w_scalbln.c (__w_scalbln): Likewise.
4652         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4653         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4654         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4655         (scalbln_test_data): Likewise.
4657         [BZ #20224]
4658         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4659         argument to itself.
4660         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4662 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4664         [BZ #19776]
4665         * sysdeps/x86_64/memcpy.S: Make it dummy.
4666         * sysdeps/x86_64/mempcpy.S: Likewise.
4667         * sysdeps/x86_64/memmove.S: New file.
4668         * sysdeps/x86_64/memmove_chk.S: Likewise.
4669         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4670         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4671         * sysdeps/x86_64/memmove.c: Removed.
4672         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4673         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4674         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4675         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4676         Likewise.
4677         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4678         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4680         memcpy-sse2-unaligned, memmove-avx-unaligned,
4681         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4683         (__libc_ifunc_impl_list): Replace
4684         __memmove_chk_avx512_unaligned_2 with
4685         __memmove_chk_avx512_unaligned.  Remove
4686         __memmove_chk_avx_unaligned_2.  Replace
4687         __memmove_chk_sse2_unaligned_2 with
4688         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4689         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4690         with __memmove_avx512_unaligned.  Replace
4691         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4692         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4693         with __memcpy_chk_avx512_unaligned.  Remove
4694         __memcpy_chk_avx_unaligned_2.  Replace
4695         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4696         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4697         Replace __memcpy_avx512_unaligned_2 with
4698         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4699         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4700         with __mempcpy_chk_avx512_unaligned.  Remove
4701         __mempcpy_chk_avx_unaligned_2.  Replace
4702         __mempcpy_chk_sse2_unaligned_2 with
4703         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4704         Replace __mempcpy_avx512_unaligned_2 with
4705         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4706         Replace __mempcpy_sse2_unaligned_2 with
4707         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4708         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4709         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4710         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4711         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4712         (ENTRY): Removed.
4713         (END): Likewise.
4714         (ENTRY_CHK): Likewise.
4715         (libc_hidden_builtin_def): Likewise.
4716         Don't include ../memcpy.S.
4717         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4718         __memcpy_chk_avx512_unaligned_erms and
4719         __memcpy_chk_avx512_unaligned.  Use
4720         __memcpy_chk_avx_unaligned_erms and
4721         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4722         Default to __memcpy_chk_sse2_unaligned.
4723         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4724         Change function suffix from unaligned_2 to unaligned.
4725         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4726         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4727         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4728         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4729         (ENTRY): Removed.
4730         (END): Likewise.
4731         (ENTRY_CHK): Likewise.
4732         (libc_hidden_builtin_def): Likewise.
4733         Don't include ../mempcpy.S.
4734         (mempcpy): New.  Add a weak alias.
4735         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4736         __mempcpy_chk_avx512_unaligned_erms and
4737         __mempcpy_chk_avx512_unaligned.  Use
4738         __mempcpy_chk_avx_unaligned_erms and
4739         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4740         Default to __mempcpy_chk_sse2_unaligned.
4742 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4744         [BZ #19881]
4745         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4746         into ...
4747         * sysdeps/x86_64/memset.S: This.
4748         (__bzero): Removed.
4749         (__memset_tail): Likewise.
4750         (__memset_chk): Likewise.
4751         (memset): Likewise.
4752         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4753         defined.
4754         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4755         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4756         (__memset_zero_constant_len_parameter): Check SHARED instead of
4757         PIC.
4758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4759         memset-avx2 and memset-sse2-unaligned-erms.
4760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4761         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4762         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4763         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4764         (__bzero): Enabled.
4765         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4766         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4767         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4768         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4769         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4770         (memset): Removed.
4771         (__memset_chk): Likewise.
4772         (MEMSET_SYMBOL): New.
4773         (libc_hidden_builtin_def): Replace __memset_sse2 with
4774         __memset_sse2_unaligned.
4775         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4776         __memset_chk_sse2 and __memset_chk_avx2 with
4777         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4778         Use __memset_chk_sse2_unaligned_erms or
4779         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4780         __memset_chk_avx512_unaligned_erms and
4781         __memset_chk_avx512_unaligned.
4783 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4785         * math/gen-auto-libm-test.c (fp_format_desc): remove
4786         suffix member.
4787         (output_generic_value): Remove usage of suffix member,
4788         and the resulting unuse of the fp_format argument.
4789         (output_for_one_input_case): Remove unused fp_format
4790         parameter.
4792         * math/auto-libm-test-out: Regenerate.
4794         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4795         usage with TEST_COND_ibm128.
4796         (TEST_COND_flt_32): Remove.
4797         (TEST_COND_dbl_64): Remove.
4798         (TEST_COND_ldbl_96_intel): Remove.
4799         (TEST_COND_ldbl_96_m68k): Remove.
4800         (TEST_COND_ldbl_128): Remove.
4802 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4804         * auto-libm-test-in:
4805         Replace flt-32 usage with binary32.
4806         Replace dbl-64 usage with binary64.
4807         Replace ldbl-intel-96 usage with intel96.
4808         Replace ldbl-m68k-96 usage with m68k96.
4809         Replace ldbl-128ibm usage with ibm128.
4810         Replace ldbl-128 usage with binary128.
4812         * auto-libm-test-out: Regenerate.
4814 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4816         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4817         (parse_ulps): Dynamically generate type name matching
4818         string from all_floats.
4819         (get_ulps): Generate the ulps as an array instead.
4820         (output_ulps): Dynamically compose the type based
4821         on the number of supported formats, and print
4822         the indices as type specific helper macros.
4824         * math/libm-test.inc: Remove comment about CHOOSE.
4825         (ulp_data): Generate the type in libm-test-ulps.h.
4826         (ULP_IDX): New macro.
4827         (find_ulps): Update usage of max_ulp.
4829         * math/test-double-vlen2.h (CHOOSE): Remove.
4830         * math/test-double-vlen4.h (CHOOSE): Likewise.
4831         * math/test-double-vlen8.h (CHOOSE): Likewise.
4832         * math/test-float.c (CHOOSE): Likewise.
4833         * math/test-float-finite.c (CHOOSE): Likewise.
4834         * math/test-double.c (CHOOSE): Likewise.
4835         * math/test-double-finite.c (CHOOSE): Likewise.
4836         * math/test-idouble.c (CHOOSE): Likewise.
4837         * math/test-ifloat.c (CHOOSE): Likewise.
4838         * math/test-ildoubl.c (CHOOSE): Likewise.
4839         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4840         * math/test-ldouble.c (CHOOSE): Likewise.
4842         * math/test-float.h (TEST_FLOAT): Remove.
4843         * math/test-double.h (TEST_DOUBLE): Likewise.
4844         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4846 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4848         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4849         (parse_args): Strip C suffix from floating point literals
4850         typed with 'f' and wrap them with LIT().
4852         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4853         (test_ff_f_data_nexttoward): Rename to
4854         (test_fj_f_data): New struct.
4855         (nexttoward_test_data): Relabel tests as
4856         TEST_fj_f instead of TEST_ff_f.
4858 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4860         Emacs bug 23726.
4861         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4862         (__libc_realloc): Correct size computation for dumped fake mmapped
4863         chunks.
4865 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4867         [BZ #20219]
4868         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4869         to itself.
4870         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4872         [BZ #20218]
4873         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4874         to itself.
4875         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4877 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4879         [BZ #20195]
4880         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4881         check to ...
4882         (init_cpu_features): Here.
4884 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4886         [BZ #20214]
4887         * sysdeps/unix/sysv/linux/bits/in.h
4888         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4889          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4890         Define to 1.
4891         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4892          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4893         Define to 0.
4894         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4895         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4897 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4899         [BZ #20198]
4900         * stdlib/Makefile (tests): Add tst-quick_exit, and
4901         tst-thread-quick_exit.
4902         [ifeq ($(have-cxx-thread_local),yes)]
4903         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4904         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4905         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4906         (LDLIBS-tst-thread-quick_exit): Likewise.
4907         [ifneq ($(have-cxx-thread_local),yes)]
4908         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4909         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4910         If run_dtors is true call __call_tls_dtors.
4911         (exit): Call __run_exit_handlers with run_dtors set to true.
4912         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4913         definition.
4914         * stdlib/quick_exit.c (quick_exit): Remove function.
4915         (__new_quick_exit): New function.
4916         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4917         function.
4918         * stdlib/tst-quick_exit.cc: New file.
4919         * stdlib/tst-thread-quick_exit.cc: New file.
4920         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4921         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4922         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4923         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4924         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4925         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4926         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4927         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4928         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4929         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4930         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4932         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4933         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4935         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4940         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4941         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4942         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4943         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4944         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4947         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4949         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4951 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4953         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4954         a typo in comments.
4956 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4958         [BZ #20213]
4959         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4960         argument to itself.
4961         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4963 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4965         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4966         required flags.
4967         (CFLAGS-pwritev64.c): Likewise.
4968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4970         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4971         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4972         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4973         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4974         syscall from auto-generation.
4975         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4976         [WORDSIZE == 64] (pwritev64): Remove macro.
4977         [!PWRITEV] (PWRITEV): Likewise.
4978         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4979         [!PWRITEV] (PWRITE): Likewise.
4980         [!PWRITEV] (OFF_T): Likewise.
4981         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4982         (LO_HI_LONG): Remove macro.
4983         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4984         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4985         (PWRITEV): Remove macro.
4986         (PWRITEV_REPLACEMENTE): Likewise.
4987         (PWRITE): Likewise.
4988         (OFF_T): Likewise.
4989         (pwritev64): New function.
4990         * nptl/tst-cancel4.c (tf_writev): Add test.
4992         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4993         required flags.
4994         (CFLAGS-preadv64.c): Likewise.
4995         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4996         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4997         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4998         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4999         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5000         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5001         syscall from auto-generation.
5002         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5003         [WORDSIZE == 64] (preadv64): Remove macro.
5004         [!PREADV] (PREADV): Likewise.
5005         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5006         [!PREADV] (PREAD): Likewise.
5007         [!PREADV] (OFF_T): Likewise.
5008         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5009         (LO_HI_LONG): Remove macro.
5010         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5011         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5012         (PREADV): Remove macro.
5013         (PREADV_REPLACEMENTE): Likewise.
5014         (PREAD): Likewise.
5015         (OFF_T): Likewise.
5016         (preadv64): New function.
5017         * nptl/tst-cancel4.c (tf_preadv): Add test.
5019 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5021         [BZ #20212]
5022         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5023         argument to itself.
5024         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5026 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5028         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5029         New symbol defined as libc_hidden_def.
5030         (strcasestr): Became a weak alias to __strcasestr.
5031         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5032         according to multi-arch support.  Move __stpncpy hidden
5033         definition from here to...
5034         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5035         symbol stpncpy.
5036         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5037         libc_hidden_builtin_def.
5038         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5039         memset symbol to use when multi-arch support is available.
5041 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5043         * dlfcn/tst-rec-dlopen.c: Include string.h.
5045 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5047         * manual/install.texi: Remove mention of --without-tls
5048         * INSTALL: Regenerate.
5050 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5052         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5053         Remove.
5054         (call_function, interposed_malloc_called): New variables.
5055         (malloc): New function.
5056         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5057         and clear call_function as needed.
5059 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5061         * include/wchar.h (__wmemset): Use __typeof.
5063 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5065         * include/wchar.h (__wmemset): Declare function without typeof.
5067 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5069         [BZ #20205]
5070         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5071         exponent when incrementing negative subnormal with low mantissa
5072         word zero.
5073         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5074         Add another test.
5076 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5078         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5079         __wmemset instead of wmemset.
5081 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5083         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5084         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5085         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5086         __USE_KERNEL_IPV6_DEFS to 0.
5087         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5088         Update comment.
5090 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5092         [BZ #19861]
5093         Do not use IFUNC resolver with potentially unrelocated symbol.
5094         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5095         (DEFINE_FORK): Remove macro and inline definition.
5096         (fork_alias): Renamed from fork_ifunc.
5097         (__fork_alias): Renamed from __fork_ifunc.
5099 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5101         [BZ 19653]
5102         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5103         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5105 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5107         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5108         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5109         i386-linux-gnu).
5110         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5111         Set to no.
5112         * sysdeps/mach/hurd/configure: Refresh.
5114 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5116         [BZ #20178]
5117         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5118         on failure instead of exit.
5120 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5122         [BZ #3629]
5123         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5124         of POSIX.1-2008.
5126 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5128         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5129           Use PLT entry for calling _hurd_self_sigstate.
5131 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5133         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5134         available logical processors with SMT level type sharing L2
5135         cache for Intel processors.
5137 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5139         [BZ #20160]
5140         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5141         argument to itself before returning the result.
5142         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5143         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5144         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5146         Likewise.
5147         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5148         Likewise.
5149         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5150         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5151         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5152         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5153         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5154         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5156         [BZ #20160]
5157         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5158         argument to itself before returning the result.
5159         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5160         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5161         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5162         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5163         Likewise.
5164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5165         Likewise.
5166         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5167         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5168         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5169         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5170         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5171         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5173 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5175         * libm-test.inc: Replace usage of M_El with
5176         (lit_e): New macro.
5178 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5180         * libm-test.inc: Replace usage of M_PI_4l with
5181         (lit_pi_4_d): New macro.
5183 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5185         * libm-test.inc: Replace usage of M_PIl with
5186         (lit_pi): New macro.
5188 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5190         * libm-test.inc: Replace usage of M_PI2l with
5191         (lit_pi_2_d): New macro.
5193         * math/test-double.h (LITM): New macro.
5194         * math/test-float.h (LITM): Likewise.
5195         * math/test-ldouble.h (LITM): Likewise.
5197 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5199         * libm-test.inc (M_PI_34l): Rename to
5200         (lit_pi_3_m_4_d): New Macro.
5201         (M_PI_34_LOG10El): Rename to
5202         (lit_pi_3_m_4_ln10_m_d): New Macro.
5203         (M_PI2_LOG10El): Rename to
5204         (lit_pi_2_ln10_m_d):  New Macro.
5205         (M_PI4_LOG10El): Rename to
5206         (lit_pi_4_ln10_m_d):  New Macro.
5207         (M_PI_LOG10El): Rename to
5208         (lit_pi_ln10_d):  New Macro.
5210 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5212         [BZ #20157]
5213         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5214         determine whether to negate low half if [_ARCH_PPCGR], and integer
5215         comparison otherwise.
5216         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5217         determine whether to negate low half.
5219         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5220         (NO_TEST_INLINE_DOUBLE): Likewise.
5221         (TEST_COND_x86_64): Likewise.
5222         (TEST_COND_x86): Likewise.
5223         (M_PI_6l): Likewise.
5225 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5227         * math/libm-test.inc:
5228         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5229         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5230         (TEST_LDOUBLE): Update usage to evaluate as true if
5231         the guarded tests match the property being tested.
5232         (LDBL_MAX_EXP): Change to MAX_EXP.
5233         (LDBL_MIN_EXP): Change to MIN_EXP.
5234         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5235         nexttoward tests.
5237 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5239         * math/libm-test.inc:
5240         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5241         (TYPE_MIN): Likewise.
5242         (TYPE_TRUE_MIN): Likewise.
5243         (TYPE_MAX): Likewise.
5244         (MIN_EXP): Likewise.
5245         (MAX_EXP): Likewise.
5246         (MANT_DIG): Likewise.
5248         (FSTR_MAX): New macro.
5249         (__CONCATX): Likewise.
5250         (QTYPE_STR): Likewise.
5251         (TEST_COND_binary32): Likewise.
5252         (TEST_COND_binary64): Likewise.
5253         (TEST_COND_binary128): Likewise.
5254         (TEST_COND_ibm128): Likewise.
5255         (TEST_COND_intel96): Likewise.
5256         (TEST_COND_m68k96): Likewise.
5258         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5259         (TEST_COND_dbl_64): Likewise.
5260         (TEST_COND_ldbl_96_intel): Likewise.
5261         (TEST_COND_ldbl_96_m68k): Likewise.
5262         (TEST_COND_ldbl_128): Likewise.
5263         (TEST_COND_ldbl_128ibm): Likewise.
5265         (plus_zero): Redefine using LIT macro.
5266         (minus_zero): Likewise.
5267         (plus_infty): Redefine as (INF).
5268         (minux_infty): Redefine as (-INF).
5269         (max_value): Redefine as TYPE_MAX.
5270         (min_value): Redefine as TYPE_MIN.
5271         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5273         (print_float): Refactor to use snprintf to convert FLOAT values
5274         to string. This brings it closer to dropin replacement of strtof
5275         for the TS 18661 defined types.
5276         (update_stats): Likewise.
5277         (print_complex_function_ulps): Likewise.
5278         (print_max_error): Likewise.
5279         (print_complex_max_error): Likewise.
5280         (check_float_internal): Likewise.
5282         * math/test-float.h (PREFIX): New macro.
5283         (LIT): Likewise.
5284         (TYPE_STR): Likewise.
5285         (FTOSTR): Likewise.
5287         * math/test-double.h (PREFIX): New macro.
5288         (LIT): Likewise.
5289         (TYPE_STR): Likewise.
5290         (FTOSTR): Likewise.
5292         * math/test-ldouble.h (PREFIX): New macro.
5293         (LIT): Likewise.
5294         (TYPE_STR): Likewise.
5295         (FTOSTR): Likewise.
5297 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5299         [BZ #20156]
5300         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5301         to itself when zero or not finite.
5302         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5304         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5305         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5307 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5309         [BZ #20153]
5310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5311         x * x + x for infinities and NaNs.
5313         [BZ #20151]
5314         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5315         argument to itself before returning result.
5316         (__ieee754_y0l): Likewise.
5317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5318         (__ieee754_y1l).
5320         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5321         (atan_test_data): Likewise.
5322         (ceil_test_data): Likewise.
5323         (cos_test_data): Likewise.
5324         (cosh_test_data): Likewise.
5325         (erf_test_data): Likewise.
5326         (exp2_test_data): Likewise.
5327         (fabs_test_data): Likewise.
5328         (floor_test_data): Likewise.
5329         (ilogb_test_data): Likewise.
5330         (j0_test_data): Likewise.
5331         (j1_test_data): Likewise.
5332         (jn_test_data): Likewise.
5333         (lgamma_test_data): Likewise.
5334         (lrint_test_data): Likewise.
5335         (llrint_test_data): Likewise.
5336         (logb_test_data): Likewise.
5337         (lround_test_data): Likewise.
5338         (llround_test_data): Likewise.
5339         (nearbyint_test_data): Likewise.
5340         (rint_test_data): Likewise.
5341         (round_test_data): Likewise.
5342         (sin_test_data): Likewise.
5343         (sincos_test_data): Likewise.
5344         (sinh_test_data): Likewise.
5345         (sqrt_test_data): Likewise.
5346         (tan_test_data): Likewise.
5347         (tanh_test_data): Likewise.
5348         (tgamma_test_data): Likewise.
5349         (trunc_test_data): Likewise.
5350         (y0_test_data): Likewise.
5351         (y1_test_data): Likewise.
5352         (yn_test_data): Likewise.
5354         * math/libm-test.inc: Update comment about NaN testing.
5355         (TEST_SNAN): New macro.
5356         (snan_value): Likewise.
5357         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5358         (fpclassify_test_data): Add sNaN tests.
5359         (isfinite_test_data): Likewise.
5360         (isinf_test_data): Likewise.
5361         (isnan_test_data): Likewise.
5362         (isnormal_test_data): Likewise.
5363         (issignaling_test_data): Likewise.
5364         (signbit_test_data): Likewise.
5365         * math/gen-libm-test.pl (%beautify): Add snan_value.
5366         (show_exceptions): Add argument $test_snan.
5367         (parse_args): Handle snan_value as non-finite.  Update call to
5368         show_exceptions.
5369         * math/Makefile (libm-test-no-inline-cflags): Add
5370         -fsignaling-nans.
5372 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5374         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5375         (CFLAGS-oldsendmsg.c): Add rule.
5376         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5377         Correct recvmsg symbol name.
5378         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5379         Likewise.
5381 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5383         * sysdeps/unix/sysv/linux/Makefile
5384         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5385         oldsendmmsg.
5386         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5387         sendmmsg.
5388         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5389         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5390         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5391         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5393         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5394         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5396         Likewise.
5397         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5399         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5400         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5401         iovlen and controllen fields to adjust to POSIX specification.
5402         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5404         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5405         and change to correct expected type.
5406         (msghdr.msg_controllen): Likewise.
5407         (cmsghdr.cmsg_len): Likewise.
5408         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5409         expected POSIX assumption about the size.
5410         (msghdr.msg_controllen): Likewise.
5411         (msghdr.__glibc_reserved1): Likewise.
5412         (msghdr.__glibc_reserved2): Likewise.
5413         (cmsghdr.cmsg_len): Likewise.
5414         (cmsghdr.__glibc_reserved1): Likewise.
5415         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5416         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5417         (CFLAGS-sendmsg.c): Remove rule.
5418         (CFLAGS-recvmsg.c): Likewise.
5419         (CFLAGS-oldsendmsg.c): Add rule.
5420         (CFLAGS-oldrecvmsg.c): Likewise.
5421         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5422         recvmsg and sendmsg.
5423         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5424         Likewise.
5425         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5426         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5427         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5428         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5429         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5430         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5433         Likewise.
5434         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5439         Likewise.
5440         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5443         (GLIBC_2.24): Likewise.
5444         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5445         Likewise.
5446         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5447         Likewise.
5448         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5449         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5450         Likewise.
5451         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5452         Likewise.
5453         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5454         Likewise.
5455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5456         (GLIBC_2.24): Likewise.
5457         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5458         Likewise.
5459         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5460         Likewise.
5461         * sysdeps/unix/sysv/linux/Makefile
5462         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5463         (CFLAGS-sendmsg.c): Add rule.
5464         (CFLAGS-recvmsg.c): Likewise.
5465         (CFLAGS-oldsendmsg.c): Likewise.
5466         (CFLAGS-oldrecvmsg.c): Likewise.
5467         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5468         initialization.
5469         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5470         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5471         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5472         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5473         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5474         iovlen and controllen fields to adjust to POSIX specification.
5475         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5476         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5477         added recvmsg and sendmsg.
5478         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5479         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5480         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5481         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5482         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5483         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5484         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5485         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5486         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5487         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5488         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5489         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5491         Likewise.
5492         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5494         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5495         Likewise.
5496         Likewise.
5497         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5498         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5500         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5501         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5502         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5504         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5506         Likewise.
5507         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5508         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5510         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5511         from auto-generation.
5512         (sendmsg): Likewise.
5513         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5514         (sendmsg): Likewise.
5515         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5516         (sendmsg): Likewise.
5517         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5518         (sendmsg): Likewise.
5519         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5520         (sendmsg): Likewise.
5521         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5522         (sendmsg): Likewise.
5523         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5524         Likewise.
5525         (sendmsg): Likewise.
5526         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5527         (sendmsg): Likewise.
5528         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5530         Remove.
5531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5532         Likewise.
5533         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5534         Undefine.
5535         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/kernel-features.h
5538         (__ASSUME_SENDMSG_SYSCALL): Define.
5539         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5542         Remove.
5543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5544         Likewise.
5545         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5546         Undefine.
5547         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5548         Likewise.
5549         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5551         Remove.
5552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5553         Likewise.
5554         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5555         Undefine.
5556         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5559         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5560         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5561         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5562         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5563         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5564         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5565         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5566         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5568 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5570         * stdlib/gen-tst-strtod-round.c: Add backslash to
5571         compile command in comment.
5572         (printfp): Remove the literal suffix, and define an infinite
5573         value as INF to avoid expansion clash with INFINITY.
5574         (round_str): Remove the literal suffix.
5575         (round_for_all): Likewise, remove the now duplicate ldbl-64
5576         entry, and remove some magic constants.
5578         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5579         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5580         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5581         (_CONCAT): New macro.
5582         (CONCAT): Likewise.
5583         (CHOOSE_ld): Likewise.
5584         (CHOOSE_f): Likewise.
5585         (CHOOSE_d): Likewise.
5586         (FTYPE_MEMBER): Likewise.
5587         (BOOL_MEMBER): Likewise.
5588         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5589         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5590         (_XNTRY): Likewise.
5591         (XNTRY): Likewise.
5592         (_ENTRY): Likewise.
5593         (ENTRY): Likewise.
5594         (test_exactness): Generate members via macro.
5595         (test_results): Likewise.
5596         (test): Update members.
5597         (TEST): Redefine using new macros.
5598         (INF): New macro.
5599         (fetestmodes): New structure.
5600         (do_test): Refactor to be type generic.
5601         (test_in_one_mode): Refactor duplicate code into
5602         (GEN_ONE_TEST): New macro.
5604         * stdlib/tst-strtod-round-data.h: Regenerate.
5606         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5607         Extend to pass additional arbitrary parameters to
5608         generators.
5610 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5612         [BZ #15479]
5613         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5614         floating-point state after first floating-point operation on
5615         input.  Restore full floating-point state instead of just rounding
5616         mode.
5617         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5618         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5619         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5620         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5621         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5623         [BZ #15479]
5624         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5625         floating-point state after first floating-point operation on
5626         input.  Restore full floating-point state instead of just rounding
5627         mode.
5628         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5629         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5630         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5631         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5632         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5634 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5636         [BZ #19727]
5637         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5638         valid high surrogate.
5639         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5640         of an utf16 surrogate.
5641         * iconv/gconv_simple.c (BODY): Likewise.
5642         * iconvdata/bug-iconv12.c: New file.
5643         * iconvdata/Makefile (tests): Add bug-iconv12.
5645 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5647         [BZ #19726]
5648         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5649         outptrp in case of an illegal input.
5650         * iconv/tst-iconv6.c: New file.
5651         * iconv/Makefile (tests): Add tst-iconv6.
5653 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5655         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5656         an error in case of a value in range of an utf16 low surrogate.
5658 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5660         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5661         an error in case of a value in range of an utf16 low surrogate.
5663 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5665         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5666         Move to ...
5667         * sysdeps/s390/Makefile: ... here.
5668         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5669         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5670         (BRANCH_ON_COUNT): New define.
5671         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5672         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5673         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5674         run on s390-32, too.
5675         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5676         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5677         run on s390-32, too.
5678         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5679         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5680         run on s390-32, too.
5682 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5684         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5685         etf3eh or new vector loop-variant.
5687 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5689         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5690         etf3eh or new vector loop-variant.
5692 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5694         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5695         or new vector loop-variant.
5697 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5699         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5700         Rename to TR_LOOP and usage of tr instead of troo instruction.
5702 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5704         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5705         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5707 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5709         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5710         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5711         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5712         New override define.
5713         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5715 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5717         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5718         * sysdeps/s390/configure.ac: Add test for S390 vector register
5719         support in gcc.
5720         * sysdeps/s390/configure: Regenerated.
5722 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5724         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5725         Install file from $(objpfx)gconv-modules.
5726         ($(objpfx)gconv-modules): Concatenate architecture specific file
5727         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5728         * sysdeps/s390/gconv-modules: New file.
5729         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5730         Deleted.
5731         ($(objpfx)gconv-modules-s390): Deleted.
5732         (sysdeps-gconv-modules): New variable.
5734 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #15479]
5737         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5738         of immediate operand to rounding instruction.
5739         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5740         Likewise.
5741         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5742         Likewise.
5743         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5744         Likewise.
5746 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5748         * math/libm-test.inc (MIN_EXP): Directly define as
5749         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5751 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5753         * math/libm-test.inc (MANT_DIG): Directly define as
5754         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5756 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5758         * stdlib/gen-tst-strtod-round.c (main):
5759           Change usage to more closely match the generated
5760           output.  Add usage and compilation instructions.
5761           (string_to_fp): Add and use FILE* parameter as
5762           output target.
5763           (print_fp): Likewise.
5764           (round_str): Likewise.
5765           (round_for_all): Likewise.
5766         * stdlib/tst-strtod-round.c (tests): Move into
5767         * stdlib/tst-strtod-round-data.h: New file.
5769 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #15479]
5772         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5773         (__round): Do not force "inexact" exception.
5774         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5775         variable.
5776         (__round): Do not force "inexact" exception.
5777         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5778         (__roundf): Do not force "inexact" exception.
5779         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5780         (__roundl): Do not force "inexact" exception.
5781         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5782         (__roundl): Do not force "inexact" exception.
5783         * math/libm-test.inc (round_test_data): Do not allow spurious
5784         "inexact" exceptions.
5786         [BZ #15479]
5787         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5788         exception in comment.
5789         (huge): Remove variable.
5790         (__floor): Do not force "inexact" exception.
5791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5792         "inexact" exception in comment.
5793         (huge): Remove variable.
5794         (__floor): Do not force "inexact" exception.
5795         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5796         exception in comment.
5797         (huge): Remove variable.
5798         (__floorf): Do not force "inexact" exception.
5799         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5800         exception in comment.
5801         (huge): Remove variable.
5802         (__floorl): Do not force "inexact" exception.
5804         [BZ #15479]
5805         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5806         exception in comment.
5807         (huge): Remove variable.
5808         (__ceil): Do not force "inexact" exception.
5809         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5810         "inexact" exception in comment.
5811         (huge): Remove variable.
5812         (__ceil): Do not force "inexact" exception.
5813         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5814         (__ceilf): Do not force "inexact" exception.
5815         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5816         exception in comment.
5817         (huge): Remove variable.
5818         (__ceill): Do not force "inexact" exception.
5820 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5822         * config.h.in (BIND_NOW): New.
5823         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5824         * configure: Regenerated.
5825         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5826         indirect branch via the GOT slot.
5828 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5830         [BZ #19765]
5831         * sysdeps/s390/mempcpy.S: New File.
5832         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5833         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5834         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5835         Add mempcpy variants.
5836         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5837         (memcpy): Adjust to be usable from mempcpy entry point.
5838         (__memcpy_mvcle): Likewise.
5839         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5840         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5841         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5842         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5843         (__memcpy_z10): Likewise.
5844         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5846 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5848         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5849         Remove __GI_ symbol.
5850         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5851         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5852         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5853         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5854         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5855         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5857 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5859         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5860         Use cghi instead of chi to compare 64bit value.
5862 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5864         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5865         Jump to 1MB check before executing mvc-loop.
5867 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5869         [BZ #6527]
5870         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5871         unconditionally.
5872         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5874 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5876         * stdlib/tst-strtod6.c (do_test): Use new type generic
5877         invocation of the test function.
5878         (test): Refactor into ...
5879         (TEST_STRTOD): New macro base function.
5881 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5883         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5884         (TEST_STRTOD): New macro.
5885         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5887 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5889         * stdlib/tst-strtod6.c (do_test): Use new type generic
5890         invocation of the test function.
5891         (test): Refactor into ...
5892         (TEST_STRTOD): New macro base function.
5894 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5896         CVE-2016-4429
5897         [BZ #20112]
5898         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5899         payload.
5901 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5903         [BZ #20111]
5904         * bits/sockaddr.h (_SS_SIZE): Define.
5905         * bits/socket.h (_SS_SIZE): Remove.
5906         (_SS_PADSIZE): Adjust to account for all padding.
5907         (struct sockaddr_storage): Update comment.  Avoid implicit
5908         padding.
5909         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5910         (_SS_PADSIZE): Adjust to account for all padding.
5911         (struct sockaddr_storage): Update comment.  Avoid implicit
5912         padding.
5913         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5914         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5915         (_SS_PADSIZE): Adjust to account for all padding.
5916         (struct sockaddr_storage): Update comment.  Avoid implicit
5917         padding.
5918         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5919         __SS_SIZE is 126 in this version.
5920         * inet/tst-sockaddr.c: New file.
5921         * inet/Makefile (tests): Add tst-sockaddr.c
5922         (tst-sockaddr.c): Compile with non-strict aliasing.
5924 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5926         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5927         [XPG3 || XPG4].
5928         (NL_ARGMAX): Also expect for [XPG3].
5929         (NL_LANGMAX): Likewise.
5930         (NL_MSGMAX): Likewise.
5931         (NL_NMAX): Likewise.
5932         (NL_SETMAX): Likewise.
5933         (NL_TEXTMAX): Likewise.
5934         (NZERO): Likewise.
5935         (TMP_MAX): Likewise.
5936         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5937         variable.
5939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5940         (PF_MAX): Update value.
5941         (AF_KCM): New macro.
5942         (SOL_NETBEUI): Likewise.
5943         (SOL_LLC): Likewise.
5944         (SOL_DCCP): Likewise.
5945         (SOL_NETLINK): Likewise.
5946         (SOL_TIPC): Likewise.
5947         (SOL_RXRPC): Likewise.
5948         (SOL_PPPOL2TP): Likewise.
5949         (SOL_BLUETOOTH): Likewise.
5950         (SOL_PNPIPE): Likewise.
5951         (SOL_RDS): Likewise.
5952         (SOL_IUCV): Likewise.
5953         (SOL_CAIF): Likewise.
5954         (SOL_ALG): Likewise.
5955         (SOL_NFC): Likewise.
5956         (SOL_KCM): Likewise.
5957         (MSG_BATCH): New enum value and macro.
5959 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5961         [BZ #18185]
5962         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5963         sharing L2 cache to 2 for Knights Landing.
5965 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5967         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5968         (FTW_DP): Do not expect for [XPG3 || XPG4].
5969         (FTW_SL): Do not expect for [XPG3].
5970         (FTW_SLN): Likewise.
5971         (FTW_PHYS): Likewise.
5972         (FTW_MOUNT): Likewise.
5973         (FTW_DEPTH): Likewise.
5974         (FTW_CHDIR): Likewise.
5975         (nftw): Likewise.
5976         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5977         variable.
5979 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5981         * manual/errno.texi: Fix various typos & grammar errors.
5983 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5985         * manual/intro.texi: Fix duplicated typo.
5987 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5989         [BZ #13304]
5990         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5991         <float.h>, <math_private.h> and <stdlib.h>.
5992         (add_split): New function.
5993         (mul_split): Likewise.
5994         (ext_val): New typedef.
5995         (store_ext_val): New function.
5996         (mul_ext_val): New function.
5997         (compare): New function.
5998         (add_split_ext): New function.
5999         (__fmal): After checking for Inf, NaN and zero, compute result as
6000         an exact sum of scaled double values in round-to-nearest before
6001         adding those up and adjusting for other rounding modes.
6002         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6003         tests of fma.
6004         * math/auto-libm-test-out: Regenerated.
6006 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6008         [BZ #20119]
6009         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6010         processor level type mask for CPUID with EAX == 11.
6012 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6014         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6015         logical threads if the HTT bit is 0.
6016         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6017         (index_cpu_HTT): Likewise.
6018         (reg_HTT): Likewise.
6020 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6022         [BZ #20115]
6023         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6024         Remove alignments on jump targets.
6026 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6028         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6029         (getpwent): Likewise.
6030         (setpwent): Likewise.
6031         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6032         variable.
6034         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6035         (remque): Likewise.
6036         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6037         variable.
6039 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6041         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6042         not being tested.
6044 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6046         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6047         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6048         call.
6049         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6050         (__condvar_cleanup1): Likewise.
6052 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6054         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6055         New
6056         (__pthread_unwind): Renamed to ...
6057         (PTHREAD_UNWIND): This.
6058         (__pthread_enable_asynccancel): Replace
6059         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6061 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6063         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6064         (CLONE_NEWCGROUP): New macro.
6066         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6067         (Q_GETNEXTQUOTA): New macro.
6069 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6071         [BZ #19907]
6072         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6073         buffer updated by the previous run.
6074         * string/test-memcpy.c (do_one_test): Likewise.
6075         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6076         * string/test-memmove.c (do_one_test): Likewise.
6078 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6080         [BZ #20094]
6081         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6082         not [__USE_XOPEN].
6083         (unlockpt): Likewise.
6084         (ptsname): Likewise.
6085         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6086         variable.
6088         [BZ #20076]
6089         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6090         instead of [__USE_UNIX98].
6091         (S_ISSOCK): Likewise.
6092         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6093         variable.
6095         [BZ #20074]
6096         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6097         [__USE_POSIX].
6098         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6099         variable.
6101         [BZ #20051]
6102         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6103         (ttyslot): Do not declare.
6104         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6105         (ttyslot): New prototype.
6106         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6107         variable.
6108         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6110 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6112         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6114 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6116         Fix race condition in tst-mallocfork2, use fewer resources.
6117         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6118         to current process group.
6119         (signal_sender): Yield in the non-sleeping case.
6121 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6123         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6124         (ecvt): Likewise.
6125         (fcvt): Likewise.
6126         (gcvt): Likewise.
6127         (getsubopt): Likewise.
6128         (grantpt): Likewise.
6129         (initstate): Likewise.
6130         (l64a): Likewise.
6131         (mktemp): Likewise.
6132         (mkstemp): Likewise.
6133         (ptsname): Likewise.
6134         (random): Likewise.
6135         (realpath): Likewise.
6136         (setstate): Likewise.
6137         (srandom): Likewise.
6138         (ttyslot): Likewise.
6139         (unlockpt): Likewise.
6140         (valloc): Likewise.
6142         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6143         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6144         variable.
6146 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6148         [BZ #20072]
6149         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6150         init_cpu_features only if SHARED is defined.
6151         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6153 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6155         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6156         non-inclusive caches on Intel processors.
6158 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6160         * malloc/malloc.c (dumped_main_arena_start)
6161         (dumped_main_arena_end): New variables.
6162         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6163         (do_check_chunk): Skip dumped fake mmapped chunks.
6164         (munmap_chunk): Likewise.
6165         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6166         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6167         mmapped chunks.
6168         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6169         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6170         and dumped_main_arena_end to cover the dumped heap.
6172 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6174         * conform/data/time.h-data (getdate_err): Do not expect for
6175         [XPG3].
6176         (getdate): Likewise.
6177         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6178         variable.
6180         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6181         (F_ULOCK): Likewise.
6182         (F_TEST): Likewise.
6183         (F_TLOCK): Likewise.
6184         (useconds_t): Likewise.
6185         (intptr_t): Do not expect for [XPG3] or [XPG4].
6186         (brk): Do not expect for [XPG3]
6187         (fchown): Likewise.
6188         (fchdir): Likewise.
6189         (ftruncate): Likewise.
6190         (getdtablesize): Likewise.
6191         (gethostid): Likewise.
6192         (getpagesize): Likewise.
6193         (getpgid): Likewise.
6194         (getsid): Likewise.
6195         (getwd): Likewise.
6196         (lchown): Likewise.
6197         (lockf): Likewise.
6198         (readlink): Likewise.
6199         (sbrk): Likewise.
6200         (setpgrp): Likewise.
6201         (setregid): Likewise.
6202         (setreuid): Likewise.
6203         (symlink): Likewise.
6204         (sync): Likewise.
6205         (truncate): Likewise.
6206         (ualarm): Likewise.
6207         (usleep): Likewise.
6208         (vfork): Likewise.
6209         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6210         variable.
6212         [BZ #20054]
6213         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6214         not [__USE_UNIX98].
6215         * conform/data/unistd.h-data (gethostname): Do not expect for
6216         [XPG3].
6218         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6219         [!POSIX] (S_IFBLK): Likewise.
6220         [!POSIX] (S_IFCHR): Likewise.
6221         [!POSIX] (S_IFIFO): Likewise.
6222         [!POSIX] (S_IFREG): Likewise.
6223         [!POSIX] (S_IFDIR): Likewise.
6224         [!POSIX] (S_IFLNK): Likewise.
6225         [!POSIX] (S_IFSOCK): Likewise.
6226         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6227         variable.
6228         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6230 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6232         * sysdeps/aarch64/memset.S (__memset):
6233         Rewrite of optimized memset.
6235 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6237         [BZ #19703]
6238         Partially async-signal-safe fork for single-threaded processes.
6239         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6240         variable.  Do not acquire and reset/release malloc and libio locks
6241         in single-threaded processes.
6242         * malloc/tst-mallocfork2.c: New file.
6243         * malloc/Makefile (tests): Add it.
6245 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6247         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6248         argument.  Use scratch buffer instead of extend_alloca.
6249         (gethosts): Use scratch buffer instead of extend_alloca.
6250         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6251         extend_alloca.
6252         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6254 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6256         [BZ #20055]
6257         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6258         instead of [__USE_UNIX98].
6259         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6260         [__USE_UNIX98].
6261         * conform/data/termios.h-data (tcgetsid): Do not expect for
6262         [XPG3].
6263         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6264         variable.
6265         (test-xfail-XPG4/termios.h/conform): Likewise.
6267 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6269         Do not use mcheck in localedef.
6270         * locale/programs/localedef.c (turn_on_mcheck)
6271         (__malloc_initialize_hook): Remove.
6273 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6275         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6276         * sysdeps/s390/s390-64/Makefile: Likewise.
6278 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6280         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6281         Remove ifunc-defines.sym.
6282         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6283         Likewise.
6284         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6285         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6286         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6287         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6288         rtld-global-offsets.sym.
6289         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6290         * sysdeps/x86/cpu-features-offsets.sym: This.
6291         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6292         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6294 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #20073]
6297         * io/sys/stat.h (fchmod): Declare for
6298         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6299         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6300         variable.
6302         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6303         [XPG3] (S_IFSOCK): Likewise.
6304         [XPG3] (S_ISVTX): Likewise.
6305         [XPG3] (S_ISLNK): Likewise.
6306         [XPG3] (S_ISSOCK): Likewise.
6307         [XPG3] (fchmod): Likewise.
6308         [XPG3] (lstat): Likewise.
6309         [XPG3] (mknod): Likewise.
6311         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6312         [XPG3].  Expect type long and XFAIL for [XPG4].
6313         (st_blocks): Likewise.
6315         [BZ #20044]
6316         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6317         (pthread_atfork): New prototype.
6318         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6319         variable.
6321         [BZ #20043]
6322         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6323         prototype.
6325 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6327         [BZ #20017]
6328         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6329         gmtime.
6331 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6333         [BZ #19994]
6334         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6335         flag in _res.options.
6337 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6339         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6340         [XPG3 || XPG4].
6341         (blksize_t): Likewise.
6342         (clockid_t): Likewise.
6343         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6344         variable.
6345         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6347 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6349         * sysdeps/unix/sysv/linux/s390/init-first.c:
6350         Add VDSO_SYMBOL(getcpu).
6351         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6352         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6353         Add VDSO_SYMBOL(getcpu).
6354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6355         New define HAVE_GETCPU_VSYSCALL.
6356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6358 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6360         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6361         instead of <sysdeps/x86_64/cacheinfo.c>.
6362         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6363         * sysdeps/x86/cacheinfo.c: Here.
6365 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6367         * malloc/malloc-internal.h: Adjust header file guard.
6369 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6371         [BZ #19787]
6372         * inet/getnameinfo.c (check_sprintf_result): New function.
6373         (CHECKED_SNPRINTF): New macro.
6374         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6375         to the host buffer.
6376         (gni_host_local): Use checked_copy to copy the host name.
6377         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6378         (gni_serv_local): Use checked_copy to copy the service name.
6379         (getnameinfo): Remove unnecessary truncation of result buffers.
6381 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6383         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6384         in case of inet_ntop failure.
6386 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6388         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6389         avoid long lines.
6390         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6391         variables.
6392         (gni_host_inet, gni_host_local): Add comment.
6393         (gni_host): Add comment.  Use temporary to avoid long lines.
6395 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6397         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6398         registers specifiers where general purpose registers specifiers should
6399         have been used.
6401 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6403         [BZ #19779]
6404         CVE-2016-1234
6405         Avoid copying names of directory entries.
6406         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6407         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6408         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6409         (struct readdir_result): New type.
6410         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6411         (GL_READDIR): New macros.
6412         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6413         (convert_dirent, convert_dirent64): New functions.
6414         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6415         convert_dirent64.  Adjust references to the readdir result.
6416         * sysdeps/unix/sysv/linux/i386/glob64.c:
6417         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6418         * posix/bug-glob2.c (LONG_NAME): Define.
6419         (filesystem): Add LONG_NAME.
6420         (my_DIR): Increase the size of room_for_dirent.
6422 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6424         [BZ #20041]
6425         * misc/sys/select.h (__need_timespec): Only define if
6426         [__USE_XOPEN2K].
6427         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6428         variable.
6429         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6430         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6431         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6433 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6434             Segher Boessenkool  <segher@gcc.gnu.org>
6436         [BZ #20004]
6437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6438         (__novec_swapcontext): Add missing load.
6440 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6442         [BZ #20023]
6443         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6444         <time.h>.
6445         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6446         variable.
6447         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6449 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6452         flags CLONE_VM compare.
6454 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6456         [BZ #20031]
6457         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6458         completely empty.
6460 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6462         [BZ #19573]
6463         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6464         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6465         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6466         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6467         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6468         (hesiod_free_list): Mark as hidden.
6469         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6470         res_set, res_get.
6471         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6472         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6473         (hesiod_init): Remove obsolete res_ninit call.
6474         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6475         (hesiod_bind): Do not call init.
6476         (get_txt_records): Use res_mkquery, res_send instead of
6477         res_nmkquery, res_nsend.
6478         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6479         instead of _nss_hesiod_init.
6480         (_nss_hesiod_initgroups_dyn): Likewise.
6481         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6482         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6483         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6485 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6487         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6488         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6490 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6492         * hesiod/hesiod.h: Remove RCS keyword.
6493         * hesiod/hesiod_p.h: Likewise.
6495         * hesiod/hesiod.c: Likewise.
6497 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6499         [BZ #12450]
6500         * locale/iso-639.def: Add Samogitian/sgs.
6502 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6504         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6506         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6508 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6509             Carlos O'Donell  <carlos@redhat.com>
6511         [BZ #19072]
6512         * grp/Makefile (headers): Add grp-merge.h
6513         (routines): Add grp-merge.
6514         * grp/getgrgid_r.c: Include grp-merge.h.
6515         (DEEPCOPY_FN): Define.
6516         (MERGE_FN): Define.
6517         * grp/getgrname_r.c: Include grp-merge.h.
6518         (DEEPCOPY_FN): Define.
6519         (MERGE_FN): Define.
6520         * grp/grp-merge.c: New file.
6521         * grp/grp-merge.h: New file.
6522         * include/grp-merge.h: New file.
6523         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6524         __copy_grp@GLIBC_PRIVATE.
6525         * manual/nss.texi (Actions in the NSS configuration): Describe
6526         return, continue, and merge.
6527         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6528         (DEEPCOPY_FN): Define.
6529         (MERGE_FN): Define.
6530         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6531         (DEEPCOPY_FN): Define.
6532         (MERGE_FN): Define.
6533         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6534         [!MERGE_FN]: Define __merge_einval.
6535         (CHECK_MERGE): Define.
6536         (REENTRANT_NAME): Process merge if do_merge is true.
6537         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6538         (__nss_getent_r): Likewise.
6539         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6540         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6542 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6544         [BZ #20012]
6545         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6546         length to calculate the buffer to read.
6547         (fmemopen_write): Set the buffer position based on bytes written.
6548         (fmemopen_seek): Return EINVAL for invalid whence modes.
6550         [BZ #19957]
6551         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6552         tst-getpid2.
6553         (test): Add tst-clone2.
6554         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6555         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6556         pid/tid fields for CLONE_VM.
6557         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6558         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6559         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6560         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6561         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6562         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6563         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6564         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6566         Likewise.
6567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6568         Likewise.
6569         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6570         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6571         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6572         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6573         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6574         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6575         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6576         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6578 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6580         [BZ #19642]
6581         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6582         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6583         (gni_serv_local, gni_serv): New functions extracted from
6584         getnameinfo.
6585         (getnameinfo): Call gni_host and gni_serv to perform the
6586         processing.  Always free scratch buffer.
6588 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6590         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6591         remaining bytes in the dest string, with zeros.
6593 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6595         [BZ #20010]
6596         CVE-2016-3706
6597         * sysdeps/posix/getaddrinfo.c
6598         (convert_hostent_to_gaih_addrtuple): New function.
6599         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6600         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6601         AF_INET data.
6603 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6605         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6606         callback function gl_readdir.
6607         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6608         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6609         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6610         memcpy to copy the name.
6611         * manual/pattern.texi (Calling Glob): Document requirements for
6612         implementations of the gl_readdir callback function.
6613         * manual/examples/mkdirent.c: New example.
6614         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6615         per the manual guidance.
6616         * posix/tst-gnuglob.c (my_readdir): Likewise.
6618 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6620         [BZ #20014]
6621         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6622         not [__USE_POSIX].
6623         (getchar_unlocked): Likewise.
6624         (putc_unlocked): Likewise.
6625         (putchar_unlocked): Likewise.
6626         (flockfile): Likewise.
6627         (ftrylockfile): Likewise.
6628         (funlockfile): Likewise.
6629         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6630         variable.
6631         (test-xfail-XPG4/stdio.h/conform): Likewise.
6633         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6634         Expect constant.
6635         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6636         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6637         variable.
6638         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6639         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6641         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6642         [__USE_LARGEFILE64] (off64_t): Likewise.
6643         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6644         variable.
6646 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6648         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6652         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6653         * resolv/res_init.c: Likewise.
6654         * resolv/res_mkquery.c: Likewise.
6656 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6658         * resolv/res_init.c (isascii): Do not define.  Use definition in
6659         <ctype.h>.
6660         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6661         (LOG_AUTH): Remove.
6662         (SPRINTF): Remove, adjust caller.
6663         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6665 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6667         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6668         SUNSECURITY conditional.
6669         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6671 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6673         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6674         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6675         Remove BSD-related preprocessor conditionals.
6676         * conf/portability.h: Remove.
6678 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6680         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6681         * resolv/res_data.c: Likewise.
6683 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6685         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6686         * resolv/res_data.c: Remove code conditional on ultrix.
6688 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6690         * resolv/res_init.c (RFC1535): Do not define.  Remove
6691         RFC1535 preprocessor conditionals.
6692         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6693         because there configuration options which make the resolver
6694         behavior different.
6696 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6698         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6699         RESOLVSORT preprocessor conditionals.
6700         * resolv/nss_dns/dns-host.c: Likewise.
6701         * resolv/res_init.c: Likewise.
6703 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6705         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6706         is never defined.
6708 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6710         * inet/inet_lnaof.c: Remove SCSS keyword.
6711         * inet/inet_mkadr.c: Likewise.
6712         * inet/inet_net.c: Likewise.
6713         * inet/inet_netof.c: Likewise.
6714         * inet/rcmd.c: Likewise.
6715         * inet/rexec.c: Likewise.
6716         * inet/ruserpass.c: Likewise.
6718 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6720         * resolv/inet_addr.c: Remove _LIBC conditionals.
6721         * resolv/res_data.c: Likewise.
6722         * resolv/res_init.c: Likewise.
6723         * resolv/res_mkquery.c: Likewise.
6724         * resolv/res_libc.c: Update comment.
6725         * resolv/README: Update.
6727 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6729         * resolv/gethnamaddr.c: Remove SCSS keyword.
6730         * resolv/herror.c: Likewise.
6731         * resolv/inet_addr.c: Likewise.
6732         * resolv/inet_net_ntop.c: Likewise.
6733         * resolv/inet_net_pton.c: Likewise.
6734         * resolv/inet_neta.c: Likewise.
6735         * resolv/inet_ntop.c: Likewise.
6736         * resolv/inet_pton.c: Likewise.
6737         * resolv/ns_date.c: Remove RCS keyword.
6738         * resolv/ns_name.c: Likewise.
6739         * resolv/ns_netint.c: Likewise.
6740         * resolv/ns_parse.c: Likewise.
6741         * resolv/ns_print.c: Likewise.
6742         * resolv/ns_samedomain.c: Likewise.
6743         * resolv/ns_ttl.c: Likewise.
6744         * resolv/nsap_addr.c: Likewise.
6745         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6746         * resolv/res_data.c: Remove RCS keyword.
6747         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6748         * resolv/res_init.c: Likewise.
6749         * resolv/res_mkquery.c: Likewise.
6750         * resolv/res_query.c: Likewise.
6751         * resolv/res_send.c: Likewise.
6753 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6755         * conform/data/stdio.h-data (fdopen): Expect also for
6756         [XPG3 || XPG4].
6758         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6759         (fseeko): Likewise.
6760         (ftello): Likewise.
6761         (ftrylockfile): Likewise.
6762         (funlockfile): Likewise.
6763         (getc_unlocked): Likewise.
6764         (getchar_unlocked): Likewise.
6765         (putc_unlocked): Likewise.
6766         (putchar_unlocked): Likewise.
6768 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6770         [BZ #19868]
6771         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6772         DNS packet syntax checks (which were not needed before).  Skip
6773         over non-PTR records.
6775 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6777         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6778         definition.  Include <stddef.h> instead.
6780 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6782         [BZ #19831]
6783         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6784         function.
6785         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6786         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6788 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6790         [BZ #19862]
6791         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6792         (getanswer_r): Do not call syslog.
6793         (gaih_getanswer_slice): Likewise.
6794         * resolv/gethnamaddr.c (AskedForGot): Remove.
6795         (getanswer): Do not call syslog.
6796         (gethostbyaddr): Likewise.
6798 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6800         * conform/data/signal.h-data (union sigval): Expect also if
6801         [XOPEN2K].
6802         (struct sigevent): Likewise.
6803         (SIGEV_NONE): Likewise.
6804         (SIGEV_SIGNAL): Likewise.
6805         (SIGEV_THREAD): Likewise.
6806         (SIGRTMIN): Likewise.
6807         (SIGRTMAX): Likewise.
6808         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6809         variable.
6810         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6812 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6814         [BZ #19830]
6815         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6816         (gaih_getanswer_slice): Likewise.
6817         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6818         Also check for availability of RR metadata.
6820 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6822         [BZ #19825]
6823         * resolv/res_send.c (send_vc): Remove early *resplen2
6824         initialization.  Set *resplen2 on socket error.  Call
6825         close_and_return_error for other errors.
6827 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6829         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6830         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6831         (SCM_IUCV_TRGCLS): New define.
6833 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6835         [BZ #20005]
6836         * libio/fmemopen.c (fmemopen_write): Update internal position after
6837         write.
6838         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6839         * stdio-common/tst-fmemopen4.c: New file..
6841 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6843         [BZ #19996]
6844         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6845         not [__USE_XOPEN2K].
6846         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6847         variable.
6849         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6850         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6851         variable.
6853         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6854         [__USE_XOPEN2K8].
6855         [__USE_LARGEFILE64] (off64_t): Likewise.
6856         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6857         variable.
6859 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6861         [BZ #19989]
6862         * libio/stdio.h (cuserid): Do not declare if
6863         [__USE_XOPEN2K && !__USE_GNU].
6864         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6865         variable.
6867 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6869         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6870         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6872         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6873         ifunc'ed strcspn.
6874         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6875         [EALIGN]: Removed.
6876         [END]: Likewise
6877         [STRSPN]: Define instead of the above to control symbol name.
6878         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6879         New file.
6880         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6881         Likewise.
6882         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6883         Likewise.
6884         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6885         Likewise.
6886         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6887         [INITIAL_MASK]: New macro.
6888         [STRCSPN]: Likewise.
6889         [UPDATE_MASK]: Likewise.
6890         [USE_AS_STRCSPN]: Lisewise.
6892 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6894         [BZ #19931]
6895         * stdio-common/tst-vfprintf-width-prec.c: New file.
6896         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6897         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6898         (generated): Add mtrace-related files.
6899         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6900         (tst-%-mem.out): New pattern rule, replaces
6901         tst-printf-bz18872-mem.out.
6902         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6903         specifier, deallocate any previously allocated work buffer.
6905 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6907         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6908         Add nop before __startcontext, add explaining comments.
6910 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6912         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6913         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6914         completely different API.
6916         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6917         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6918         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6919         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6920         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6921         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6922         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6923         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6924         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6925         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6927 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6929         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6931 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6933         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6934         when it is the default of 0.
6936 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6938         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6939         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6940         (sysdep_routines): Add new strcasestr targets.
6941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6942         (__libc_ifunc_impl_list): Likewise.
6943         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6944         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6945         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6946         * sysdeps/powerpc/powerpc64/power8/Makefile:
6947         New file to add strcasestr-ppc64 to sysdep_routines.
6948         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6949         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6951 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6953         * benchtests/Makefile (wcsmbs-benchset): Include only for
6954         native builds and runs.
6955         (LOCALES): Likewise.
6956         (bench-build): Build timing-type here instead of the bench
6957         target.  Generate locale only for native builds.
6958         * benchtests/README: Add note for cross-building.
6960         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6962         * benchtests/README: Update README to include instructions on
6963         using bench-build.
6965         * Makefile.in (bench-build): New target.
6966         * Rules (PHONY): Add bench-build target.
6967         * benchtests/Makefile (bench): Depend on bench-build.
6968         (bench-build): New target.
6970 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6972         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6973         profil_reply_port.
6974         (profile_waiter): Do not initialize profil_reply_port.
6975         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6976         frequency instead of tick length in us.
6978 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6980         [BZ #18712]
6981         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6982         (__old_mempcpy_small): Likewise.
6983         (__old_strcpy_small): Likewise.
6984         (__old_stpcpy_small): Likewise.
6985         (__old_strpbrk_c2): Fix compat symbol name.
6986         (__old_strpbrk_c3): Likewise.
6987         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6988         (__mempcpy_small): Remove.
6989         (__strcpy_small): Remove.
6990         (__stpcpy_small): Remove.
6992 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6994         [BZ #19400]
6995         * locale/iso-639.def: Add the Talossan/tzl language.
6997 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6999         [BZ #16983]
7000         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7001         comment.  Add "ln" to strchr check on postal_fmt.
7003 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7005         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7006         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7007         tel_dom_fmt.
7009 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7011         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7012         (sysdep_routines): Added __strlen_power8.
7013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7014         __strlen_power8 entry.
7015         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7016         Implementation for POWER8.
7017         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7018         for __strlen_power8.
7019         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7020         Implementation for POWER8.
7022 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7024         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7026 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7028         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7029         Goldmont and Airmont processors.
7031 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7033         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7034         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7035         (__STRING2_SMALL_GET32): Remove.
7036         (memset): Remove.
7037         (__memset_1): Remove.
7038         (__memset_gc): Remove.
7039         (__mempcpy): Remove.
7040         (mempcpy): Remove.
7041         (__mempcpy_args): Remove.
7042         (strchr): Remove.
7043         (strcpy): Remove.
7044         (strcpy_args): Remove.
7045         (__stpcpy_args): Remove.
7046         (__strcmp_cc): Remove.
7047         (__strcmp_gc): Remove.
7048         (strstr): Remove.
7050 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7052         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7053         * nis/nis_call.c (nis_server_cache_add): Likewise.
7055 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7057         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7059 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7061         * malloc/arena.c (__malloc_fork_lock_parent)
7062         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7063         internal_function attribute.
7065 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7067         * stdio-common/printf_fp.c (__printf_fp_l):
7068         Rename ___printf_fp_l to __printf_fp_l and
7069         remove strong alias. Use libc_hidden_def instead
7070         of ldbl_hidden_def macro.
7072 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7074         Remove malloc hooks from fork handler.  They are no longer needed
7075         because malloc runs right before fork, and no malloc calls from
7076         other fork handlers are not possible anymore.
7077         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7078         declarations.
7079         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7080         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7081         (atfork_recursive_cntr): Remove.
7082         (__malloc_fork_lock_parent): Do not override malloc hooks and
7083         thread_arena.
7084         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7085         thread_arena.
7086         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7087         thread_arena instead of save_arena.
7089 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7091         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7092         (thread_atfork, thread_atfork_static): Remove.
7093         * sysdeps/mach/hurd/malloc-machine.h:
7094         (thread_atfork, thread_atfork_static): Remove.
7096 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7098         [BZ #19431]
7099         Run the malloc fork handler as late as possible to avoid deadlocks.
7100         * malloc/malloc-internal.h: New file.
7101         * malloc/malloc.c: Include it.
7102         * malloc/arena.c (ATFORK_MEM): Remove.
7103         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7104         Update comment.
7105         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7106         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7107         Remove outdated comment.
7108         (ptmalloc_init): Do not call thread_atfork.  Remove
7109         thread_atfork_static.
7110         * malloc/tst-malloc-fork-deadlock.c: New file.
7111         * Makefile (tests): Add tst-malloc-fork-deadlock.
7112         (tst-malloc-fork-deadlock): Link against libpthread.
7113         * manual/memory.texi (Aligned Memory Blocks): Update safety
7114         annotation comments.
7115         * sysdeps/nptl/fork.c (__libc_fork): Call
7116         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7117         __malloc_fork_unlock_child.
7118         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7120 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7122         [BZ #19613]
7123         Remove union wait.
7124         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7125         (w_stopsig, w_stopval): Remove.
7126         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7127         stat_loc argument.
7128         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7129         (__WAIT_STATUS_DEFN): Remove.
7130         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7131         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7132         (wait, wait3, wait4): Use int * for the stat_loc argument.
7133         * posix/wait.c (__wait): Likewise.
7134         * posix/wait3.c (__wait3): Likewise.
7135         * posix/wait4.c (__wait4): Likewise.
7136         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7137         (__WAIT_STATUS_DEFN): Remove.
7138         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7139         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7140         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7141         argument.
7142         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7143         * sysdeps/posix/wait3.c (__wait3): Likewise.
7144         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7145         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7146         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7147         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7148         stat_loc argument.
7149         * manual/process.texi (BSD Wait Functions): Remove union wait.
7151 2016-04-13  Andreas Schwab  <schwab@suse.de>
7153         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7154         (test-extras): Add tst-tlsalign-vars.
7155         * math/Makefile: Wrap long lines.
7156         (libm-vec-test-wrappers): Define.
7157         (test-extras): Add $(libm-vec-test-wrappers).
7158         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7159         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7160         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7161         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7162         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7163         (extra-test-objs): Add corresponding objects.
7165 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7167         [BZ #19928]
7168         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7169         New.
7170         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7171         times of shared cache size.
7172         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7173         (VMOVNT): New.
7174         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7175         (VMOVNT): Likewise.
7176         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7177         (VMOVNT): Likewise.
7178         (VMOVU): Changed to movups for smaller code sizes.
7179         (VMOVA): Changed to movaps for smaller code sizes.
7180         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7181         comments.
7182         (PREFETCH): New.
7183         (PREFETCH_SIZE): Likewise.
7184         (PREFETCHED_LOAD_SIZE): Likewise.
7185         (PREFETCH_ONE_SET): Likewise.
7186         Rewrite to use forward and backward loops, which move 4 vector
7187         registers at a time, to support overlapping addresses and use
7188         non temporal store if size is above the threshold and there is
7189         no overlap between destination and source.
7191 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7193         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7194         Include dl-vdso.
7195         * sysdeps/unix/sysv/linux/mips/Versions: Add
7196         __vdso_clock_gettime.
7197         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7198         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7199         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7200         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7201         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7202         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7203         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7204         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7205         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7207 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7209         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7210         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7213         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7214         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7217         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7219         syscalls generation.
7220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7221         [__NR_pwrite64] (__NR_write): Remove define.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7223         [__NR_pwrite64] (__NR_write): Remove define.
7224         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7225         Remove define.
7226         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7227         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7228         Remove define.
7229         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7230         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7231         Linux implementation as base.
7232         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7234         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7235         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7236         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7237         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7240         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7242         syscall generation.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7244         [__NR_pread64] (__NR_pread): Remove define.
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7246         [__NR_pread64] (__NR_pread): Likewise.
7247         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7248         define.
7249         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7250         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7251         Remove define.
7252         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7253         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7254         Linux implementation as base.
7255         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7256         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7257         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7259         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7260         definition.
7261         (__ALIGNMENT_COUNT): Likewise.
7262         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7263         (__ALIGNMENT_COUNT): Likewise.
7264         (SYSCALL_LL): New define.
7265         (SYSCALL_LL64): Likewise.
7266         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7267         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7268         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7269         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7271         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7272         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7273         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7274         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7276         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7278 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7280         [BZ #19865]
7281         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7282         original buffer before retry.
7284 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7286         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7287         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7288         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7289         GLRO(dl_auxv) list.
7290         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7291         including <ldsodefs.h>.
7292         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7294 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7296         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7297         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7298         $(CPPFLAGS).
7300 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7302         [BZ #17950]
7303         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7304         Add -mfpmath=387.
7306 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7308         * sysdeps/i386/configure.ac: Change == to = when calling test.
7309         * sysdeps/x86_64/configure.ac: Likewise.
7310         * sysdeps/i386/configure: Regenerated.
7311         * sysdeps/x86_64/configure: Likewise.
7313 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7315         [BZ #16137]
7316         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7317         * benchtests/bench-strcoll.c (input_files): Likewise.
7318         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7319         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7320         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7322 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7324         [BZ #19929]
7325         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7326         [__USE_XOPEN2K8 && !__USE_GNU].
7327         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7328         variable.
7330         [BZ #19925]
7331         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7332         define if [!__USE_MISC && __USE_XOPEN2K].
7333         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7334         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7336         Likewise.
7337         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7338         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7339         variable.
7340         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7342 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7344         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7345         (sysdep_routines): Add new strspn targets.
7346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7347         (__libc_ifunc_impl_list): Add strspn.
7348         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7349         New file.
7350         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7351         Likewise.
7352         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7353         Likewise.
7354         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7355         Likewise.
7357 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7359         * misc/hsearch_r.c: Include <limits.h>.
7361 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7363         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7365 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7367         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7368         (MEMCPY_SYMBOL): New.
7369         (MEMPCPY_SYMBOL): Likewise.
7370         (MEMMOVE_CHK_SYMBOL): Likewise.
7371         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7372         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7373         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7374         Provide alias for memcpy in libc.a and ld.so.
7376 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7378         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7379         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7380         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7381         Disabled fro now.
7382         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7383         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7385 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7387         * benchtests/Makefile (string-benchset): Add memcpy-large,
7388         memmove-large and memset-large.
7389         * benchtests/bench-memcpy-large.c: New file.
7390         * benchtests/bench-memmove-large.c: Likewise.
7391         * benchtests/bench-memmove-large.c: Likewise.
7392         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7394 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7396         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7397         32-bit displacement to avoid long nop between instructions.
7399 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7401         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7402         a comment on VMOVU and VMOVA.
7404 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7406         [BZ #19633]
7407         Use specified locale for number formatting in strfmon_l.
7408         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7409         (__nl_lookup_word): New inline functions.
7410         * include/printf.h (__print_fp_l): Declare.
7411         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7412         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7413         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7414         (___printf_fp): New function.
7415         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7416         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7417         * stdlib/tst-strfmon_l.c (do_test): New test.
7418         * stdlib/Makefile (tests): Add kt.
7419         (LOCALES): Build additional locales.
7420         (tst-strfmon_l.out): Require locales.
7422 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7424         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7425         if not in libc.
7426         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7427         Likewise.
7428         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7429         Likewise.
7430         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7431         Likewise.
7433 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7435         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7436         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7437         with unaligned_erms.
7438         (__memmove_erms): Skip if source == destination.
7439         (__memmove_unaligned_erms): Don't check source == destination
7440         first.
7442 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7444         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7445         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7447 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7449         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7450         * string/strspn.c (strspn): Likewise.
7452 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7454         * benchtests/bench-memset.c (do_test): Support 64-byte
7455         alignment.
7456         (test_main): Test 64-byte alignment.
7458 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7460         * benchtests/bench-memmove.c (test_main): Test 64-byte
7461         alignment.
7463 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7465         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7467 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7469         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7470         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7471         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7473         * string/strpbrk.c (strpbrk): Rewrite function.
7474         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7475         (__strpbrk_c2): Likewise.
7476         (__strpbrk_c3): Likewise.
7477         * string/string-inlines.c
7478         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7479         Likewise.
7480         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7481         Likewise.
7483         * string/strspn.c (strcspn): Rewrite function.
7484         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7485         (__strspn_c1): Remove inline function.
7486         (__strspn_c2): Likewise.
7487         (__strspn_c3): Likewise.
7488         * string/string-inlines.c
7489         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7490         compatibility symbol.
7491         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7492         Likewise.
7493         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7494         Likewise.
7495         * string/string-inlines.c: Include generic version.
7497 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7498             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7500         * string/Version (libc): Add GLIBC_2.24.
7501         * string/strcspn.c (strcspn): Rewrite function.
7502         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7503         (__strcspn_c1): Remove inline function.
7504         (__strcspn_c2): Likewise.
7505         (__strcspn_c3): Likewise.
7506         * string/string-inline.c
7507         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7508         compatibility symbol.
7509         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7510         Likewise.
7511         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7512         Likewise.
7513         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7515 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7517         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7518         Use ahi instead of aghi to adjust stack pointer.
7520 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7522         [BZ #19853]
7523         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7524         TEST to take significant digits as second parameter.
7525         [TEST]: Redefine in terms of TEST_N taking 30
7526         significant digits.
7527         (do_test): Add test case to demonstrate precision
7528         failure in the ldbl-128ibm printf.
7529         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7530         (__mpn_extract_long_double): Carry 7 extra intermediate
7531         bits of precision to aide computing difference when
7532         signs differ.
7534 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7536         [BZ #19881]
7537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7538         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7539         memset-avx512-unaligned-erms.
7540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7541         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7542         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7543         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7544         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7545         __memset_sse2_unaligned_erms, __memset_erms,
7546         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7547         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7548         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7549         file.
7550         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7551         Likewise.
7552         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7553         Likewise.
7554         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7555         Likewise.
7557 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7559         [BZ #19776]
7560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7561         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7562         memmove-avx512-unaligned-erms.
7563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7564         (__libc_ifunc_impl_list): Test
7565         __memmove_chk_avx512_unaligned_2,
7566         __memmove_chk_avx512_unaligned_erms,
7567         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7568         __memmove_chk_sse2_unaligned_2,
7569         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7570         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7571         __memmove_avx512_unaligned_erms, __memmove_erms,
7572         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7573         __memcpy_chk_avx512_unaligned_2,
7574         __memcpy_chk_avx512_unaligned_erms,
7575         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7576         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7577         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7578         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7579         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7580         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7581         __mempcpy_chk_avx512_unaligned_erms,
7582         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7583         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7584         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7585         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7586         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7587         __mempcpy_erms.
7588         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7589         file.
7590         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7591         Likwise.
7592         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7593         Likwise.
7594         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7595         Likwise.
7597 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7599         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7600         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7601         (La_s390_64_regs): Likewise.
7602         (La_s390_32_retval): Append vector register lrv_v24.
7603         (La_s390_64_retval): Likeweise.
7604         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7605         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7606         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7607         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7609 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7611         [BZ #19916]
7612         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7613         to create a non-vector/vector version for _dl_runtime_resolve and
7614         _dl_runtime_profile. Move implementation to ...
7615         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7616         (_dl_runtime_resolve) Save and restore fpr/vrs.
7617         (_dl_runtime_profile) Save and restore vrs and fix some issues
7618         if _dl_call_pltexit is called.
7619         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7620         Choose the correct resolver function if running on a machine with vx.
7621         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7622         to create a non-vector/vector version for _dl_runtime_resolve and
7623         _dl_runtime_profile. Move implementation to ...
7624         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7625         (_dl_runtime_resolve) Save and restore fpr/vrs.
7626         (_dl_runtime_profile) Save and restore vrs and fix some issues
7627         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7628         Choose the correct resolver function if running on a machine with vx.
7630 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7632         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7634 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7636         [BZ #19509]
7637         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7638         skip_map != NULL.
7639         * elf/tst-dlsym-error.c: New file.
7640         * elf/Makefile (tests): Add tst-dlsym-error.
7641         (tst-dlsym-error): Link against libdl.
7643 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7646         (__ASSUME_FUTIMESAT): Remove macro.
7647         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7649 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7651         [BZ #19879]
7652         CVE-2016-3075
7653         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7654         copy name.
7656 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7658         [BZ #19837]
7659         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7660         error if parse_line fails.
7662 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7664         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7665         (index_cpu_ERMS): Likewise.
7666         (reg_ERMS): Likewise.
7668 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7670         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7671         PER_LINUX_FDPIC): Add.
7673 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7676         memcpy-avx512-no-vzeroupper.
7677         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7678         to ...
7679         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7680         (MEMCPY): Don't define.
7681         (MEMCPY_CHK): Likewise.
7682         (MEMPCPY): Likewise.
7683         (MEMPCPY_CHK): Likewise.
7684         (MEMPCPY_CHK): Renamed to ...
7685         (__mempcpy_chk_avx512_no_vzeroupper): This.
7686         (MEMPCPY_CHK): Renamed to ...
7687         (__mempcpy_chk_avx512_no_vzeroupper): This.
7688         (MEMCPY_CHK): Renamed to ...
7689         (__memmove_chk_avx512_no_vzeroupper): This.
7690         (MEMCPY): Renamed to ...
7691         (__memmove_avx512_no_vzeroupper): This.
7692         (__memcpy_avx512_no_vzeroupper): New alias.
7693         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7695 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7697         [BZ #18858]
7698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7699         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7700         and mempcpy-avx512-no-vzeroupper.
7701         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7702         New.
7703         (MEMPCPY): Likewise.
7704         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7705         (MEMPCPY_CHK): New.
7706         (MEMPCPY): Likewise.
7707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7708         (MEMPCPY): Likewise.
7709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7710         (MEMPCPY): Likewise.
7711         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7712         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7713         Likewise.
7714         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7715         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7717 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7718              Amit Pawar  <Amit.Pawar@amd.com>
7720         [BZ #19583]
7721         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7722         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7723         processors.  Set Fast_Copy_Backward for AMD Excavator
7724         processors.
7725         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7726         New.
7727         (index_arch_Fast_Unaligned_Copy): Likewise.
7728         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7729         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7731 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7733         [BZ #19791]
7734         * resolv/res_send.c (close_and_return_error): New function.
7735         (send_dg): Initialize *resplen2 after reopen failure.  Call
7736         close_and_return_error for error returns.  On error paths without
7737         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7738         successful return.
7740 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7742         [BZ# 19860]
7743         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7744         zero if the compiler does not provide the AVX512F bit.
7746 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7748         [BZ #19848]
7749         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7750         from 8 to 4.
7751         (__ieee754_powl): Compare integer exponent against 4 not 8.
7752         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7753         from 8 to 4.
7754         (__ieee754_powl): Compare integer exponent against 4 not 8.
7755         * math/auto-libm-test-in: Add more tests of pow.
7756         * math/auto-libm-test-out: Regenerated.
7757         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7762         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7763         Make code unconditional.
7764         [!__NR_utimensat]: Remove conditional code.
7765         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7766         Make code unconditional.
7767         [!__NR_utimensat]: Remove conditional code.
7768         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7769         Make code unconditional.
7770         [!__NR_utimensat]: Remove conditional code.
7772 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7774         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7775         Make code unconditional.
7777 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7779         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7780         call-clobbered %eax on retry path.
7781         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7783 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7785         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7786         Don't set %rcx twice before "rep movsb".
7788 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7790         [BZ #19583]
7791         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7792         inline.  Check family before setting family, model and
7793         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7794         bits here.
7795         (init_cpu_features): Replace HAS_CPU_FEATURE and
7796         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7797         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7798         for Intel processors with usable AVX2.  Call get_common_indeces
7799         for other processors with family == NULL.
7800         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7801         (CPU_FEATURES_ARCH_P): Likewise.
7802         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7803         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7805 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7807         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7808         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7809         $(shared-thread-library) instead of hardcoding the path to libpthread.
7811 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7813         * sysdeps/unix/sysv/linux/kernel-features.h
7814         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7815         * sysdeps/unix/sysv/linux/getdents.c
7816         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7817         [!have_no_getdents64_defined]: Likewise.
7818         (__GETDENTS): Remove __have_no_getdents64 conditional.
7820 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7822         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7823         Remove macro.
7824         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7825         <kernel-features.h>.
7826         (signalfd) [__NR_signalfd4]: Make code unconditional.
7827         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7829 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7831         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7832         style.
7834 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7836         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7837         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7838         __pthread_unwind.
7839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7840         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7842         (__condvar_cleanup1): Likewise.
7844 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7846         [BZ #19822]
7847         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7848         move it to the final $@ location.
7850 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7852         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7853         access where posix_spawn success and pid argument is null.
7854         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7855         success case.
7857 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7859         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7861         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7863         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7864         and __fcntl.
7865         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7866         __fcntl only.
7867         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7868         adding attribute_hidden to __open and __fcntl.
7870         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7871         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7872         depend on libc-modules.h,
7873         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7875 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7878         Remove macro.
7879         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7880         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7881         entry.
7883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7884         Remove macro.
7885         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7886         include <kernel-features.h>.
7887         [!__ASSUME_FALLOCATE]: Remove conditional code.
7888         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7890 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7893         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7894         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7895         (_ZGVdN4v_cos_avx2): Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7897         (_ZGVdN4v_cos): Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7899         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7901         (_ZGVdN4v_exp_avx2): Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7903         (_ZGVdN4v_exp): Likewise.
7904         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7905         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7906         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7907         (_ZGVdN4v_log_avx2): Likewise.
7908         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7909         (_ZGVdN4v_log): Likewise.
7910         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7911         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7912         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7913         (_ZGVdN4vv_pow_avx2): Likewise.
7914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7915         (_ZGVdN4vv_pow): Likewise.
7916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7917         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7919         (_ZGVdN4v_sin_avx2): Likewise.
7920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7921         (_ZGVdN4v_sin): Likewise.
7922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7923         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7925         (_ZGVdN4vvv_sincos_avx2): Likewise.
7926         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7927         (_ZGVdN4vvv_sincos): Likewise.
7928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7929         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7931         (_ZGVbN4v_cosf_sse4): Likewise.
7932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7933         (_ZGVdN8v_cosf_avx2): Likewise.
7934         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7935         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7936         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7937         (_ZGVbN4v_expf_sse4): Likewise.
7938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7939         (_ZGVdN8v_expf_avx2): Likewise.
7940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7941         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7942         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7943         (_ZGVbN4v_logf_sse4): Likewise.
7944         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7945         (_ZGVdN8v_logf_avx2): Likewise.
7946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7947         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7948         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7949         (_ZGVbN4vv_powf_sse4): Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7951         (_ZGVdN8vv_powf_avx2): Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7953         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7954         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7955         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7957         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7959         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7960         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7961         (_ZGVbN4v_sinf_sse4): Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7963         (_ZGVdN8v_sinf_avx2): Likewise.
7964         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7965         Use JUMPTARGET to call callee.
7966         (WRAPPER_IMPL_SSE2_ff): Likewise.
7967         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7968         (WRAPPER_IMPL_AVX): Likewise.
7969         (WRAPPER_IMPL_AVX_ff): Likewise.
7970         (WRAPPER_IMPL_AVX_fFF): Likewise.
7971         (WRAPPER_IMPL_AVX512): Likewise.
7972         (WRAPPER_IMPL_AVX512_ff): Likewise.
7973         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7974         Likewise.
7975         (WRAPPER_IMPL_SSE2_ff): Likewise.
7976         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7977         (WRAPPER_IMPL_AVX): Likewise.
7978         (WRAPPER_IMPL_AVX_ff): Likewise.
7979         (WRAPPER_IMPL_AVX_fFF): Likewise.
7980         (WRAPPER_IMPL_AVX512): Likewise.
7981         (WRAPPER_IMPL_AVX512_ff): Likewise.
7982         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7984 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7986         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7987         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7988         qualifier.
7989         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7990         internal_function qualifiers.
7992 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7994         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7995         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7996         * math/atest-exp.c (exp_mpn): Mark chk unused.
7997         * math/atest-exp2.c (exp_mpn): Likwise.
7998         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7999         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8001 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8003         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8004         Remove macro.
8005         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8006         <kernel-features.h>.
8007         [__NR_ppoll]: Make code unconditional.
8008         [!__ASSUME_PPOLL]: Remove conditional code.
8010         * sysdeps/unix/sysv/linux/kernel-features.h
8011         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8012         (__ASSUME_ACCEPT4): Likewise.
8013         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8014         Define.
8015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8016         Likewise.
8017         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8018         Likewise.
8019         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8020         Likewise.
8021         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8022         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8024         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8025         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8026         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8028         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8029         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8031         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8032         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8033         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8035         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8037         Likewise.
8038         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8039         Likewise.
8040         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8041         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8042         0x040300].
8043         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8044         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8045         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8046         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8047         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8048         0x030300].
8049         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8050         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8051         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8052         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8053         0x040300].
8054         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8056         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8057         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8058         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8059         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8060         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8061         0x030300].
8062         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8063         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8065         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8066         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8067         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8068         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8069         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8070         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8071         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8072         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8073         0x040300].
8074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8076         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8077         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8078         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8079         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8080         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8081         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8084         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8085         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8086         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8088         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8089         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8091         Likewise.
8092         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8093         Likewise.
8095 2016-03-15  Andreas Schwab  <schwab@suse.de>
8097         [BZ #19257]
8098         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8099         statp->_u._ext.nscount as loop count.
8101 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8103         * math/test-signgam-finite-c99.c: Also #undef
8104         __LIBC_INTERNAL_MATH_INLINES.
8105         * math/test-signgam-main.c: Likewise.
8107 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8109         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8110         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8111         (MADV_FREE): Likewise.
8112         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8113         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8114         EPOLLEXCLUSIVE.
8116 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8118         * timezone/README: Remove mention of checktab.awk. Mention wiki
8119         SharedSourceFiles.
8121 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8123         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8124         WUNTRACED.
8126 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8128         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8129         order to match the type of p when calling atomic_exchange_acq().
8131 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8133         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8134         cfi_offset calls.
8135         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8136         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8137         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8138         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8139         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8141 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8143         * timezone/checktab.awk: Removed.
8145 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8147         * manual/math.texi (Errors in Math Functions): Document relaxed
8148         accuracy goals for IBM long double.
8149         * math/libm-test.inc (test_exceptions): Always allow spurious
8150         "underflow" and "inexact" exceptions for IBM long double.
8152 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8154         [BZ #19762]
8155         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8156         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8157         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8158         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8159         (bit_arch_*): This for feature array.
8160         (bit_*): Renamed to ...
8161         (bit_cpu_*): This for cpu array.
8162         (index_*): Renamed to ...
8163         (index_arch_*): This for feature array.
8164         (index_*): Renamed to ...
8165         (index_cpu_*): This for cpu array.
8166         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8167         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8168         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8169         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8170         bit_##name with index_cpu_##name and bit_cpu_##name.
8171         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8172         bit_##name with index_arch_##name and bit_arch_##name.
8174 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8176         [BZ #19792]
8177         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8178         Terminate FDE before return label.
8180 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8182         [BZ #19790]
8183         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8184         (rintl): Define as macro.
8185         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8186         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8187         of fesetround.  Ensure results are evaluated before end of scope.
8188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8189         USE_AS_NEARBYINTL and include s_rintl.c.
8190         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8191         Disable exception traps in new environment.
8192         (libc_feholdsetround_ppc_ctx): Likewise.
8194 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8196         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8197         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8198         (tst_audit10_aux) [__AVX512F__]: ... here.
8200 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8202         * include/sys/auxv.h: New file.
8204 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8206         [BZ #19759]
8207         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8209 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8211         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8212         operand modifier.
8213         (feclearexcept): Likewise.
8215 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8217         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8218         to reflect the entire 32-bit HWCAP.
8219         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8220         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8222 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8224         [BZ #19783]
8225         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8226         $(test-via-rtld-prefix).
8227         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8229 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8231         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8232         union wait.  Report any non-zero exit status as error.
8234 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8236         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8237         configured with --enable-hardcoded-path-in-tests.
8239 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #19677]
8242         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8243         (__ieee754_remainderl): Put zero low parts in canonical form.
8244         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8245         file.  Based on
8246         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8247         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8248         with wrapper round test-fmodrem-ldbl-128ibm.c.
8249         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8250         file.
8251         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8252         Likewise.
8253         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8254         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8256 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8258         [BZ #19610]
8259         * elf/ldconfig.c (opt_link): Update comment.
8260         (options): Update help string for option -X.
8261         (search_dir): Unlink stale symbolic link only if updating symbolic
8262         links.
8263         * elf/tst-ldconfig-X.sh: New file.
8264         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8265         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8267 2016-03-07  Andreas Schwab  <schwab@suse.de>
8269         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8270         needed arguments.
8272 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8274         [BZ #15333]
8275         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8276         to lstat64.
8278 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8280         * libio/filedoalloc.c (isatty): Remove.
8281         (local_isatty): Add comment.  Call __isatty directly.
8282         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8283         * libio/wfiledoalloc.c (isatty): Remove.
8284         (_IO_wfile_doallocate): Update comment.
8286 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8288         [BZ #19269]
8289         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8290         tst-audit4-aux.o.
8291         (tst-audit10): Depend on tst-audit10-aux.o.
8292         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8293         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8294         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8295         instead of inline AVX code.
8296         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8297         instead of inline AVX512 code.
8298         * sysdeps/x86_64/tst-audit4-aux.c: New file
8299         * sysdeps/x86_64/tst-audit10-aux.c: New file
8301         [BZ #19648]
8302         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8304 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8306         [BZ #14750]
8307         [BZ #10354]
8308         [BZ #18433]
8309         * include/sched.h (__clone): Add hidden prototype.
8310         (__clone2): Likewise.
8311         * include/unistd.h (__dup): Likewise.
8312         * posix/Makefile (tests): Add tst-spawn2.
8313         * posix/tst-spawn2.c: New file.
8314         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8315         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8316         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8317         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8318         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8319         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8320         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8321         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8322         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8323         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8324         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8326         Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8330         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8331         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8332         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8333         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8334         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8335         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8336         * sysdeps/unix/sysv/linux/nptl-signals.h
8337         (____nptl_is_internal_signal): New function.
8338         * sysdeps/unix/sysv/linux/spawni.c: New file.
8340         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8341         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8342         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8343         * posix/tst-execvp2.c (do_test): Likewise.
8344         * posix/tst-execvp3.c (do_test): Likewise.
8345         * posix/tst-execvp4.c (do_test): Likewise.
8346         * posix/tst-execvpe1.c: New file.
8347         * posix/tst-execvpe2.c: Likewise.
8348         * posix/tst-execvpe3.c: Likewise.
8349         * posix/tst-execvpe4.c: Likewise.
8350         * posix/tst-execvpe5.c: Likewise.
8351         * posix/tst-execvpe6.c: Likewise.
8353         [BZ #19534]
8354         * posix/execl.c (execl): Remove dynamic memory allocation.
8355         * posix/execle.c (execle): Likewise.
8356         * posix/execlp.c (execlp): Likewise.
8358 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8360         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8361         Replace .text with .text.avx512.
8362         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8363         Likewise.
8365 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8367         * sysdeps/generic/libnsl.abilist: New file.
8368         * sysdeps/generic/libutil.abilist: New file.
8370 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8372         [BZ #19762]
8373         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8374         HAS_ARCH_FEATURE with Fast_Rep_String.
8375         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8376         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8377         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8378         Likewise.
8379         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8380         Likewise.
8381         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8382         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8383         Likewise.
8384         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8385         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8386         Likewise.
8388 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8390         [BZ #19745]
8391         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8392         with *%rax in call.
8394 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8396         [BZ #19745]
8397         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8398         with *__libc_start_main@GOTPCREL(%rip) in call.
8400 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8402         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8403         inside conditional for nonempty $(CXX).
8405         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8406         nonempty.
8408         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8409         to test for empty $(CXX) rather than $(CXX) of "no".
8411 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8413         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8415 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8416             H.J. Lu  <hongjiu.lu@intel.com>
8418         [BZ #18880]
8419         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8420         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8421         enable __memcpy_ssse3_back.
8423 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8425         [BZ #19758]
8426         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8427         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8429 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8431         [BZ #19490]
8432         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8433         (__fentry__): Likewise.
8435 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8437         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8438         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8440 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8442         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8443         __mcount_internal directly.
8444         (C_LABEL(__fentry__)): Likewise.
8445         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8446         directly.
8448 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8450         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8451         (__start_context): Call __setcontext directly.
8453 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8455         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8456         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8457         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8458         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8460         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8461         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8462         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8463         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8464         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8465         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8466         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8468         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8469         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8471         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8472         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8473         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8474         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8475         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8476         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8477         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8478         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8479         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8480         Remove conditional code.
8481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8482         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8483         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8484         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8485         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8486         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8487         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8488         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8489         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8490         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8492         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8494 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8496         * NEWS (2.23): Fix typo in bug 19048 text.
8498 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8500         [BZ #14259]
8501         * Makeconfig: Rename msgcatdir to localedir.
8502         Rename inst_msgcatdir to inst_localedir.
8503         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8504         * config.make.in: Add localedir.
8505         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8506         (ldd-rewrite): Likewise.
8507         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8508         (install-others): Use inst_localedir.
8509         (CPPFLAGS): Use localedir.
8510         * locale/Makefile (locale-CPPFLAGS): Likewise.
8511         * po/Makefile (mo-installed): Use inst_localedir.
8513         [BZ #19575]
8514         * localedata/charmaps/GB18030: Update comments regarding PAU to
8515         non-PUA mappings.
8517 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8519         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8520         test for header.
8521         * sysdeps/unix/sysv/linux/configure: Regenerated.
8522         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8523         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8524         Remove conditional code.
8525         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8527         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8528         Define to 3.2.0.
8529         (arch_minimum_kernel): Likewise.
8530         * sysdeps/unix/sysv/linux/configure: Regenerated.
8531         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8532         Define to 2.6.32.
8533         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8534         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8535         (arch_minimum_kernel): Define to 2.6.32.
8536         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8537         * README: Document Linux 3.2 requirement.
8538         * manual/install.texi (Linux): Document Linux 3.2 headers
8539         requirement.
8540         * INSTALL: Regenerated.
8542 2016-02-24  Andreas Schwab  <schwab@suse.de>
8544         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8545         if !NO_LONG_DOUBLE.
8547 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8549         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8550         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8552 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8554         [BZ #19512]
8555         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8557 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8559         * posix/tst-dir.c: Include libc-internal.h.
8561 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8563         [BZ #19056]
8564         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8565         * manual/filesys.texi (Reading/Closing Directory): Mention
8566         deprecaion.
8567         * posix/tst-dir.c (main): Disable deprecation warning in test.
8569 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8571         [BZ #19679]
8572         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8573         Renamed to ...
8574         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8575         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8576         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8577         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8578         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8579         * sysdeps/x86_64/dl-trampoline.h
8580         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8581         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8583 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8585         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8587 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8589         * elf/elf.h (R_386_GOT32X): New.
8590         (R_386_NUM): Update.
8591         (R_X86_64_GOTPCRELX: New.
8592         (R_X86_64_REX_GOTPCRELX): New.
8593         (R_X86_64_NUM): Update.
8595 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8597         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8599 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8601         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8602         assign attr->stackaddr to it, and adjust it down when
8603         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8604         [_STACK_GROWS_UP]: Delete assert.
8605         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8606         Implement stack grows up logic.
8607         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8608         stack grows up logic.
8610 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8612         * NEWS: Update with 2.24 template.
8614 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #19678]
8617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8618         Ensure +0.0 is returned when taking the next value below the least
8619         positive value.
8621 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8623         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8624         available.  Do not define NO_THREADS.
8625         * malloc/malloc.c: Do not check NO_THREADS.
8626         * malloc/arena.c: Likewise.
8628 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8630         * malloc/malloc.c (__libc_mallinfo): Update comment.
8631         (struct malloc_par): Remove max_total_mem member, it was always 0.
8632         (int_mallinfo): Store 0 into usmblks (no functional change).
8633         * malloc/hooks.c (struct malloc_state): Document that
8634         max_total_mem is always 0.
8635         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8636         always 0.
8637         * manual/memory.texi (Statistics of Malloc): Likewise.
8639 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8641         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8642         * malloc/arena.c (arena_max): Remove.
8643         (heap_trim, _int_new_arena): Do not update arena_max.
8645 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8647         * resolv/res_init.c (res_ninit): Update comment.
8649 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8651         [BZ #19505]
8652         * posix/spawn_int.h: Add headers and include guard.
8653         (__spawn_valid_fd): New function.
8654         * posix/spawn_faction_addopen.c
8655         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8656         * posix/spawn_faction_addclose.c
8657         (posix_spawn_file_actions_addclose): Likewise.
8658         * posix/spawn_faction_adddup2.c
8659         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8660         second file descriptor.
8661         * posix/spawn_valid_fd.c: New file.
8662         * posix/tst-posix_spawn-fd.c: New file.
8663         * posix/Makefile (routines): Add spawn_valid_fd.
8664         (tests): Add tst-posix_spawn-fd.
8666 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8668         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8669         (do_test): Limit the number of arenas, so that we can use fewer
8670         outer threads.  Limit timeout to 3 seconds, in preparation for a
8671         larger TIMEOUT value.
8673 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8675         [BZ #19674]
8676         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8677         sign in overflowing and underflowing results when overflow or
8678         underflow is detected early.  Include sign in result before rather
8679         than after scaling.
8681         [BZ #19603]
8682         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8683         (__ieee754_remainderl): Adjust sign of integer version of low part
8684         when taking absolute value of high part.
8685         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8686         * math/libm-test.inc (remainder_test_data): Add another test.
8687         (remquo_test_data): Likewise.
8689 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8691         [BZ #19602]
8692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8693         equal high parts and both low parts zero specially.
8694         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8695         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8696         Add test-fmodl-ldbl-128ibm.
8698         [BZ #19595]
8699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8700         common logic for all cases of shifting subnormal results.  Do not
8701         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8702         exponent to ldbl_insert_mantissa in subnormal case.
8704         [BZ #19594]
8705         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8706         on high and low parts then adjust result and use
8707         ldbl_canonicalize_int if needed.
8709         [BZ #19593]
8710         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8711         on high part and __floor or __ceil on low part then use
8712         ldbl_canonicalize_int if needed.
8714         [BZ #19592]
8715         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8716         high and low parts then use ldbl_canonicalize_int if needed.
8718         [BZ #17899]
8719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8720         New function.
8721         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8722         on high and low parts then use ldbl_canonicalize_int if needed.
8724 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8726         * configure: Regenerated.
8728         * po/libc.pot: Regenerated.
8730         * po/be.po: Updated translation.
8731         * po/bg.po: Likewise.
8732         * po/ca.po: Likewise.
8733         * po/cs.po: Likewise.
8734         * po/da.po: Likewise.
8735         * po/el.po: Likewise.
8736         * po/eo.po: Likewise.
8737         * po/es.po: Likewise.
8738         * po/fi.po: Likewise.
8739         * po/fr.po: Likewise.
8740         * po/gl.po: Likewise.
8741         * po/hr.po: Likewise.
8742         * po/hu.po: Likewise.
8743         * po/ia.po: Likewise.
8744         * po/id.po: Likewise.
8745         * po/it.po: Likewise.
8746         * po/ja.po: Likewise.
8747         * po/lt.po: Likewise.
8748         * po/nb.po: Likewise.
8749         * po/nl.po: Likewise.
8750         * po/pt_BR.po: Likewise.
8751         * po/rw.po: Likewise.
8752         * po/sk.po: Likewise.
8753         * po/sl.po: Likewise.
8754         * po/sv.po: Likewise.
8755         * po/tr.po: Likewise.
8756         * po/zh_CN.po: Likewise.
8757         * po/zh_TW.po: Likewise.
8759         * version.h (RELEAES): Set to "development".
8760         (VERSION): Set to 2.23.90.
8762         * version.h (RELEASE): Set to "stable".
8763         (VERSION): Set to 2.23.
8764         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8766         * NEWS: Updated fixed bugs.
8768 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8769             Wilco Dijkstra  <wdijkstr@arm.com>
8771         [BZ #19462]
8772         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8773         (_STRING_INLINE_unaligned): This.
8774         * include/string.h: Include <string_private.h>.
8775         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8776         _STRING_INLINE_unaligned.
8777         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8778         (_STRING_INLINE_unaligned): New.
8779         * sysdeps/aarch64/string_private.h: New file.
8780         * sysdeps/generic/string_private.h: Likewise.
8781         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8782         * sysdeps/s390/string_private.h: Likewise.
8783         * sysdeps/x86/string_private.h: Likewise.
8784         * sysdeps/m68k/m680x0/m68020/bits/string.h
8785         (_STRING_ARCH_unaligned): Renamed to ...
8786         (_STRING_INLINE_unaligned): This.
8787         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8788         to ...
8789         (_STRING_INLINE_unaligned): This.
8790         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8791         to ...
8792         (_STRING_INLINE_unaligned): This.
8793         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8794         to ...
8795         (_STRING_INLINE_unaligned): This.
8797 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8798             H.J. Lu  <hongjiu.lu@intel.com>
8800         [BZ #19590]
8801         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8802         relocation.
8804 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8806         [BZ #18665]
8807         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8808         *herrno_p.
8809         (gaih_getanswer): Document functional behviour. Return tryagain
8810         if any result is tryagain.
8811         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8812         when freed.
8813         * resolv/res_send.c: Add copyright text.
8814         (__libc_res_nsend): Document that MAXPACKET is expected.
8815         (send_vc): Document. Remove buffer reuse.
8816         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8817         size of the buffer. Add Dprint for truncated UDP buffer.
8819 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8821         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8822         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8823         * INSTALL: Regenerate.
8825 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8826             Jonathan Wakely  <jwakely@redhat.com>
8827             Carlos O'Donell  <carlos@redhat.com>
8829         [BZ 19439]
8830         * math/Makefile (tests): Add test-math-isinff.
8831         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8832         * math/bits/mathcalls.h [__USE_MISC]: Use
8833         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8834         functions not in C++11 and which don't conflict e.g. isinff,
8835         isinfl etc.
8836         * math/test-math-isinff.cc: New file.
8838 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8840         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8842 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8844         [BZ #19529]
8845         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8847 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8849         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8851 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8853         [BZ #19550]
8854         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8855         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8856         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8857         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8858         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8859         New syscall entry.
8860         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8861         New syscall entry.
8862         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8863         syscall entry.
8865 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8867         [BZ #18240]
8868         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8869         unsigned int wraparound.
8871 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8873         [BZ #18240]
8874         * misc/bug18240.c: New test.
8875         * misc/Makefile (tests): Add it.
8877 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8878             Joseph Myers  <joseph@codesourcery.com>
8880         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8881         load in branch delay slot when less than a word of input left.
8883 2016-01-27  Andreas Schwab  <schwab@suse.de>
8885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8886         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8887         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8888         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8890 2016-01-26  David S. Miller  <davem@davemloft.net>
8892         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8894 2016-01-25  David S. Miller  <davem@davemloft.net>
8896         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8897         __sqrtl_finite.
8898         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8899         instead using versioned_symbol.
8900         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8901         of entries.
8903         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8904         __sqrtl_finite to GLIBC_2.23
8906 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8908         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8910 2016-01-25  Andreas Schwab  <schwab@suse.de>
8912         [BZ #17514]
8913         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8914         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8915         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8916         * nptl/tst-mutex-errorcheck.c: New file.
8918 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8920         [BZ #18560]
8921         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8922         (IPCOP_semop): Likewise.
8923         (IPCOP_semget): Likewise.
8924         (IPCOP_semctl): Likewise.
8925         (IPCOP_msgsnd): Likewise.
8926         (IPCOP_msgrcv): Likewise.
8927         (IPCOP_msgget): Likewise.
8928         (IPCOP_msgctl): Likewise.
8929         (IPCOP_shmat): Likewise.
8930         (IPCOP_shmdt): Likewise.
8931         (IPCOP_shmget): Likewise.
8932         (IPCOP_shmctl): Likewise.
8934 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8936         * string/tst-endian.c: Include <libc-internal.h>.
8937         (do_test): Ignore tautological-compare warnings around
8938         "htobeXX (beXXtoh (i)) != i" and
8939         "htoleXX (leXXtoh (i)) != i" if-statements.
8941 2016-01-24  David S. Miller  <davem@davemloft.net>
8943         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8944         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8945         alias.
8946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8947         __sqrtl_finite.
8949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8951 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8953         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8954         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8955         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8957 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8959         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8960         (thread_func): Use new function to simplify barrier check.
8961         (do_test): Use new function to simplify checking barrier exit
8962         code, and actually join the child thread.
8964 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8966         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8967         semicolon.
8968         (__libc_tend): Likewise.
8969         (__libc_tabort): Likewise.
8971 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8973         * sysdeps/nios2/libm-test-ulps: Update.
8974         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8975         (__gtsf2): Likewise.
8976         (__unorddf2): Likewise.
8977         (__unordsf2): Likewise.
8978         (__ledf2): Likewise.
8980 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8982         * nis/nis_table.c (__follow_path): Disable diagnostic for
8983         uninitialized variable that is a false positive for gcc 4.7.
8984         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8986 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8988         * sysdeps/nacl/lowlevellock-futex.h
8989         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8990         Always evaluate PRIVATE argument.
8992 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8994         [BZ #19490]
8995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8996         (pthread_cond_broadcast): Use ENTRY/END
8997         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8998         (pthread_cond_signal): Likewise.
8999         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9000         Likewise.
9001         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9002         Likewise.
9003         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9004         Likewise.
9006 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9008         * sysdeps/ieee754/dbl-64/s_finite.c
9009         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9010         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9011         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9012         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9013         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9016         (__gtsf2): Add as optional for libc.so.
9017         (__unordsf2): Likewise.
9018         (__signbit): Remove for libc.so.
9019         (__signbitl): Likewise.
9021 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9023         * iconvdata/bug-iconv11.c (test_ibm93x):
9024         Use %zu printf format specifier for size_t argument.
9026 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9028         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9029         already-recorded ulps.
9030         * sysdeps/arm/libm-test-ulps: Regenerated.
9031         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9032         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9033         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9035 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9036             Paul Pluzhnikov  <ppluzhnikov@google.com>
9038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9039         assembler not supporting AVX-512.
9041 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9043         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9045 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9047         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9048         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9050         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9052         * sysdeps/arm/libm-test-ulps: Regenerated.
9054 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9056         [BZ #19451]
9057         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9059 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9061         [BZ #19486]
9062         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9063         * sysdeps/generic/fix-fp-int-convert-overflow.h
9064         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9065         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9066         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9067         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9068         Likewise.
9069         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9070         Avoid conversions to long int where inexact exceptions
9071         could be raised.
9072         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9073         Likewise.
9074         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9075         Avoid conversions to long long int where inexact exceptions
9076         could be raised.
9077         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9078         Likewise.
9080 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9082         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9083         * configure: Regenerated.
9085 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9087         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9089 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9091         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9092         outside of comment.
9094 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9096         * nptl/tst-barrier1.c: Add description on first line.
9097         * nptl/tst-barrier2.c: Likewise.
9098         * nptl/tst-barrier3.c: Likewise.
9099         * nptl/tst-barrier4.c: Likewise.
9100         * nptl/tst-barrier5.c: Likewise.
9102 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9104         [BZ #18868]
9105         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9107 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9111         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9112         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9113         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9114         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9115         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9116         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9118         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9119         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9121 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9123         [BZ #13065]
9124         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9125         new implementation.
9126         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9127         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9128         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9129         (BARRIER_IN_THRESHOLD): New macro.
9130         * nptl/pthread_barrierattr_setpshared.c
9131         (pthread_barrierattr_setpshared): Clean up.
9132         * nptl/tst-barrier4.c: Correct comment.
9133         * nptl/tst-barrier5.c: New file.
9134         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9135         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9136         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9137         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9138         * nptl/lowlevelbarrier.sym: Remove.
9139         * nptl/DESIGN-barrier.txt: Remove.
9140         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9141         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9142         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9143         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9144         error.
9145         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9146         implementation.
9148 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9150         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9151         (do_child): Mask SIGRTMIN while thr is running.
9153 2016-01-15  Martin Sebor  <msebor@redhat.com>
9155         [BZ #19432]
9156         * iconvdata/Makefile: Add bug-iconv11.
9157         * iconvdata/bug-iconv11.c: New test.
9158         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9159         * iconvdata/ibm933.c: Same.
9160         * iconvdata/ibm935.c: Same.
9161         * iconvdata/ibm937.c: Same.
9162         * iconvdata/ibm939.c: Same.
9164 2016-01-15  Martin Sebor  <msebor@redhat.com>
9166         [BZ #19443]
9167         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9168         [DEBUG] (_ufc_set_bits): Declare used.
9169         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9170         [DEBUG] (print_all): Declare used.
9171         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9172         operands of the ternary ?: expression to target type.
9173         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9174         calling the undeclared abort.
9175         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9177 2016-01-15  Martin Sebor  <msebor@redhat.com>
9179         [BZ #18755]
9180         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9181         warnings.
9182         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9183         (__gai_create_helper_thread): Same.
9184         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9185         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9186         to suppress -Wmaybe-uninitialized warnings.
9188 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9190         [BZ #19465]
9191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9192         inside if.
9193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9197 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9199         [BZ #19466]
9200         * time/tst-mktime2.c (time_t_max): Removed.
9201         (time_t_min): Likewise.
9202         (TYPE_SIGNED): New.
9203         (TYPE_MINIMUM): Likewise.
9204         (TYPE_MAXIMUM): Likewise.
9205         (TIME_T_MIN): Likewise.
9206         (TIME_T_MAX): Likewise.
9207         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9208         and TIME_T_MIN.
9209         (do_test): Likewise.
9211 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9213         [BZ #19467]
9214         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9215         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9217 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9219         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9221 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9223         * benchtests/Makefile (PYTHON): Define.
9224         (bench-func): Use $(PYTHON) to run python scripts.
9225         ($(objpfx)bench-%.c): Likewise.
9227 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9229         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9230         leading slash when `file_name' is "/".
9232 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9234         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9235         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9236         Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9238         Likewise.
9239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9240         Likewise.
9241         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9242         enum constant and macro.
9243         (PTRACE_SETSIGMASK): Likewise.
9244         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9245         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9246         (PTRACE_GETSIGMASK): Likewise.
9247         (PTRACE_SETSIGMASK): Likewise.
9248         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9249         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9250         Likewise.
9251         (PTRACE_SETSIGMASK): Likewise.
9252         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9254         (PTRACE_GETSIGMASK): Likewise.
9255         (PTRACE_SETSIGMASK): Likewise.
9256         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9257         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9258         Likewise.
9259         (PTRACE_SETSIGMASK): Likewise.
9260         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9261         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9262         Likewise.
9263         (PTRACE_SETSIGMASK): Likewise.
9264         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9265         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9266         Likewise.
9267         (PTRACE_SETSIGMASK): Likewise.
9268         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9270 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9271             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9273         [BZ #19439]
9274         * math/bits/mathcalls.h
9275         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9276         prototype.
9277         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9279 2016-01-11  Andreas Schwab  <schwab@suse.de>
9281         [BZ #19253]
9282         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9283         cache when TZDEFRULES was used.
9284         * time/tst-tzname.c: New file.
9285         * time/Makefile (test): Add tst-tzname.
9286         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9287         * timezone/Makefile (test-zones): Add $(posixrules-file).
9288         ($(testdata)/$(posixrules-file)): New rule.
9290 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9292         Fix doc quoting problems with Texinfo 5
9293         Without this change, in the info file output, Texinfo 5 quotes code
9294         in text with undirected single quotes 'like this' and generates
9295         code examples that with many PDF readers cannot be cut out of PDFs
9296         and pasted into code.
9297         * manual/libc.texinfo: Configure the libc manual like the GNU
9298         Emacs manual, by using @documentencoding and setting
9299         txicodequoteundirected and txicodequotebacktick.  This way,
9300         Texinfo 5 quotes code in text with directed single quotes ‘like
9301         this’ and produces examples that can be cut out of PDFs.  This
9302         change causes Texinfo 5 to generate info files that contain UTF-8
9303         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9304         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9306 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9308         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9309         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9310         barriers to their respective compiler built-ins.
9311         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9312         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9313         * sysdeps/powerpc/sysdep.h: Likewise.
9314         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9315         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9316         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9318 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9320         * scripts/config.guess: Revert previous shebang change.
9321         * scripts/config.sub: Likewise.
9322         * scripts/mkinstalldirs: Likewise.
9324 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9326         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9327         PPC_FEATURE2_HAS_IEEE128.
9328         * sysdeps/powerpc/dl-procinfo.c:
9329         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9331 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9333         [BZ #19415]
9334         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9335         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9336         (_dl_lookup_address): Rewrite using function resolver trampoline.
9337         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9338         two bits in address.
9340 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9342         * longlong.h: Change !__SHMEDIA__ to
9343         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9344         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9346 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9347             Joseph Myers  <joseph@codesourcery.com>
9348             Mark Shinwell  <shinwell@codesourcery.com>
9349             Andrew Stubbs  <ams@codesourcery.com>
9350             Rich Felker <dalias@libc.org>
9352         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9354 2016-01-07  Richard Henderson  <rth@redhat.com>
9356         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9358 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9360         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9361         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9362         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9363         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9364         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9366 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9367             Joseph Myers  <joseph@codesourcery.com>
9369         * timezone/private.h: Update from tzcode 2015g.
9370         * timezone/tzfile.h: Likewise.
9371         * timezone/tzselect.ksh: Likewise.
9372         * timezone/zdump.c: Likewise.
9373         * timezone/zic.c: Likewise.
9374         * timezone/ialloc.c: Remove file.
9375         * timezone/scheck.c: Likewise.
9376         * timezone/Makefile (extra-objs): Remove variable.
9377         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9378         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9379         -Wno-maybe-uninitialized.
9380         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9381         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9382         (CFLAGS-ialloc.c): Remove variable.
9383         (CFLAGS-scheck.c): Likewise.
9384         * timezone/README: Update list of files from tzcode.
9386 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9388         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9389         instead of __fxprintf when _LIBC is undefined.
9391 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9393         * catgets/test-gencat.sh: Remove space after shebang.
9394         * conform/GlibcConform.pm: Likewise.
9395         * conform/check-header-lists.sh: Likewise.
9396         * conform/conformtest.pl: Likewise.
9397         * conform/linknamespace.pl: Likewise.
9398         * conform/list-header-symbols.pl: Likewise.
9399         * debug/catchsegv.sh: Likewise.
9400         * elf/genrtldtbl.awk: Likewise.
9401         * elf/tst-pathopt.sh: Likewise.
9402         * elf/tst-rtld-load-self.sh: Likewise.
9403         * grp/tst_fgetgrent.sh: Likewise.
9404         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9405         * iconvdata/gen-8bit-gap.sh: Likewise.
9406         * iconvdata/gen-8bit.sh: Likewise.
9407         * iconvdata/run-iconv-test.sh: Likewise.
9408         * intl/tst-gettext.sh: Likewise.
9409         * intl/tst-gettext2.sh: Likewise.
9410         * intl/tst-gettext4.sh: Likewise.
9411         * intl/tst-gettext6.sh: Likewise.
9412         * intl/tst-translit.sh: Likewise.
9413         * io/ftwtest-sh: Likewise.
9414         * libio/test-freopen.sh: Likewise.
9415         * locale/gen-translit.pl: Likewise.
9416         * malloc/tst-mtrace.sh: Likewise.
9417         * manual/check-safety.sh: Likewise.
9418         * manual/libc-texinfo.sh: Likewise.
9419         * manual/tsort.awk: Likewise.
9420         * manual/xtract-typefun.awk: Likewise.
9421         * nptl/tst-cancel-wrappers.sh: Likewise.
9422         * nptl/tst-tls6.sh: Likewise.
9423         * posix/globtest.sh: Likewise.
9424         * posix/tst-getconf.sh: Likewise.
9425         * posix/wordexp-tst.sh: Likewise.
9426         * scripts/check-c++-types.sh: Likewise.
9427         * scripts/check-local-headers.sh: Likewise.
9428         * scripts/config.guess: Likewise.
9429         * scripts/config.sub: Likewise.
9430         * scripts/cpp: Likewise.
9431         * scripts/cross-test-ssh.sh: Likewise.
9432         * scripts/documented.sh: Likewise.
9433         * scripts/evaluate-test.sh: Likewise.
9434         * scripts/gen-libc-abis: Likewise.
9435         * scripts/gen-sorted.awk: Likewise.
9436         * scripts/list-fixed-bugs.py: Likewise.
9437         * scripts/merge-test-results.sh: Likewise.
9438         * scripts/mkinstalldirs: Likewise.
9439         * scripts/rellns-sh: Likewise.
9440         * scripts/test-installation.pl: Likewise.
9441         * scripts/update-copyrights: Likewise.
9442         * stdio-common/tst-printf.sh: Likewise.
9443         * stdio-common/tst-unbputc.sh: Likewise.
9444         * stdlib/tst-fmtmsg.sh: Likewise.
9445         * stdlib/tst-setcontext3.sh: Likewise.
9446         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9447         * sysdeps/unix/make-syscalls.sh: Likewise.
9449 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9451         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9452         asm stw with atomic_exchange_rel.  Add explanatory comment.
9453         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9454         Likewise.
9456 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9458         [BZ #19122]
9459         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9460         * sysdeps/generic/dl-unistd.h: New file.
9461         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9463 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9465          [BZ #19122]
9466          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9467          * sysdeps/generic/dl-mman.h: New file.
9468          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9470 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9472         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9473         trailing whitespace removed.
9474         * scripts/config.guess: Update to version 2016-01-01.
9475         * scripts/config.sub: Update to version 2016-01-01.
9476         * scripts/move-if-change: Update from gnulib.
9478 2016-01-04  Anton Blanchard  <anton@samba.org>
9480         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9481         for array indices.
9482         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9484 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9486         * NEWS: Update copyright dates.
9487         * catgets/gencat.c (print_version): Likewise.
9488         * csu/version.c (banner): Likewise.
9489         * debug/catchsegv.sh: Likewise.
9490         * debug/pcprofiledump.c (print_version): Likewise.
9491         * debug/xtrace.sh (do_version): Likewise.
9492         * elf/ldconfig.c (print_version): Likewise.
9493         * elf/ldd.bash.in: Likewise.
9494         * elf/pldd.c (print_version): Likewise.
9495         * elf/sotruss.sh: Likewise.
9496         * elf/sprof.c (print_version): Likewise.
9497         * iconv/iconv_prog.c (print_version): Likewise.
9498         * iconv/iconvconfig.c (print_version): Likewise.
9499         * locale/programs/locale.c (print_version): Likewise.
9500         * locale/programs/localedef.c (print_version): Likewise.
9501         * login/programs/pt_chown.c (print_version): Likewise.
9502         * malloc/memusage.sh (do_version): Likewise.
9503         * malloc/memusagestat.c (print_version): Likewise.
9504         * malloc/mtrace.pl: Likewise.
9505         * manual/libc.texinfo: Likewise.
9506         * nptl/version.c (banner): Likewise.
9507         * nscd/nscd.c (print_version): Likewise.
9508         * nss/getent.c (print_version): Likewise.
9509         * nss/makedb.c (print_version): Likewise.
9510         * posix/getconf.c (main): Likewise.
9511         * scripts/test-installation.pl: Likewise.
9512         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9514         * All files with FSF copyright notices: Update copyright dates
9515         using scripts/update-copyrights.
9516         * intl/plural.c: Regenerated.
9517         * locale/programs/charmap-kw.h: Likewise.
9518         * locale/programs/locfile-kw.h: Likewise.
9520 2016-01-02  Helge Deller  <deller@gmx.de>
9522         [BZ #19285]
9523         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9524         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9525         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9526         (MADV_xxK_PAGES): Remove.
9528 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9530         [BZ #15421]
9531         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9532         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9533         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9534         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9536 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9538         [BZ #19408]
9539         * sysdeps/unix/sysv/linux/personality.c: New file.
9540         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9541         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9542         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9543         (sysdep_routines): Add personality.
9544         (tests): Add tst-personality.
9545         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9547         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9548         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9549         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9550         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9551         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9552         Likewise.
9553         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9554         Likewise.
9555         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9556         Likewise.
9557         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9558         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9559         Likewise.
9561 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9563         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9564         (PATH_ARM_SYSTYPE): Remove.
9565         (PATH_CPUINFO): Likewise.
9566         (IO_BASE_FOOTBRIDGE): Likewise.
9567         (IO_SHIFT_FOOTBRIDGE): Likewise.
9568         (struct platform): Likewise.
9569         (init_iosys): Remove compatibility code for 2.4 kernels.
9570         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9572 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9574         * malloc/tst-malloc-thread-fail.c: New file.
9575         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9576         (tst-malloc-thread-fail): Link against libpthread.
9578 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9580         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9581         (get_parser): New function.
9582         (main): New function.
9584 2015-12-29  Rob Wu  <rob@robwu.nl>
9586         [BZ #19369]
9587         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9589 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9591         [BZ #19270]
9592         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9594 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9596         [BZ #15421]
9597         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9599 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9601         [BZ #13690]
9602         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9603         after releasing it.
9604         (__lll_robust_unlock): Likewise.
9605         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9606         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9607         (lll_robust_unlock): Likewise.
9608         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9609         Prevent warnings in callers.
9611 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9613         * malloc/arena.c (list_lock): Update comment.
9615 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9617         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9618         __parse_hwcap_and_convert_at_platform to libc.a.
9620 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9622         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9623         platform and feature support for POWER9.
9624         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9625         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9626         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9627         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9628         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9629         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9630         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9631         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9633 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9635         Harmonize generic stdio-lock support with nptl
9637         This fixes build when _IO_funlockfile is a macro, fixes build where
9638         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9639         stack unwind.
9641         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9642         _IO_release_lock ): Use cleanup attribute on new
9643         _IO_acquire_lock_file variable instead of assuming that
9644         _IO_release_lock will be called.
9645         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9646         _IO_acquire_lock_needs_exceptions_enabled.
9647         (_IO_acquire_lock_clear_flags2): New macro.
9649 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9651         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9653 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9655         [BZ #19182]
9656         * malloc/arena.c (list_lock): Document lock ordering requirements.
9657         (free_list_lock): New lock.
9658         (ptmalloc_lock_all): Comment on free_list_lock.
9659         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9660         (detach_arena): Update comment.  free_list_lock is now needed.
9661         (_int_new_arena): Use free_list_lock around detach_arena call.
9662         Acquire arena lock after list_lock.  Add comment, including FIXME
9663         about incorrect synchronization.
9664         (get_free_list): Switch to free_list_lock.
9665         (reused_arena): Acquire free_list_lock around detach_arena call
9666         and attached threads counter update.  Add two FIXMEs about
9667         incorrect synchronization.
9668         (arena_thread_freeres): Switch to free_list_lock.
9669         * malloc/malloc.c (struct malloc_state): Update comments to
9670         mention free_list_lock.
9672 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9674         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9675         Remove functions.
9676         (sloww, sloww1): Accept argument to offset quadrant.
9677         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9678         quadrant.
9679         (__sin, __cos): Consolidate common code into new functions.
9680         (reduce_sincos_1, do_sincos_1): New functions.
9681         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9684         code to new functions.
9685         (reduce_sincos_2, do_sincos_2): New functions.
9686         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9689         common code for sincos.
9690         (__cos) [!IN_SINCOS]: Likewise.
9691         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9692         New function.
9693         (__sincos): Use it.
9695 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9697         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9698         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9699         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9701 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9703         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9706         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9707         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9708         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9709         index_Prefer_No_VZEROUPPER): New feature.
9710         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9711         Prefer_No_VZEROUPPER for Knights Landing.
9713 015-12-18  Torvald Riegel  <triegel@redhat.com>
9715         * math/atest-exp2.c (mp_exp_m1): Remove.
9717 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9719         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9720         syscalls.
9721         (__SYSCALL0): New macro.
9722         (__SYSCALL1): Likewise.
9723         (__SYSCALL2): Likewise.
9724         (__SYSCALL3): Likewise.
9725         (__SYSCALL4): Likewise.
9726         (__SYSCALL5): Likewise.
9727         (__SYSCALL6): Likewise.
9728         (__SYSCALL_CONCAT_X): Likewise.
9729         (__SYSCALL_CONCAT): Likewise.
9730         (__SYSCALL_DIST): Likewise.
9731         (__SYSCALL_CALL): Likewise.
9733 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9735         [BZ #19363]
9736         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9738 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9740         [BZ #19375]
9741         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9742         negative subnormals.
9744 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9747         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9748         (INTERNAL_SYSCALL_NCS): Use it.
9749         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9751 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9753         [BZ #19243]
9754         * malloc/arena.c (get_free_list): Remove assert and adjust
9755         reference count handling.  Add comment about reused_arena
9756         interaction.
9757         (reused_arena): Add comments abount get_free_list interaction.
9758         * malloc/tst-malloc-thread-exit.c: New file.
9759         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9760         (tst-malloc-thread-exit): Link against libpthread.
9762 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9764         [BZ #19367]
9765         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9766         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9767         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9768         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9769         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9771 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9773         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9774         Silvermont optimizations for Knights Landing.
9776 2015-12-15  Andreas Schwab  <schwab@suse.de>
9778         [BZ #17197]
9779         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9780         immediately after emitting SI.
9781         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9782         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9783         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9784         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9785         * iconvdata/bug-iconv10.c: New file.
9786         * iconvdata/Makefile (tests): Add bug-iconv10.
9787         ($(objpfx)bug-iconv10.out): New rule.
9789 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9791         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9792         aliasing violation.
9794 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9796         [BZ #18472]
9797         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9798         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9799         conditionals for them.
9800         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9801         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9803         sys/kdaemon.h.
9804         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9805         compat-only syscall, obsoleted in glibc 2.23.
9806         (create_module): Likewise.
9807         (get_kernel_syms): Likewise.
9808         (query_module): Likewise.
9809         (uselib): Likewise.
9810         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9812 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9814         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9815         <linux/version.h>.
9816         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9817         conditional code.
9818         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9819         and ioshift_name initialization.
9821 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9824         Fix indentation.
9826 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9828         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9830 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9832         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9834 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9835             Jakub Wilk  <jwilk@debian.org>
9837         [BZ #19347]
9838         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9839         to change the group of the device to the tty group.
9841 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9843         Split large string section; add truncation advice
9844         * manual/examples/strncat.c: Remove.
9845         This example was misleading, as the code would have undefined
9846         behavior if "hello" was longer than SIZE.  Anyway, the manual
9847         shouldn't encourage strncpy+strncat for this sort of thing.
9848         * manual/string.texi (Copying Strings and Arrays): Split into
9849         three sections Copying Strings and Arrays, Concatenating Strings,
9850         and Truncating Strings, as this section was way too long.  All
9851         cross-referenced changed.  Add advice about string-truncation
9852         functions.  Remove misleading strncat example.
9854 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9856         * manual/nss.texi (NSS Modules Interface): Document
9857         NSS_STATUS_NOTFOUND and SUCCESS.
9859 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9861         [BZ 18568]
9862         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9863         201505L, for Unicode 8.
9865 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9867         * locale/C-translit.h: Regenerate.
9869 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9871         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9872         and U+0153.
9874 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9876         [BZ #19351]
9877         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9878         expanding log(1+z), compare z rather than its square with epsilon
9879         to determine when to avoid evaluating the expansion.
9881         [BZ #19350]
9882         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9883         Increase overflow threshold.
9885         [BZ #19349]
9886         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9887         when small.
9889         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9891         New macro.
9892         [__LINUX_KERNEL_VERSION >= 0x040300]
9893         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9895         Likewise.
9896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9897         Likewise.
9898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9899         Likewise.
9900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9901         Likewise.
9902         [__LINUX_KERNEL_VERSION >= 0x040300]
9903         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9904         [__LINUX_KERNEL_VERSION >= 0x040300]
9905         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9906         [__LINUX_KERNEL_VERSION >= 0x040300]
9907         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9908         [__LINUX_KERNEL_VERSION >= 0x040300]
9909         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9910         [__LINUX_KERNEL_VERSION >= 0x040300]
9911         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9913         Likewise.
9914         [__LINUX_KERNEL_VERSION >= 0x040300]
9915         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9917         Likewise.
9918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9919         Likewise.
9920         [__LINUX_KERNEL_VERSION >= 0x040300]
9921         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9923         Likewise.
9924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9925         Likewise.
9926         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9928         Likewise.
9929         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9930         Likewise.
9931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9932         Likewise.
9933         [__LINUX_KERNEL_VERSION >= 0x040300]
9934         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9936         Likewise.
9937         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9938         Likewise.
9939         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9940         Likewise.
9941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9942         Likewise.
9943         [__LINUX_KERNEL_VERSION >= 0x040300]
9944         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9945         [__LINUX_KERNEL_VERSION >= 0x040300]
9946         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9947         [__LINUX_KERNEL_VERSION >= 0x040300]
9948         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9949         [__LINUX_KERNEL_VERSION >= 0x040300]
9950         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9951         [__LINUX_KERNEL_VERSION >= 0x040300]
9952         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9954         Likewise.
9955         [__LINUX_KERNEL_VERSION >= 0x040300]
9956         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9958         Likewise.
9959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9960         Likewise.
9961         [__LINUX_KERNEL_VERSION >= 0x040300]
9962         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9964         Likewise.
9965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9966         Likewise.
9967         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9968         (__ASSUME_SOCKET_SYSCALL): Likewise.
9969         (__ASSUME_BIND_SYSCALL): Likewise.
9970         (__ASSUME_CONNECT_SYSCALL): Likewise.
9971         (__ASSUME_LISTEN_SYSCALL): Likewise.
9972         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9973         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9974         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9975         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9976         (__ASSUME_SEND_SYSCALL): Likewise.
9977         (__ASSUME_SENDTO_SYSCALL): Likewise.
9978         (__ASSUME_RECV_SYSCALL): Likewise.
9979         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9980         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9981         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9982         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9983         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9984         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9985         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9986         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9987         Likewise.
9988         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9989         Likewise.
9990         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9991         Likewise.
9992         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9993         Likewise.
9994         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9995         Likewise.
9996         [__LINUX_KERNEL_VERSION >= 0x020625]
9997         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9998         [__LINUX_KERNEL_VERSION >= 0x020625]
9999         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10000         [__LINUX_KERNEL_VERSION >= 0x020625]
10001         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10002         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10003         Likewise.
10004         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10005         Likewise.
10006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10007         Likewise.
10008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10009         Likewise.
10010         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10011         Likewise.
10012         [__LINUX_KERNEL_VERSION >= 0x020625]
10013         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10014         [__LINUX_KERNEL_VERSION >= 0x020625]
10015         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10016         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10017         Likewise.
10018         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10019         Likewise.
10021 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10023         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10024         record the current if the current ABI and CPU support the FP64
10025         extension.
10026         (has-modd-spreg): Define to record the current if the current ABI and
10027         CPU support 32-bit floating point values in odd FPU registers.
10028         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10029         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10030         $(has-modd-spreg) equals yes.
10031         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10032         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10033         $(has-modd-spreg) equal yes.
10035 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10037         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10038         basename.
10040 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10042         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10043         (bench-string): ... here.
10044         (bench): Add bench-string.
10045         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10046         to *-benchset to reflect what they are.
10047         (benchset): Adjust.
10049         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10050         cos-inputs.
10052 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10054         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10055         __attribute__ ((__simd__)) for vector math function declarations.
10057 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10059         Fix typo in strncat, wcsncat manual entries
10060         * manual/string.texi (Copying and Concatenation): Fix typos in
10061         sample implementations of strncat and wcsncat, by having them use
10062         the old value of the destination length, not the new one.
10064 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10066         [BZ #16961]
10067         [BZ #16962]
10068         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10069         string on the stack for strtod.
10070         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10071         a string on the stack for strtof.
10072         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10073         constructing a string on the stack for strtold.
10074         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10075         __strtold_nan to GLIBC_PRIVATE.
10076         * math/test-nan-overflow.c: New file.
10077         * math/test-nan-payload.c: Likewise.
10078         * math/Makefile (tests): Add test-nan-overflow and
10079         test-nan-payload.
10081 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10083         Consistency about byte vs character in string.texi
10084         * manual/string.texi (String and Array Utilities):
10085         Distinguish more carefully among bytes, multibyte characters,
10086         and wide characters.  Use "byte" when talking about C 'char',
10087         to distinguish it more clearly from multibyte characters.
10088         Say "wide character" or "multibyte character" instead of
10089         "character", when a wide or multibyte character is intended.
10090         Similarly for "multibyte string" versus "string".
10091         Define these terms more carefully.
10093 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10095         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10096         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10097         Likewise.
10098         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10099         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10100         * sysdeps/sh/math_private.h: New file.
10101         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10102         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10103         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10104         long double function name.
10105         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10106         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10111         Remove __finitel, __isinfl, and __isnanl.
10112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10116         Remove __finitel.
10117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10118         Likewise.
10119         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10121 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10123         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10124         installed libmvec_nonshared.a.
10126 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10128         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10129         (sysdep_routines): Likewise.
10130         (sysdep-rtld-routines): Likewise.
10131         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10132         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10133         * sysdeps/powerpc/Versions: Added new
10134         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10135         * sysdeps/powerpc/hwcapinfo.c: New file.
10136         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10137         and parse hwcap, hwcap2 and platform number information.
10138         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10139         to store HWCAP+HWCAP2 and platform number.
10140         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10141         for HWCAP+HWCAP2 and platform number in the TCB.
10142         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10143         the HWCAP, HWCAP2 and platform number in the TCB.
10144         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10145         (TLS_INIT_TP): Included calls to add the hwcap and
10146         at_platform values in the TCB in TP initialization.
10147         (TLS_DEFINE_INIT_TP): Likewise.
10148         (THREAD_GET_HWCAP): New macro.
10149         (THREAD_SET_HWCAP): Likewise.
10150         (THREAD_GET_AT_PLATFORM): Likewise.
10151         (THREAD_SET_AT_PLATFORM): Likewise.
10152         * sysdeps/powerpc/powerpc32/dl-machine.h:
10153         (dl_platform_init): New function that calls
10154         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10155         powerpc32.
10156         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10157         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10158         this functionality, static linking case.
10159         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10160         linking case.
10161         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10162         __parse_hwcap_and_convert_at_platform for the static linking case.
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10164         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10165         ABI list for GLIBC 2.23.
10166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10169         Likewise.
10171 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10173         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10174         * configure: Regenerate.
10175         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10176         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10178 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10180         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10181         * iconvdata/ibm933.c: Likewise.
10182         * iconvdata/ibm935.c: Likewise.
10183         * iconvdata/ibm937.c: Likewise.
10184         * iconvdata/ibm939.c: Likewise.
10186 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10188         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10189         pthread_join.
10190         * nptl/tst-cancel21.c (tf): Likewise.
10192 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10194         [BZ #19313]
10195         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10196         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10197         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10198         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10199         Likewise.
10200         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10201         Likewise.
10202         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10203         Likewise.
10204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10205         Likewise.
10206         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10207         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10208         unsigned long int with __CPU_MASK_TYPE.
10210 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10212         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10214 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10216         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10217         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10218         t512.x.
10219         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10221 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10223         [BZ #19214]
10224         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10225         argument to return extended model.  Update family and model
10226         with extended family and model when family == 0x0f.
10227         (init_cpu_features): Updated.
10229 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10231         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10232         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10234         * sysdeps/mach/hurd/mmap64.c: New file.
10236 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10238         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10239         rights for its main user thread in NEWTASK.
10241 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10243         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10244         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10246 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10248         [BZ #14259]
10249         * Makeconfig: Rename localedir to complocaledir.
10250         Rename inst_localedir to inst_complocaledir.
10251         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10252         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10253         * configure.ac: Use libc_cv_complocaledir.
10254         * configure: Regenerate.
10255         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10256         -DCOMPLOCALEDIR.
10257         * locale/findlocale.c: Use COMPLOCALEDIR.
10258         * locale/loadarchive.c: Likewise.
10259         * locale/programs/locale.c: Likewise.
10260         * locale/programs/localedef.c: Likewise.
10261         * locale/programs/locarchive.c: Likewise.
10262         * localedata/Makefile: Use inst_complocaledir.
10263         * sysdeps/gnu/configure: Regenerate.
10264         * sysdeps/hppa/configure: Regenerate.
10265         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10266         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10268         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10269         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10270         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10271         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10273 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10275         [BZ #19058]
10276         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10277         AS_NEEDED.
10278         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10279         workaround.
10280         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10281         libmvec-static-only-routines): Added new file.
10282         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10284 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10286         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10287         of interrupted RPC instead of restoring it.
10289         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10290         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10291         libc_hidden_def.
10292         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10293         into initialized data instead of common. Define rtld_hidden_data_def.
10294         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10295         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10296         libc_hidden_def.
10297         (if_freenameindex): Add libc_hidden_weak.
10298         (if_nameindex): Add libc_hidden_weak.
10299         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10300         __open64.
10301         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10302         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10303         * sysdeps/mach/nanosleep.c: Include <time.h>
10304         (__nanosleep): Rename to __libc_nanosleep.
10305         (__nanosleep): Add weak_alias.
10306         (nanosleep): Update alias.
10308 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10310         * stdlib/strtod_nan.c: New file.
10311         * stdlib/strtod_nan_double.h: Likewise.
10312         * stdlib/strtod_nan_float.h: Likewise.
10313         * stdlib/strtod_nan_main.c: Likewise.
10314         * stdlib/strtod_nan_narrow.h: Likewise.
10315         * stdlib/strtod_nan_wide.h: Likewise.
10316         * stdlib/strtof_nan.c: Likewise.
10317         * stdlib/strtold_nan.c: Likewise.
10318         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10319         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10320         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10321         * wcsmbs/wcstod_nan.c: Likewise.
10322         * wcsmbs/wcstof_nan.c: Likewise.
10323         * wcsmbs/wcstold_nan.c: Likewise.
10324         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10325         strtold_nan.
10326         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10327         wcstof_nan.
10328         * include/stdlib.h (__strtof_nan): Declare and use
10329         libc_hidden_proto.
10330         (__strtod_nan): Likewise.
10331         (__strtold_nan): Likewise.
10332         (__wcstof_nan): Likewise.
10333         (__wcstod_nan): Likewise.
10334         (__wcstold_nan): Likewise.
10335         * include/wchar.h (____wcstoull_l_internal): Declare.
10336         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10337         (____strtoull_l_internal): Remove declaration.
10338         (STRTOF_NAN): Define macro.
10339         (SET_MANTISSA): Remove macro.
10340         (STRTOULL): Likewise.
10341         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10342         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10343         (STRTOF_NAN): Define macro.
10344         (SET_MANTISSA): Remove macro.
10345         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10346         (SET_MANTISSA): Remove macro.
10347         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10348         macro.
10349         (SET_MANTISSA): Remove macro.
10350         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10351         macro.
10352         (SET_MANTISSA): Remove macro.
10353         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10354         (SET_MANTISSA): Remove macro.
10355         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10356         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10357         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10359         [BZ #19266]
10360         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10361         upper case and lower case letters inside NAN(), not using TOLOWER.
10362         * stdlib/tst-strtod-nan-locale-main.c: New file.
10363         * stdlib/tst-strtod-nan-locale.c: Likewise.
10364         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10365         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10366         Depend on $(gen-locales).
10367         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10368         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10369         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10370         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10371         Depend on $(gen-locales).
10372         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10374 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10376         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10378         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10380         __finitel, __isinfl, and __isnanl.
10381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10382         Likewise.
10383         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10385         __finitel.
10386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10390 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10392         * malloc/memusage.c (me): Remove redundant getenv call.
10394 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10396         [BZ #19143]
10397         [BZ #19164]
10398         * nptl/check-cpuset.h: Remove.
10399         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10400         Remove CPU set size check.
10401         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10402         Likewise.
10403         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10404         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10405         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10406         (__pthread_setaffinity_new): Remove CPU set size check.
10407         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10408         (__kernel_cpumask_size): Remove.
10409         (__sched_setaffinity_new): Remove CPU set size check.
10410         * manual/threads.texi (Default Thread Attributes): Remove stale
10411         reference to check_cpuset_attr, determine_cpumask_size in comment.
10412         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10413         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10414         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10415         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10416         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10417         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10418         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10419         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10420         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10421         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10422         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10423         skeleton test file.
10424         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10425         tst-affinity-pid.
10427 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10429         * scripts/update-abilist.sh: New file.
10430         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10431         * Makerules (update-all-abi-%, update-all-abi)
10432         (subdir_update-all-abi): New targets.
10433         * elf/Makefile (update-all-abi): New target.
10435 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10437         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10438         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10439         (__libc_lock_define_initialized): Use it.
10440         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10441         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10442         * malloc/malloc.c (main_arena): Likewise.
10443         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10444         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10446 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10448         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10449         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10450         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10451         (PTRACE_O_MASK): Update value.
10452         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10453         New value in enum __ptrace_setoptions.
10454         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10455         (PTRACE_O_MASK): Update value.
10456         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10457         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10458         (PTRACE_O_MASK): Update value.
10459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10460         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10461         (PTRACE_O_MASK): Update value.
10462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10463         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10464         (PTRACE_O_MASK): Update value.
10465         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10466         New value in enum __ptrace_setoptions.
10467         (PTRACE_O_MASK): Update value.
10468         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10469         New value in enum __ptrace_setoptions.
10470         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10471         (PTRACE_O_MASK): Update value.
10473         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10474         New macro.
10475         (PACKET_AUXDATA): Likewise.
10476         (PACKET_ORIGDEV): Likewise.
10477         (PACKET_VERSION): Likewise.
10478         (PACKET_HDRLEN): Likewise.
10479         (PACKET_RESERVE): Likewise.
10480         (PACKET_TX_RING): Likewise.
10481         (PACKET_LOSS): Likewise.
10482         (PACKET_VNET_HDR): Likewise.
10483         (PACKET_TX_TIMESTAMP): Likewise.
10484         (PACKET_TIMESTAMP): Likewise.
10485         (PACKET_FANOUT): Likewise.
10486         (PACKET_TX_HAS_OFF): Likewise.
10487         (PACKET_QDISC_BYPASS): Likewise.
10488         (PACKET_ROLLOVER_STATS): Likewise.
10489         (PACKET_FANOUT_DATA): Likewise.
10490         (PACKET_MR_UNICAST): Likewise.
10492         [BZ #19242]
10493         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10494         (TOUPPER): Likewise.
10495         * stdlib/tst-strtol-locale-main.c: New file.
10496         * stdlib/tst-strtol-locale.c: Likewise.
10497         * stdlib/Makefile (tests): Add tst-strtol-locale.
10498         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10499         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10500         Depend on $(gen-locales).
10501         * wcsmbs/tst-wcstol-locale.c: New file.
10502         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10503         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10504         tr_TR.ISO-8859-9.
10505         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10506         Depend on $(gen-locales).
10508 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10510         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10511         __glibc_likely instead of __builtin_expect.  After falling back to
10512         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10513         system interface to register the code pages as occupied.
10515 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10517         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10518         [!ARM_MATH_PRIVATE_H].
10519         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10520         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10521         [!HPPA_MATH_PRIVATE_H].
10522         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10523         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10524         to [!I386_MATH_PRIVATE_H].
10525         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10526         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10527         Change guard to [!M68K_MATH_PRIVATE_H].
10528         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10529         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10530         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10531         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10532         macro.
10533         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10534         [!MIPS_MATH_PRIVATE_H].
10535         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10536         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10537         [!NIO2_MATH_PRIVATE_H].
10538         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10539         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10540         [!TILE_MATH_PRIVATE_H].
10541         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10543         [BZ #15421]
10544         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10545         initialize with 0 and define as weak alias of __signgam.
10546         * include/math.h [!_ISOMAC] (__signgam): Declare.
10547         * math/Makefile (libm-calls): Add w_lgamma_compat.
10548         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10549         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10550         test-signgam-ullong-init.
10551         (tests-static): Add test-signgam-uchar-static,
10552         test-signgam-uchar-init-static, test-signgam-uint-static,
10553         test-signgam-uint-init-static, test-signgam-ullong-static and
10554         test-signgam-ullong-init-static.
10555         (CFLAGS-test-signgam-uchar.c): New variable.
10556         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10557         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10558         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10559         (CFLAGS-test-signgam-uint.c): Likewise.
10560         (CFLAGS-test-signgam-uint-init.c): Likewise.
10561         (CFLAGS-test-signgam-uint-static.c): Likewise.
10562         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10563         (CFLAGS-test-signgam-ullong.c): Likewise.
10564         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10565         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10566         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10567         * math/Versions (libm): Add GLIBC_2.23.
10568         * math/lgamma-compat.h: New file.
10569         * math/test-signgam-main.c: Likewise.
10570         * math/test-signgam-uchar-init-static.c: Likewise.
10571         * math/test-signgam-uchar-init.c: Likewise.
10572         * math/test-signgam-uchar-static.c: Likewise.
10573         * math/test-signgam-uchar.c: Likewise.
10574         * math/test-signgam-uint-init-static.c: Likewise.
10575         * math/test-signgam-uint-init.c: Likewise.
10576         * math/test-signgam-uint-static.c: Likewise.
10577         * math/test-signgam-uint.c: Likewise.
10578         * math/test-signgam-ullong-init-static.c: Likewise.
10579         * math/test-signgam-ullong-init.c: Likewise.
10580         * math/test-signgam-ullong-static.c: Likewise.
10581         * math/test-signgam-ullong.c: Likewise.
10582         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10583         wrapper of w_lgamma_main.c.
10584         * math/w_lgamma_compat.c: New file.
10585         * math/w_lgamma_compatf.c: Likewise.
10586         * math/w_lgamma_compatl.c: Likewise.
10587         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10588         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10589         defining compatibility symbols.
10590         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10591         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10592         wrapper of w_lgammaf_main.c.
10593         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10594         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10595         defining compatibility symbols.
10596         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10597         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10598         wrapper of w_lgammal_main.c.
10599         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10600         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10601         defining compatibility symbols.
10602         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10603         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10604         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10605         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10606         <lgamma-compat.h>.
10607         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10608         (__ieee754_gamma): Define as alias.
10609         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10610         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10611         <lgamma-compat.h>.
10612         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10613         (__ieee754_gammaf): Define as alias.
10614         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10615         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10616         <lgamma-compat.h>.
10617         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10618         (__ieee754_gammal): Define as alias.
10619         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10620         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10621         <math/w_lgamma_compat.c>.
10622         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10623         Define as alias of __lgamma_compat and use in defining lgammal.
10624         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10625         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10626         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10627         (USE_AS_COMPAT): New macro.
10628         (LGAMMA_OLD_VER): Undefine and redefine.
10629         (lgammal): Do not define here.
10630         (gammal): Only define here if [GAMMA_ALIAS].
10631         * conform/linknamespace.pl (@whitelist): Remove signgam.
10632         * sysdeps/nacl/libm.abilist: Update.
10633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10646         Likewise.
10647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10648         Likewise.
10649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10650         Likewise.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10657         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10659         Likewise.
10660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10661         Likewise.
10662         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10666 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10668         [BZ #16364]
10669         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10670         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10672 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10674         * sysdeps/s390/fpu/bits/mathinline.h:
10675         Use __asm__ [__volatile__] instead of asm [volatile].
10676         * sysdeps/s390/abort-instr.h: Likewise.
10677         * sysdeps/s390/atomic-machine.h: Likewise.
10678         * sysdeps/s390/bits/string.h: Likewise.
10679         * sysdeps/s390/dl-tls.h: Likewise.
10680         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10681         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10682         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10683         * sysdeps/s390/fpu/fesetround.c: Likewise.
10684         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10685         * sysdeps/s390/fpu/s_fma.c: Likewise.
10686         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10687         * sysdeps/s390/memusage.h: Likewise.
10688         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10689         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10690         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10691         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10692         * sysdeps/s390/nptl/tls.h: Likewise.
10693         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10694         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10695         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10696         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10697         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10698         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10699         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10700         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10701         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10702         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10703         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10704         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10705         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10706         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10707         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10708         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10709         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10710         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10711         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10713         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10715         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10717 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10718             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10720         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10721         Add lwarx hint, and use macro for acquire instruction.
10722         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10723         Likewise.
10724         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10725         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10726         update to use new atomic macros.
10728 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10730         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10731         (__lll_trylock_elision): Fix setting of adapt_count.
10732         * sysdeps/unix/sysv/linux/powerpc/htm.h
10733         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10734         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10735         (_ABORT_SYSCALL): Renumber, and clarify definition.
10736         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10738 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10740         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10741         after system headers to prevent MIN/MAX redefinition.  Define
10742         HAVE_ALLOCA to preserve builtin alloca usage.
10744 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10746         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10747         static and don't set or restore rounding.
10748         (__cos)[IN_SINCOS]: Likewise.
10749         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10750         (__sincos): Set and restore rounding mode.  Remove check for infinite
10751         or NaN input.
10753         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10755         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10756         as used.
10758 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10760         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10762 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10764         * config.make.in (have-glob-dat-reloc): New.
10765         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10766         target supports GLOB_DAT relocaton. AC_SUBST.
10767         * configure: Regenerated.
10768         * elf/Makefile (tests): Add tst-prelink.
10769         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10770         (tst-prelink-ENV): New.
10771         ($(objpfx)tst-prelink-conflict.out): Likewise.
10772         ($(objpfx)tst-prelink-cmp.out): Likewise.
10773         * sysdeps/x86/tst-prelink.c: Moved to ...
10774         * elf/tst-prelink.c: Here.
10775         * sysdeps/x86/tst-prelink.exp: Moved to ...
10776         * elf/tst-prelink.exp: Here.
10777         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10778         (tst-prelink-ENV): Removed.
10779         ($(objpfx)tst-prelink-conflict.out): Likewise.
10780         ($(objpfx)tst-prelink-cmp.out): Likewise.
10781         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10783 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10785         [BZ #14551]
10786         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10787         (__mpn_construct_long_double): If high part overflows to infinity,
10788         set errno and recompute overflowed result of the correct sign.
10789         * sysdeps/ieee754/ldbl-128ibm/Makefile
10790         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10791         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10792         $(libm).
10793         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10795 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #15479]
10798         [BZ #19238]
10799         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10800         floating-point state after first operation on input.  Restore full
10801         state rather than just rounding mode.
10802         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10803         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10804         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10806         [BZ #19235]
10807         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10808         add 0.5 to integer arguments.
10809         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10810         Likewise.
10811         (.LC2): New object.
10813 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10815         * scripts/pylintrc (reports): Set to no.
10817 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10819         * elf/dl-load.c (open_verify): Take new argument FD.
10820         Skip __open call if passed FD is not -1.
10821         (_dl_map_object, open_path): Update callers.
10822         * elf/dl-sysdep-open.h: New file.
10823         * elf/dl-load.c: Include it.
10824         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10825         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10826         * sysdeps/nacl/dl-sysdep-open.h: New file.
10827         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10828         from libc to rtld.
10830 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10832         [BZ #19228]
10833         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10834         and restore full floating-point state.
10835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10836         Likewise.
10837         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10838         Likewise.
10839         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10840         Likewise.
10841         * math/test-nearbyint-except-2.c: New file.
10842         * math/Makefile (tests): Add test-nearbyint-except-2.
10844 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10846         [BZ #19178]
10847         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10848         (tst-prelink-ENV): New.
10849         ($(objpfx)tst-prelink-conflict.out): Likewise.
10850         ($(objpfx)tst-prelink-cmp.out): Likewise.
10851         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10852         * sysdeps/x86/tst-prelink.c: New file.
10853         * sysdeps/x86/tst-prelink.exp: Likewise.
10855 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10857         * math/auto-libm-test-in: Add another test of pow.
10858         * math/auto-libm-test-out: Regenerated.
10859         * math/libm-test.inc (pow_test_data): Add another test.
10861 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10863         [BZ #19219]
10864         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10865         weak_alias to nearbyintl.
10867 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10869         * sysdeps/aarch64/bits/string.h: New file.
10870         (_STRING_ARCH_unaligned): Define.
10872 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10874         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10875         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10876         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10877         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10880 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10882         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10883         for original name of the DSO.  Add it to the name list of the DSO
10884         if it is actually given.
10885         (_dl_map_object): Keep track of whether an audit module rewrote
10886         the file name.  If yes, pass the original name to
10887         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10888         debugging is enabled, log the change of the file name.
10889         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10890         _dl_map_object_from_fd.
10891         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10892         * elf/tst-audit11.c: New file
10893         * elf/tst-auditmod11.c: New file.
10894         * elf/tst-audit11mod1.c: New file.
10895         * elf/tst-audit11mod2.c: New file.
10896         * elf/tst-audit11mod2.map: New file.
10897         * elf/tst-audit12.c: New file
10898         * elf/tst-auditmod12.c: New file.
10899         * elf/tst-audit12mod1.c: New file.
10900         * elf/tst-audit12mod2.c: New file.
10901         * elf/tst-audit12mod2.map: New file.
10902         * elf/tst-audit12mod3.c: New file.
10904 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10906         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10907         Don't create weak aliases,
10908         because versioned symbols are created later.
10909         * sysdeps/s390/s390-32/setjmp.S
10910         (setjmp, _setjmp): Remove weak and rename to an unique name
10911         in SHARED case due to existing versioned symbols.
10912         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10914         (getcontext): Create weak alias only in non SHARED case.
10915         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10917 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10919         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10920         (__ASSUME_*_SYSCALL) Define new macros.
10921         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10922         Remove socketcall syscalls.
10923         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10924         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10925         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10926         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10927         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10928         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10930 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10932         [BZ #12926]
10933         Terminate process on invalid netlink response.
10934         * sysdeps/unix/sysv/linux/netlinkaccess.h
10935         (__netlink_assert_response): Declare.
10936         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10937         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10938         (sysdep_routines): Add netlink_assert_response.
10939         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10940         __netlink_assert_response.
10941         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10942         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10943         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10944         __netlink_assert_response.
10946 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10948         [BZ #19178]
10949         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10950         (RTYPE_CLASS_PLT): Likewise.
10951         (RTYPE_CLASS_COPY): Likewise.
10952         (RTYPE_CLASS_TLS): Likewise.
10953         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10954         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10955         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10956         DL_DEBUG_PRELINK.
10958 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10960         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10961         calls with argument -0.5.
10962         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10964         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10965         (libc_cv_z_nodlopen): Likewise.
10966         (libc_cv_z_initfirst): Likewise.
10967         * configure: Regenerated.
10969 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10971         Simplify abilist format to be line-based.
10972         * scripts/abilist.awk: Collect descriptors in the descs variable.
10973         (emit): Write descs variable and sort it
10974         externally, with sort.
10975         * sysdeps/**/*.abilist: Convert to new format.
10977 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10979         [BZ #11460]
10980         * io/Makefile (routines): Add fts64.
10981         (tests): Add tst-fts and tst-fts-lfs.
10982         (CFLAGS-fts64.c): New.
10983         * io/Versions (GLIBC_2.23): New.
10984         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10985         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10986         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10987         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10988         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10989         (FTSENT64): Likewise.
10990         (fts64_children): Likewise.
10991         (fts64_close): Likewise.
10992         (fts64_open): Likewise.
10993         (fts64_read): Likewise.
10994         (fts64_set): Likewise.
10995         * io/fts64.c: New file.
10996         * io/tst-fts.c: New test.
10997         * io/tst-fts-lfs.c: Likewise.
10998         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10999         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11000         fts64_set.
11001         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11002         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11003         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11004         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11005         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11006         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11007         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11008         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11009         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11010         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11013         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11015         Likewise.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11017         Likewise.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11030         * sysdeps/wordsize-64/fts.c: New file.
11031         * sysdeps/wordsize-64/fts64.c: Likewise.
11032         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11033         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11034         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11035         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11037 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11039         * math/libm-test.inc (NON_FINITE): New macro.
11040         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11041         * math/gen-libm-test.pl (show_exceptions): Add argument
11042         $non_finite.
11043         (parse_args): Update call to show_exceptions.
11044         * math/test-math-finite.h: New file.
11045         * math/test-math-no-finite.h: Likewise.
11046         * math/test-double-finite.c: Likewise.
11047         * math/test-float-finite.c: Likewise.
11048         * math/test-ldouble-finite.c: Likewise.
11049         * math/test-double.c: Include "test-math-no-finite.h".
11050         * math/test-float.c: Include "test-math-no-finite.h".
11051         * math/test-ldouble.c: Include "test-math-no-finite.h".
11052         * math/test-math-inline.h (TEST_FINITE): New macro.
11053         * math/test-math-vector.h (TEST_FINITE): Likewise.
11054         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11055         (libm-tests): Add test-float-finite and test-double-finite.
11056         ($(objpfx)test-float-finite.o): New dependency on
11057         $(objpfx)libm-test.stmp.
11058         ($(objpfx)test-double-finite.o): Likewise.
11059         ($(objpfx)test-ldouble-finite.o): Likewise.
11060         (libm-test-no-inline-cflags): New variable.
11061         (libm-test-finite-cflags): Likewise.
11062         (CFLAGS-test-float-finite.c): Likewise.
11063         (CFLAGS-test-double-finite.c): Likewise.
11064         (CFLAGS-test-ldouble-finite.c): Likewise.
11065         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11066         (CFLAGS-test-double.c): Likewise.
11067         (CFLAGS-test-ldouble.c): Likewise.
11069 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11071         * io/fcntl.c (__fcntl): Add ... to prototype.
11072         * misc/ioctl.c (__ioctl): Likewise.
11073         * misc/syscall.c (syscall): Likewise.
11075 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11077         * scripts/list-fixed-bugs.py: New file.
11079         [BZ #19213]
11080         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11081         returned for argument 1.
11082         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11083         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11084         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11085         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11086         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11087         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11089         [BZ #19211]
11090         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11091         __USE_XOPEN], not if [!__USE_ISOC99].
11092         (lgammaf): Likewise.
11093         (lgammal): Likewise.
11094         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11095         (gammaf): Likewise.
11096         (gammal): Likewise.
11097         * math/test-signgam-finite-c11.c: New file.
11098         * math/test-signgam-finite-c99.c: Likewise.
11099         * math/test-signgam-finite.c: Likewise.
11100         * math/Makefile (tests): Add test-signgam-finite,
11101         test-signgam-finite-c99 and test-signgam-finite-c11.
11102         (CFLAGS-test-signgam-finite.c): New variable.
11103         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11104         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11106         [BZ #19212]
11107         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11108         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11109         500].
11110         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11111         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11112         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11113         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11114         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11115         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11116         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11117         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11118         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11119         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11121         [BZ #19209]
11122         * math/bits/math-finite.h (ldexp): Remove declaration.
11123         (ldexpf): Likewise.
11124         (ldexpl): Likewise.
11126         [BZ #19205]
11127         * math/bits/math-finite.h (acosf): Condition declaration on
11128         [__USE_ISOC99].
11129         (acosl): Likewise.
11130         (acoshf): Likewise.
11131         (acoshl): Likewise.
11132         (asinf): Likewise.
11133         (asinl): Likewise.
11134         (atan2f): Likewise.
11135         (atan2l): Likewise.
11136         (atanhf): Likewise.
11137         (atanhl): Likewise.
11138         (coshf): Likewise.
11139         (coshl): Likewise.
11140         (expf): Likewise.
11141         (expl): Likewise.
11142         (fmodf): Likewise.
11143         (fmodl): Likewise.
11144         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11145         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11146         (j0l): Likewise.
11147         (y0f): Likewise.
11148         (y0l): Likewise.
11149         (j1f): Likewise.
11150         (j1l): Likewise.
11151         (y1f): Likewise.
11152         (y1l): Likewise.
11153         (jnf): Likewise.
11154         (jnl): Likewise.
11155         (ynf): Likewise.
11156         (ynl): Likewise.
11157         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11158         (lgammal_r): Likewise.
11159         (__lgamma_r_finite): New declaration.
11160         (__lgammaf_r_finite): Likewise.
11161         (__lgammal_r_finite): Likewise.
11162         (lgamma): Use __lgamma_r_finite.
11163         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11164         __lgammaf_r_finite.
11165         (lgammal): Condition definition on [__USE_ISOC99].  Use
11166         __lgammal_r_finite.
11167         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11168         __lgamma_r_finite.
11169         (gammaf): Condition definition on [__USE_ISOC99].  Use
11170         __lgammaf_r_finite.
11171         (gammal): Condition definition on [__USE_ISOC99].  Use
11172         __lgammal_r_finite.
11173         (logf): Condition declaration on [__USE_ISOC99].
11174         (logl): Likewise.
11175         (log10f): Likewise.
11176         (log10l): Likewise.
11177         (ldexpf): Likewise.
11178         (ldexpl): Likewise.
11179         (powf): Likewise.
11180         (powl): Likewise.
11181         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11182         __USE_ISOC99].
11183         (remainderf): Condition declaration on [__USE_ISOC99].
11184         (remainderl): Likewise.
11185         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11186         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11187         (scalbl): Likewise.
11188         (sinhf): Condition declaration on [__USE_ISOC99].
11189         (sinhl): Likewise.
11190         (sqrtf): Likewise.
11191         (sqrtl): Likewise.
11193 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11195         * sysdeps/arm/atomic-machine.h
11196         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11197         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11198         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11199         Remove conditional code.
11200         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11201         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11202         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11203         Change conditional to [__ASSEMBLER__].
11204         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11205         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11206         [!__ASSEMBLER__].
11207         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11208         code.
11209         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11210         conditional macro definitions.
11211         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11212         (__arch_compare_and_exchange_val_16_acq): Likewise.
11213         (__arch_compare_and_exchange_val_32_acq): Likewise.
11214         (atomic_exchange_and_add): Likewise.
11215         (atomic_add): Likewise.
11216         (atomic_add_negative): Likewise.
11217         (atomic_add_zero): Likewise.
11218         (atomic_bit_set): Likewise.
11219         (atomic_bit_test_set): Likewise.
11220         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11221         code unconditional.
11222         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11224         * math/test-math-errno.h: New file.
11225         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11226         empty.
11227         (TEST_ERRNO): New macro.
11228         (TEST_EXCEPTIONS): Likewise.
11229         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11230         (TEST_EXCEPTIONS): Likewise.
11231         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11232         * math/test-double.c: Include "test-math-errno.h".
11233         * math/test-float.c: Likewise.
11234         * math/test-ldouble.c: Likewise.
11235         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11236         code unconditional.
11237         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11238         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11239         unconditional.
11240         (test_errno): Only run code if TEST_ERRNO.
11241         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11243 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11245         * nptl/tst-once5.cc: Remove attribution.
11247 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11249         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11250         sqrt, tan, tanh, y0, y1 and yn.
11251         * math/auto-libm-test-out: Regenerated.
11252         * math/libm-test.inc (scalb_test_data): Add more tests.
11253         (scalbn_test_data): Likewise.
11254         (scalbln_test_data): Likewise.
11255         (signbit_test_data): Likewise.
11256         (sin_test_data): Likewise.
11257         (sincos_test_data): Likewise.
11258         (sinh_test_data): Likewise.
11259         (sqrt_test_data): Likewise.
11260         (tan_test_data): Likewise.
11261         (tanh_test_data): Likewise.
11262         (tgamma_test_data): Likewise.
11263         (y0_test_data): Likewise.
11264         (y1_test_data): Likewise.
11265         (yn_test_data): Likewise.
11266         (significand_test_data): Likewise.
11267         * sysdeps/i386/fpu/libm-test-ulps: Update.
11269 2015-11-03  David Kastrup  <dak@gnu.org>
11271         [BZ #18604]
11272         * assert/assert.h (assert): Don't macro-expand failed assertion
11273         expression in error message.
11274         * malloc/malloc.c (assert): Likewise.
11276 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11278         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11279         test.
11280         * configure: Regenerated.
11282 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11284         * math/libm-test.inc (modf_test_data): Add more tests.
11285         (nearbyint_test_data): Likewise.
11286         (nextafter_test_data): Likewise.
11287         (nexttoward_test_data): Likewise.
11288         (pow_test_data): Likewise.
11289         (remainder_test_data): Likewise.
11290         (remquo_test_data): Likewise.
11291         (rint_test_data): Likewise.
11293         [BZ #19201]
11294         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11295         Check for zero remainder in case of large exponents and ensure
11296         correct sign of result in that case.
11297         * math/libm-test.inc (remainder_test_data): Add more tests.
11299         [BZ #6799]
11300         * math/s_nextafter.c: Include <errno.h>.
11301         (__nextafter): Set errno on overflow and underflow.
11302         * math/s_nexttowardf.c: Include <errno.h>.
11303         (__nexttowardf): Set errno on overflow and underflow.
11304         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11305         (__nextafterl): Set errno on overflow and underflow.
11306         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11307         (__nexttoward): Set errno on overflow and underflow.
11308         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11309         (__nexttowardf): Set errno on overflow and underflow.
11310         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11311         (__nextafterf): Set errno on overflow and underflow.
11312         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11313         (__nextafterl): Set errno on overflow and underflow.
11314         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11315         (__nexttoward): Set errno on overflow and underflow.
11316         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11317         (__nexttowardf): Set errno on overflow and underflow.
11318         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11319         (__nextafterl): Set errno on overflow and underflow.
11320         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11321         (__nexttoward): Set errno on overflow and underflow.
11322         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11323         (__nexttowardf): Set errno on overflow and underflow.
11324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11325         (__nexttoward): Set errno on overflow and underflow.
11326         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11327         (__nexttowardf): Set errno on overflow and underflow.
11328         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11329         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11330         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11331         (__nextafterl): Set errno on overflow and underflow.
11332         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11333         setting to be missing on overflow.  Add more tests.
11334         (nexttoward_test_data): Likewise.
11336         * configure.ac (libc_cv_initfini_array): Remove configure test.
11337         * configure: Regenerated.
11339 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11341         [BZ #19189]
11342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11343         non-finite argument handle arguments with negative sign.
11345         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11346         result from infinite argument.
11347         (j1_test_data): Likewise.
11348         (jn_test_data): Likewise.
11349         (y0_test_data): Likewise.
11350         (y1_test_data): Likewise.
11351         (yn_test_data): Likewise.
11353         [BZ #16171]
11354         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11355         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11356         * math/w_remainderf.c (dremf): Define as weak alias of
11357         __remainderf.
11358         * math/w_remainderl.c (dreml): Define as weak alias of
11359         __remainderl.
11360         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11361         __remainder.
11362         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11363         __remainderf.
11364         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11365         __remainderl.
11366         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11367         weak alias of remainderl.
11368         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11369         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11370         alias of __remainder.
11371         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11372         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11373         strong alias of __remainderl.
11374         (dreml): Use long_double_symbol.
11375         * math/Makefile (libm-calls): Remove w_drem.
11376         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11377         (CFLAGS-nldbl-drem.c): Remove variable.
11378         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11379         * math/w_drem.c: Remove file.
11380         * math/w_dremf.c: Likewise.
11381         * math/w_dreml.c: Likewise.
11382         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11383         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11384         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11386         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11387         * sysdeps/i386/configure: Regenerated.
11388         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11389         * sysdeps/x86_64/configure: Regenerated.
11391         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11392         test.
11393         (libc_cv_visibility_attribute): Likewise.
11394         (libc_cv_protected_data): Test unconditionally.
11395         (libc_cv_broken_visibility_attribute): Remove configure test.
11396         (libc_cv_have_sdata_section): Test unconditionally.
11397         * configure: Regenerated.
11399         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11400         * include/scratch_buffer.h: Include <stddef.h> instead of
11401         <libc-internal.h>.
11402         (struct scratch_buffer): Use max_align_t instead of
11403         libc_max_align_t.
11405 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11407         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11408         instead of extend_alloca.  Change control flow to avoid a goto.
11409         Remove assert which is trivially always true.
11411 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11413         [BZ #16068]
11414         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11415         (FE_ALL_EXCEPT_X86): New macro.
11416         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11417         FE_ALL_EXCEPT.  Ensure precision control is included in
11418         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11419         handle "denormal operand exception" and clear FZ and DAZ bits.
11420         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11421         (FE_ALL_EXCEPT_X86): New macro.
11422         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11423         FE_ALL_EXCEPT.  Ensure precision control is included in
11424         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11425         handle "denormal operand exception" and clear FZ and DAZ bits.
11426         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11427         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11428         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11429         test-fenv-x87 and test-fenv-sse-2.
11430         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11432         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11433         * math/test-double.h (BUILD_COMPLEX): New macro.
11434         * math/test-float.h (BUILD_COMPLEX): Likewise.
11435         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11437         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11438         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11439         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11441         instead of DBL_DENORM_MIN in comment.
11442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11443         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11445         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11447         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11449 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11451         [BZ# 19048]
11452         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11453         attached_threads member.
11454         (main_arena): Initialize attached_threads.
11455         * malloc/arena.c (list_lock): Update comment.
11456         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11457         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11458         (deattach_arena): New function.
11459         (_int_new_arena): Initialize arena reference count and deattach
11460         replaced arena.
11461         (get_free_list, reused_arena): Update reference count and deattach
11462         replaced arena.
11463         (arena_thread_freeres): Update arena reference count and only put
11464         unreferenced arenas on the free list.
11466 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11468         [BZ #19181]
11469         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11470         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11471         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11472         * math/test-fenv-clear-main.c: New file.
11473         * math/test-fenv-clear.c: Likewise.
11474         * math/Makefile (tests): Add test-fenv-clear.
11475         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11476         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11477         test-fenv-clear-sse.
11478         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11480         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11481         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11482         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11484 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11486         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11487         static libc.
11489 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11491         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11492         test.
11493         * sysdeps/i386/configure: Regenerated.
11494         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11495         test.
11496         * sysdeps/x86_64/configure: Regenerated.
11497         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11499         memset-avx2 unconditionally instead of conditionally on
11500         [$(config-cflags-avx2) = yes].
11501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11502         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11503         unconditional.
11504         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11505         * sysdeps/x86_64/multiarch/memset_chk.S
11506         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11507         to [IS_IN (libc) && SHARED].
11509 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11511         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11512         configure test.
11513         * sysdeps/arm/configure: Regenerated.
11514         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11515         Define variable if not already defined.
11517         [BZ #17404]
11518         * sysdeps/mips/atomic-machine.h
11519         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11520         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11521         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11523         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11524         unconditional.
11525         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11526         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11527         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11528         unconditional.
11529         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11530         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11531         unconditional.
11532         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11533         * stdlib/setenv.c
11534         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11535         code unconditional.
11536         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11537         Remove conditional code.
11538         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11539         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11540         unconditional.
11541         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11542         code.
11543         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11544         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11545         unconditional.
11546         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11547         code.
11548         * sysdeps/ieee754/ldbl-128/k_tanl.c
11549         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11550         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11551         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11552         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11553         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11554         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11555         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11556         unconditional.
11557         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11558         code.
11559         * sysdeps/ieee754/ldbl-96/k_tanl.c
11560         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11561         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11563         * nptl/tst-initializers1-c11.c: New file.
11564         * nptl/tst-initializers1-gnu11.c: Likewise.
11565         * nptl/Makefile (tests): Add these new tests.
11566         (CFLAGS-tst-initializers1-c11.c): New variable.
11567         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11569         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11570         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11571         instead of -std=gnu99.
11572         * configure.ac (systemtap): Test with -std=gnu11 instead of
11573         -std=gnu99.
11574         * configure: Regenerated.
11575         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11576         in compilation command in comment.
11578         * sysdeps/nptl/configure.ac: Remove file.
11579         * sysdeps/nptl/configure: Remove generated file.
11580         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11581         * configure: Regenerated.
11582         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11583         * config.make.in (have-forced-unwind): Remove variable.
11584         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11585         unconditional.
11586         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11587         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11588         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11589         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11590         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11591         unconditional.
11593 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11595         [BZ #19174]
11596         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11597         .skip_lock_out_of_tbegin_retries.
11598         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11599         (__lll_lock_elision): Likewise, and respect a value of
11600         try_tbegin <= 0.
11602 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11604         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11605         statement.
11607 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11609         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11610         variable.
11611         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11612         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11614         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11615         of -std=c1x -D_ISOC11_SOURCE.
11617         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11618         * configure: Regenerated.
11619         * manual/install.texi (Tools for Compilation): Document
11620         requirement for GCC 4.7 or later.
11621         * INSTALL: Regenerated.
11623 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11625         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11626         on CNT to a conditional jump to 'puntdata'.
11628 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11630         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11631         (libc_cv_gcc_tls_model_attr): Likewise.
11632         * configure: Regenerated.
11634         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11635         * configure: Regenerated.
11636         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11638 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11640         * configure.ac (old_glibc_headers): Remove configure test.
11641         * configure: Regenerated.
11642         * config.make.in (old-glibc-headers): Remove variable.
11643         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11644         (install): Remove dependency on remove-old-headers.
11645         (headers2_0): Remove variable.
11646         (remove-old-headers): Remove rule.
11648         * configure.ac (libc_cv_dot_text): Remove configure test.
11649         (libc_cv_asm_set_directive): Use .text instead of
11650         ${libc_cv_dot_text} in configure test.
11651         * configure: Regenerated.
11653 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11655         [BZ #19168]
11656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11658 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11660         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11661         not support static linking.
11662         * configure: Regenerate.
11664 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11666         * math/libm-test.inc (check_float_internal): Do not special-case
11667         errors up to 0.5 ulp.
11669         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11670         log2.
11671         * math/auto-libm-test-out: Regenerated.
11672         * math/libm-test.inc (MAX_EXP): New macro.
11673         (ilogb_test_data): Add more tests.
11674         (isfinite_test_data): Likewise.
11675         (isgreater_test_data): Likewise.
11676         (isgreaterequal_test_data): Likewise.
11677         (isinf_test_data): Likewise.
11678         (isless_test_data): Likewise.
11679         (islessequal_test_data): Likewise.
11680         (islessgreater_test_data): Likewise.
11681         (isnan_test_data): Likewise.
11682         (isnormal_test_data): Likewise.
11683         (issignaling_test_data): Likewise.
11684         (isunordered_test_data): Likewise.
11685         (j0_test_data): Likewise.
11686         (j1_test_data): Likewise.
11687         (jn_test_data): Likewise.
11688         (lgamma_test_data): Likewise.
11689         (log_test_data): Likewise.
11690         (log10_test_data): Likewise.
11691         (log1p_test_data): Likewise.
11692         (log2_test_data): Likewise.
11693         (logb_test_data): Likewise.
11694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11696         [BZ #18611]
11697         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11698         avoid excess range and precision on underflow.
11699         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11700         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11701         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11702         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11703         underflow.
11704         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11706         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11707         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11708         * math/auto-libm-test-in: Do not allow missing errno setting for
11709         tests of j1 and jn.
11710         * math/auto-libm-test-out: Regenerated.
11712 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11714         [BZ #15491]
11715         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11716         floating-point environment instead of clearing all exceptions.
11717         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11718         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11719         merging in "invalid" exceptions from frndint.
11720         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11721         * math/test-nearbyint-except.c: New file.
11722         * math/Makefile (tests): Add test-nearbyint-except.
11724 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11726         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11728         * sysdeps/tile/libm-test-ulps: Regenerated.
11730 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11733         (__NR_sync_file_range2): Assume it is always defined.
11734         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11735         (__NR_sync_file_range): Assume it is always defined.
11737 2015-10-22  Andreas Schwab  <schwab@suse.de>
11739         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11740         INTERNAL_SYSCALL_ERRNO.
11741         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11742         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11743         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11744         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11745         Likewise.
11746         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11748 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11750         * io/tst-fcntl.c (fd): New static variable.
11751         (do_prepare): Open temporary file here....
11752         (do_test): ...not here.
11754         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11756 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11758         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11759         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11760         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11761         Moved before "#ifdef __ASSEMBLER__".
11763 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11765         [BZ #19156]
11766         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11767         arguments very close to 0.
11769 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11771         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11772         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11774 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11776         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11777         New.  Defined for GCC 5 and above when not compiling for
11778         profiling.
11779         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11781         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11782         Renamed to ...
11783         (CFLAGS-epoll_pwait.o): This.
11784         (CFLAGS-mmap.c): Renamed to ...
11785         (CFLAGS-mmap.o): This.
11786         (CFLAGS-mmap64.c): Renamed to ...
11787         (CFLAGS-mmap64.o): This.
11788         (CFLAGS-epoll_pwait.os): New.
11789         (CFLAGS-mmap.os): Likewise.
11790         (CFLAGS-mmap64.os): Likewise.
11791         (CFLAGS-semtimedop.os): Likewise.
11792         (CFLAGS-semtimedop.c): Renamed to ...
11793         (CFLAGS-semtimedop.o): This.
11795 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11797         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11798         warning message.
11800 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11802         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11803         * Makefile ($(objpfx)c++-types-check.out): Filter out
11804         $(+gccwarn-c) instead of -Wstrict-prototypes.
11806         * io/fts.c (fts_open): Convert to prototype-style function
11807         definition.
11808         * malloc/mcheck.c (mcheck): Likewise.
11809         (mcheck_pedantic): Likewise.
11810         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11811         internal_function.
11812         (re_search_internal): Likewise.
11813         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11814         prototype-style function definition.
11815         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11816         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11817         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11818         (xdr_utmpptr): Likewise.
11819         (xdr_utmparr): Likewise.
11820         (xdr_utmpidle): Likewise.
11821         (xdr_utmpidleptr): Likewise.
11822         (xdr_utmpidlearr): Likewise.
11824         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11825         log, log10 and log2.
11826         * math/auto-libm-test-out: Regenerated.
11827         * math/libm-test.inc (fmod_test_data): Add more tests.
11828         (fpclassify_test_data): Likewise.
11829         (frexp_test_data): Likewise.
11830         (hypot_test_data): Likewise.
11831         (ilogb_test_data): Likewise.
11833 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11835         * debug/fortify_fail.c (__fortify_fail): Convert to
11836         prototype-style function definition.  Use internal_function.
11837         * libio/genops.c (save_for_backup): Convert to prototype-style
11838         function definition.
11839         * libio/wgenops.c (save_for_wbackup): Likewise.
11840         * login/grantpt.c (grantpt): Likewise.
11841         * login/ptsname.c (ptsname): Likewise.
11842         (__ptsname_r): Likewise.
11843         * login/unlockpt.c (unlockpt): Likewise.
11844         * mach/msgserver.c (__mach_msg_server): Likewise.
11845         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11846         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11847         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11848         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11849         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11850         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11851         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11852         Likewise.
11853         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11854         internal_function.
11855         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11856         prototype-style function definition.
11857         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11858         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11859         (__pthread_create_2_0): Likewise.
11860         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11861         * nptl/register-atfork.c (__register_atfork): Likewise.
11862         * posix/glob.c (glob): Likewise.
11863         * posix/regcomp.c (re_comp): Likewise.
11864         * posix/regexec.c (re_exec): Likewise.
11865         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11866         [!__STDC__]: Remove conditional code.
11867         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11868         [!__STDC__]: Remove conditional code.
11869         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11870         [!__STDC__]: Remove conditional code.
11871         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11872         [!__STDC__]: Remove conditional code.
11873         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11874         [!__STDC__]: Remove conditional code.
11875         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11876         [!__STDC__]: Remove conditional code.
11877         * stdlib/mul.c [__STDC__]: Make code unconditional.
11878         [!__STDC__]: Remove conditional code.
11879         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11880         [!__STDC__]: Remove conditional code.
11881         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11882         [!__STDC__]: Remove conditional code.
11883         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11884         function definition.
11885         (STRTOF): Likewise.
11886         * stdlib/strtod_l.c (__STRTOF): Likewise.
11887         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11888         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11889         (__strtol_l): Likewise.
11890         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11891         [!__STDC__]: Remove conditional code.
11892         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11893         definition.
11894         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11895         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11896         type.
11897         (__strcasecmp): Convert to prototype-style function definition.
11898         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11900         type.
11901         (__strncasecmp): Convert to prototype-style function definition.
11902         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11903         * sunrpc/xdr.c (xdr_union): Likewise.
11904         * sunrpc/xdr_array.c (xdr_array): Likewise.
11905         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11906         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11907         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11908         Likewise.
11909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11910         Likewise.
11911         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11912         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11913         Likewise.
11914         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11915         (LOCALE_PARAM_PROTO): Likewise.
11916         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11917         argument type.
11918         (ut_argument_spec): Remove macro.
11919         (ut_argument_spec_iso): Rename to ut_argument_spec.
11920         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11921         prototype-style function definition.
11922         (memcpy_uppcase): Likewise.
11923         (__strftime_internal): Likewise.
11924         (my_strftime): Likewise.
11925         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11926         (LOCALE_PARAM_DECL): Likewise.
11927         [_LIBC] (LOCALE_PARAM): Include argument type.
11928         (__strptime_internal): Convert to prototype-style function
11929         definition.
11930         (strptime): Likewise.
11931         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11932         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11933         type.
11934         (__wcscasecmp): Convert to prototype-style function definition.
11935         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11936         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11937         type.
11938         (__wcsncasecmp): Convert to prototype-style function definition.
11940         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11941         function definition.
11942         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11943         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11944         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11945         * elf/dl-minimal.c (_itoa): Likewise.
11946         * hurd/hurdmalloc.c (malloc): Likewise.
11947         (free): Likewise.
11948         (realloc): Likewise.
11949         * inet/inet6_option.c (inet6_option_space): Likewise.
11950         (inet6_option_init): Likewise.
11951         (inet6_option_append): Likewise.
11952         (inet6_option_alloc): Likewise.
11953         (inet6_option_next): Likewise.
11954         (inet6_option_find): Likewise.
11955         * io/ftw.c (FTW_NAME): Likewise.
11956         (NFTW_NAME): Likewise.
11957         (NFTW_NEW_NAME): Likewise.
11958         (NFTW_OLD_NAME): Likewise.
11959         * libio/iofwide.c (_IO_fwide): Likewise.
11960         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11961         (_IO_str_init_static): Likewise.
11962         (_IO_str_init_readonly): Likewise.
11963         (_IO_str_overflow): Likewise.
11964         (_IO_str_underflow): Likewise.
11965         (_IO_str_count): Likewise.
11966         (_IO_str_seekoff): Likewise.
11967         (_IO_str_pbackfail): Likewise.
11968         (_IO_str_finish): Likewise.
11969         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11970         (_IO_wstr_overflow): Likewise.
11971         (_IO_wstr_underflow): Likewise.
11972         (_IO_wstr_count): Likewise.
11973         (_IO_wstr_seekoff): Likewise.
11974         (_IO_wstr_pbackfail): Likewise.
11975         (_IO_wstr_finish): Likewise.
11976         * locale/programs/localedef.c (normalize_codeset): Likewise.
11977         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11978         (add_locales_to_archive): Likewise.
11979         (delete_locales_from_archive): Likewise.
11980         * malloc/malloc.c (__libc_mallinfo): Likewise.
11981         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11982         * misc/tsearch.c (__tfind): Likewise.
11983         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11984         * nptl/pthread_attr_getdetachstate.c
11985         (__pthread_attr_getdetachstate): Likewise.
11986         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11987         Likewise.
11988         * nptl/pthread_attr_getinheritsched.c
11989         (__pthread_attr_getinheritsched): Likewise.
11990         * nptl/pthread_attr_getschedparam.c
11991         (__pthread_attr_getschedparam): Likewise.
11992         * nptl/pthread_attr_getschedpolicy.c
11993         (__pthread_attr_getschedpolicy): Likewise.
11994         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11995         Likewise.
11996         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11997         Likewise.
11998         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11999         Likewise.
12000         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12001         Likewise.
12002         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12003         (__pthread_attr_init_2_0): Likewise.
12004         * nptl/pthread_attr_setdetachstate.c
12005         (__pthread_attr_setdetachstate): Likewise.
12006         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12007         Likewise.
12008         * nptl/pthread_attr_setinheritsched.c
12009         (__pthread_attr_setinheritsched): Likewise.
12010         * nptl/pthread_attr_setschedparam.c
12011         (__pthread_attr_setschedparam): Likewise.
12012         * nptl/pthread_attr_setschedpolicy.c
12013         (__pthread_attr_setschedpolicy): Likewise.
12014         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12015         Likewise.
12016         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12017         Likewise.
12018         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12019         Likewise.
12020         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12021         Likewise.
12022         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12023         Likewise.
12024         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12025         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12026         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12027         use internal_function.
12028         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12029         prototype-style function definition.
12030         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12031         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12032         internal_function.
12033         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12034         Convert to prototype-style function definition.
12035         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12036         Likewise.
12037         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12038         Likewise.
12039         (__pthread_mutex_unlock): Likewise.
12040         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12041         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12042         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12043         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12044         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12045         * nss/makedb.c (process_input): Likewise.
12046         * posix/fnmatch.c (__strchrnul): Likewise.
12047         (__wcschrnul): Likewise.
12048         (fnmatch): Likewise.
12049         * posix/fnmatch_loop.c (FCT): Likewise.
12050         * posix/glob.c (globfree): Likewise.
12051         (__glob_pattern_type): Likewise.
12052         (__glob_pattern_p): Likewise.
12053         * posix/regcomp.c (re_compile_pattern): Likewise.
12054         (re_set_syntax): Likewise.
12055         (re_compile_fastmap): Likewise.
12056         (regcomp): Likewise.
12057         (regerror): Likewise.
12058         (regfree): Likewise.
12059         * posix/regexec.c (regexec): Likewise.
12060         (re_match): Likewise.
12061         (re_search): Likewise.
12062         (re_match_2): Likewise.
12063         (re_search_2): Likewise.
12064         (re_search_stub): Likewise.  Use internal_function
12065         (re_copy_regs): Likewise.
12066         (re_set_registers): Convert to prototype-style function
12067         definition.
12068         (prune_impossible_nodes): Likewise.  Use internal_function.
12069         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12070         prototype-style function definition.
12071         (inet_net_pton_ipv4): Likewise.
12072         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12073         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12074         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12075         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12076         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12077         Make variadic.
12078         * time/strptime_l.c (localtime_r): Convert to prototype-style
12079         function definition.
12080         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12081         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12082         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12083         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12085         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12086         definition.
12087         (_ufc_doit_r): Likewise.
12088         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12089         (_ufc_output_conversion_r): Likewise.
12090         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12091         * inet/rcmd.c (rcmd_af): Likewise.
12092         (rcmd): Likewise.
12093         (ruserok_af): Likewise.
12094         (ruserok): Likewise.
12095         (ruserok2_sa): Likewise.
12096         (ruserok_sa): Likewise.
12097         (iruserok_af): Likewise.
12098         (iruserok): Likewise.
12099         (__ivaliduser): Likewise.
12100         (__validuser2_sa): Likewise.
12101         * inet/rexec.c (rexec_af): Likewise.
12102         (rexec): Likewise.
12103         * inet/ruserpass.c (ruserpass): Likewise.
12104         * locale/programs/xmalloc.c (xcalloc): Likewise.
12105         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12106         * math/w_drem.c (__drem): Likewise.
12107         * math/w_dremf.c (__dremf): Likewise.
12108         * math/w_dreml.c (__dreml): Likewise.
12109         * misc/daemon.c (daemon): Likewise.
12110         * resolv/res_debug.c (p_fqnname): Likewise.
12111         * stdlib/div.c (div): Likewise.
12112         * string/memcmp.c (memcmp_bytes): Likewise.
12113         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12114         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12116         * crypt/cert.c (main): Convert to prototype-style function
12117         definition.
12118         * io/pipe.c (__pipe): Likewise.
12119         * io/pipe2.c (__pipe2): Likewise.
12120         * misc/futimesat.c (futimesat): Likewise.
12121         * misc/utimes.c (__utimes): Likewise.
12122         * posix/execve.c (__execve): Likewise.
12123         * posix/execvp.c (execvp): Likewise.
12124         * posix/execvpe.c (__execvpe): Likewise.
12125         * posix/fexecve.c (fexecve): Likewise.
12126         * socket/socketpair.c (socketpair): Likewise.
12127         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12128         * stdlib/erand48.c (erand48): Likewise.
12129         * stdlib/erand48_r.c (__erand48_r): Likewise.
12130         * stdlib/jrand48.c (jrand48): Likewise.
12131         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12132         * stdlib/lcong48.c (lcong48): Likewise.
12133         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12134         * stdlib/nrand48.c (nrand48): Likewise.
12135         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12136         * stdlib/seed48.c (seed48): Likewise.
12137         * stdlib/seed48_r.c (__seed48_r): Likewise.
12138         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12139         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12140         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12142 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12144         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12145         * configure: Regenerated.
12146         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12147         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12148         unconditional.
12149         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12150         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12151         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12152         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12153         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12154         unconditional.
12155         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12157         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12158         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12160         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12161         function definition.
12162         * crypt/crypt_util.c (__encrypt_r): Likewise.
12163         * libio/genops.c (_IO_no_init): Likewise.
12164         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12165         (_IO_old_fopencookie): Likewise.
12166         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12167         * libio/iogetline.c (_IO_getline): Likewise.
12168         (_IO_getline_info): Likewise.
12169         * libio/iogetwline.c (_IO_getwline): Likewise.
12170         (_IO_getwline_info): Likewise.
12171         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12172         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12173         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12174         (find_entry): Likewise.
12175         (iterate_table): Likewise.
12176         (lookup): Likewise.
12177         * login/forkpty.c (forkpty): Likewise.
12178         * misc/hsearch_r.c (__hsearch_r): Likewise.
12179         * misc/select.c (__select): Likewise.
12180         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12181         Likewise.
12182         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12183         Likewise.
12184         * nptl/old_pthread_cond_timedwait.c
12185         (__pthread_cond_timedwait_2_0): Likewise.
12186         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12187         * nptl/pthread_barrierattr_getpshared.c
12188         (pthread_barrierattr_getpshared): Likewise.
12189         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12190         Likewise.
12191         * nptl/pthread_mutex_setprioceiling.c
12192         (pthread_mutex_setprioceiling): Likewise.
12193         * nptl/pthread_mutexattr_getprioceiling.c
12194         (pthread_mutexattr_getprioceiling): Likewise.
12195         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12196         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12197         Likewise.
12198         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12199         Likewise.
12200         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12201         Likewise.
12202         * socket/recvfrom.c (__recvfrom): Likewise.
12203         * socket/sendto.c (__sendto): Likewise.
12204         * socket/setsockopt.c (__setsockopt): Likewise.
12205         * stdio-common/_itoa.c (_itoa): Likewise.
12206         * stdio-common/_itowa.c (_itowa): Likewise.
12207         * stdio-common/reg-printf.c (__register_printf_specifier):
12208         Likewise.
12209         (__register_printf_function): Likewise.
12210         * stdio-common/tempname.c (__path_search): Likewise.
12211         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12212         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12213         * stdlib/random_r.c (__initstate_r): Likewise.
12214         * stdlib/setenv.c (__add_to_environ): Likewise.
12215         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12216         * streams/getpmsg.c (getpmsg): Likewise.
12217         * streams/putmsg.c (putmsg): Likewise.
12218         * streams/putpmsg.c (putpmsg): Likewise.
12219         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12220         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12221         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12222         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12223         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12224         * sunrpc/svc_udp.c (cache_get): Likewise.
12225         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12226         * sysdeps/mach/hurd/getcwd.c
12227         (__canonicalize_directory_name_internal): Likewise.
12228         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12229         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12230         * sysdeps/mach/hurd/select.c (__select): Likewise.
12231         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12232         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12233         * sysdeps/sparc/nptl/pthread_barrier_init.c
12234         (__pthread_barrier_init): Likewise.
12235         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12236         (__pthread_cond_timedwait): Likewise.
12237         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12238         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12241         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12242         Likewise.
12243         * sysvipc/semtimedop.c (semtimedop): Likewise.
12244         * time/setitimer.c (__setitimer): Likewise.
12245         * time/strftime_l.c (emacs_strftime): Likewise.
12247 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12249         * config.make.in (have-ssp): Delete.
12250         (stack-protector): New variable.
12251         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12252         cache test for -fstack-protector-strong.  Export stack_protector to
12253         the best ssp flag.
12254         * configure: Regenerated.
12255         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12256         * nscd/Makefile (CFLAGS-nscd): Likewise.
12257         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12259 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12261         [BZ #19122]
12262         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12263         attribute_hidden.
12265 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12267         [BZ #18743]
12268         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12269         code to...
12270         (ELIDE_LOCK): ...here.
12271         (__get_new_count): New function with part of the code from
12272         __elide_lock that updates the value of adapt_count after a
12273         transaction abort.
12274         (__elided_trylock): Moved this code to...
12275         (ELIDE_TRYLOCK): ...here.
12277 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12279         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12280         * configure: Regenerate.
12281         * INSTALL: Regenerate.
12282         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12283         and tweak grammar.
12285 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12287         * login/programs/pt_chown.c: Include signal.h
12288         (main): Clear any signal mask from the parent process.
12290 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12292         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12293         * configure: Regenerated.
12294         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12295         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12296         $(gnu89-inline-CFLAGS).
12298         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12299         test.
12300         (libc_cv_asm_weakext_directive): Likewise.
12301         * configure: Regenerated.
12302         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12303         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12304         * include/libc-symbols.h
12305         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12306         #error.
12307         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12308         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12310         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12311         prototype-style function definition.
12312         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12313         * sysdeps/i386/ffs.c (__ffs): Likewise.
12314         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12315         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12316         Likewise.
12317         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12318         Likewise.
12319         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12320         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12321         Likewise.
12322         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12323         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12324         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12325         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12326         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12327         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12328         * sysdeps/mach/hurd/access.c (__access): Likewise.
12329         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12330         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12331         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12332         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12333         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12334         (cthread_getspecific): Likewise.
12335         (cthread_setspecific): Likewise.
12336         (__libc_getspecific): Likewise.
12337         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12338         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12339         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12340         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12341         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12342         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12343         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12344         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12345         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12346         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12347         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12348         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12349         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12350         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12351         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12352         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12353         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12354         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12355         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12356         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12357         * sysdeps/mach/hurd/link.c (__link): Likewise.
12358         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12359         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12360         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12361         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12362         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12363         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12364         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12365         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12366         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12367         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12368         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12369         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12370         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12371         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12372         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12373         * sysdeps/mach/hurd/send.c (__send): Likewise.
12374         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12375         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12376         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12377         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12378         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12379         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12380         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12381         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12382         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12383         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12384         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12385         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12386         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12387         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12388         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12389         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12390         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12391         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12392         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12393         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12394         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12395         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12396         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12397         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12398         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12399         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12400         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12401         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12402         * sysdeps/posix/alarm.c (alarm): Likewise.
12403         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12404         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12405         * sysdeps/posix/dup.c (__dup): Likewise.
12406         * sysdeps/posix/dup2.c (__dup2): Likewise.
12407         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12408         (main): Likewise.
12409         * sysdeps/posix/flock.c (__flock): Likewise.
12410         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12411         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12412         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12413         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12414         * sysdeps/posix/isatty.c (__isatty): Likewise.
12415         * sysdeps/posix/killpg.c (killpg): Likewise.
12416         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12417         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12418         * sysdeps/posix/raise.c (raise): Likewise.
12419         * sysdeps/posix/remove.c (remove): Likewise.
12420         * sysdeps/posix/rename.c (rename): Likewise.
12421         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12422         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12423         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12424         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12425         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12426         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12427         * sysdeps/posix/sigset.c (sigset): Likewise.
12428         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12429         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12430         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12431         * sysdeps/posix/time.c (time): Likewise.
12432         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12433         (ttyname): Likewise.
12434         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12435         * sysdeps/posix/utime.c (utime): Likewise.
12436         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12437         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12438         Likewise.
12439         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12440         (pthread_spin_trylock): Likewise.
12441         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12442         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12443         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12444         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12445         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12446         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12447         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12448         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12449         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12450         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12451         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12452         * sysdeps/s390/ffs.c (__ffs): Likewise.
12453         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12454         Likewise.
12455         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12456         Likewise.
12457         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12458         Likewise.
12459         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12460         (pthread_barrier_destroy): Likewise.
12461         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12462         (__pthread_barrier_wait): Likewise.
12463         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12464         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12465         (__pthread_barrier_wait): Likewise.
12466         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12467         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12468         (memcmp_not_common_alignment): Likewise.
12469         (MEMCMP): Likewise.
12470         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12471         (_wordcopy_fwd_dest_aligned): Likewise.
12472         (_wordcopy_bwd_aligned): Likewise.
12473         (_wordcopy_bwd_dest_aligned): Likewise.
12474         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12475         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12476         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12477         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12478         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12479         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12480         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12481         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12482         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12483         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12484         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12485         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12486         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12487         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12488         * sysdeps/unix/stime.c (stime): Likewise.
12489         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12490         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12491         Likewise.  Use internal_function.
12492         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12493         Convert to prototype-style function definition.
12494         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12495         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12497         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12498         Likewise.  Use internal_function.
12499         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12500         prototype-style function definition
12501         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12502         Likewise.
12503         (__getlogin_r): Likewise.
12504         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12506         (__pthread_cond_broadcast): Likewise.
12507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12508         (__pthread_cond_destroy): Likewise.
12509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12510         (__pthread_cond_init): Likewise.
12511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12512         (__pthread_cond_signal): Likewise.
12513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12514         (__pthread_cond_wait): Likewise.
12515         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12516         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12517         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12518         Likewise.
12519         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12520         Likewise.
12521         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12522         Likewise.
12523         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12527         (__ftruncate64): Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12529         (truncate64): Likewise.
12530         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12531         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12532         (pthread_getcpuclockid): Likewise.
12533         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12538         Likewise.
12539         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12542         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12543         (__libc_sigaction): Likewise.
12544         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12547         (__sigprocmask): Likewise.
12548         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12549         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12550         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12551         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12552         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12553         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12554         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12555         Likewise.
12556         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12557         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12558         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12559         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12560         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12563         (__sigprocmask): Likewise.
12564         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12565         (cfgetispeed): Likewise.
12566         (cfsetospeed): Likewise.
12567         (cfsetispeed): Likewise.
12568         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12569         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12570         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12571         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12572         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12573         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12574         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12575         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12576         Likewise.
12577         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12578         Likewise.
12579         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12580         Likewise.
12581         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12582         Likewise.
12583         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12585 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12587         sunrpc: Rewrite with explicit TLS access using __thread.
12588         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12589         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12590         directly.
12591         (__rpc_thread_variables): Access thread_rpc_vars directly.
12592         Eliminate redundant assignment of the tvp variable.
12594 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12596         malloc: Rewrite with explicit TLS access using __thread.
12597         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12598         (tsd_setspecific, tsd_getspecific): Remove.
12599         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12600         (tsd_setspecific, tsd_getspecific): Likewise.
12601         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12602         (tsd_setspecific, tsd_getspecific): Likewise.
12603         * malloc/arena.c (thread_arena): New TLS variable.
12604         (arena_key): Remove variable.
12605         (arena_get): Use thread_arena.
12606         (arena_lookup): Remove macro.
12607         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12608         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12609         (_int_new_arena, get_free_list, reused_arena)
12610         (arena_thread_freeres): Use thread_arena.
12611         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12612         tsd_getspecific, tsd_setspecific from safety annotations.
12613         (Allocating Cleared Space): Remove arena_lookup from safety
12614         annotations.
12616 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12618         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12619         struct scratch_buffer instead of extend_alloca.
12621 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12623         * sysdeps/unix/sysv/linux/kernel-features.h
12624         (__ASSUME_SOCK_CLOEXEC): Remove.
12625         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12626         (__have_paccept): Remove unused macro.
12627         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12628         * misc/syslog.c (openlog_internal): Remove fallback code for
12629         !__ASSUME_SOCK_CLOEXEC.
12630         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12631         missing SOCK_CLOEXEC.
12632         * nscd/connections.c (have_sock_cloexec): Remove definition.
12633         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12634         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12635         !__ASSUME_SOCK_CLOEXEC.
12636         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12637         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12638         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12639         definition.
12640         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12641         code for !__ASSUME_SOCK_CLOEXEC.
12643 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12645         [BZ #18982]
12646         * manual/stdio.texi (Variable Arguments Output): Add portability
12647         note, explaining that vfprintf clobbers the va_list pointer.
12649 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12651         * math/libm-test.inc (fabs_test_data): Add more tests.
12652         (fdim_test_data): Likewise.
12653         (fma_test_data): Likewise.
12654         (fmax_test_data): Likewise.
12655         (fmin_test_data): Likewise.
12656         (fmod_test_data): Likewise.
12658 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12660         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12661         data.
12663 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12665         * math/libm-test.inc (ceil_test_data): Add more tests and more
12666         expectations for "inexact".
12667         (floor_test_data): Add more tests.
12668         (round_test_data): Likewise.
12669         (trunc_test_data): Likewise.
12671         * crypt/cert.c (good_bye): Convert to prototype-style function
12672         definition.
12673         (get8): Likewise.
12674         (put8): Likewise.
12675         * crypt/crypt-entry.c (crypt): Likewise.
12676         (__fcrypt): Likewise.
12677         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12678         (_ufc_set_bits): Likewise.
12679         (_ufc_clearmem): Likewise.
12680         (__init_des_r): Likewise.
12681         (shuffle_sb): Likewise.
12682         (shuffle_sb): Likewise.
12683         (_ufc_setup_salt_r): Likewise.
12684         (_ufc_mk_keytab_r): Likewise.
12685         (_ufc_dofinalperm_r): Likewise.
12686         (encrypt): Likewise.
12687         (__setkey_r): Likewise.
12688         (setkey): Likewise.
12689         * crypt/md5.c (md5_init_ctx): Likewise.
12690         (md5_read_ctx): Likewise.
12691         (md5_finish_ctx): Likewise.
12692         (md5_stream): Likewise.
12693         (md5_buffer): Likewise.
12694         (md5_process_bytes): Likewise.
12695         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12696         (__sha256_finish_ctx): Likewise.
12697         (__sha256_process_bytes): Likewise.
12698         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12699         (__sha512_finish_ctx): Likewise.
12700         (__sha512_process_bytes): Likewise.
12701         * ctype/isctype.c (__isctype): Likewise.
12702         * debug/backtrace.c (__backtrace): Likewise.
12703         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12704         * debug/fgets_chk.c (__fgets_chk): Likewise.
12705         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12706         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12707         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12708         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12709         * debug/memset_chk.c (__memset_chk): Likewise.
12710         * debug/strcat_chk.c (__strcat_chk): Likewise.
12711         * debug/strncat_chk.c (__strncat_chk): Likewise.
12712         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12713         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12714         * dirent/dirfd.c (dirfd): Likewise.
12715         * dirent/getdents.c (__getdirentries): Likewise.
12716         * dirent/getdents64.c (getdirentries64): Likewise.
12717         * dirent/rewinddir.c (__rewinddir): Likewise.
12718         * dirent/seekdir.c (seekdir): Likewise.
12719         * dirent/telldir.c (telldir): Likewise.
12720         * elf/sln.c (makesymlinks): Likewise.
12721         (makesymlink): Likewise.
12722         * gmon/gmon.c (__moncontrol): Likewise.
12723         (__monstartup): Likewise.
12724         (write_hist): Likewise.
12725         (write_call_graph): Likewise.
12726         (write_bb_counts): Likewise.
12727         * grp/setgroups.c (setgroups): Likewise.
12728         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12729         * inet/inet_net.c (inet_network): Likewise.
12730         * inet/inet_netof.c (inet_netof): Likewise.
12731         * inet/rcmd.c (rresvport_af): Likewise.
12732         (rresvport): Likewise.
12733         * io/access.c (__access): Likewise.
12734         * io/chdir.c (__chdir): Likewise.
12735         * io/chmod.c (__chmod): Likewise.
12736         * io/chown.c (__chown): Likewise.
12737         * io/close.c (__close): Likewise.
12738         * io/creat.c (creat): Likewise.
12739         * io/creat64.c (creat64): Likewise.
12740         * io/dup.c (__dup): Likewise.
12741         * io/dup2.c (__dup2): Likewise.
12742         * io/dup3.c (__dup3): Likewise.
12743         * io/euidaccess.c (__euidaccess): Likewise.
12744         * io/faccessat.c (faccessat): Likewise.
12745         * io/fchmod.c (__fchmod): Likewise.
12746         * io/fchmodat.c (fchmodat): Likewise.
12747         * io/fchown.c (__fchown): Likewise.
12748         * io/fchownat.c (fchownat): Likewise.
12749         * io/fcntl.c (__fcntl): Likewise.
12750         * io/flock.c (__flock): Likewise.
12751         * io/fts.c (fts_load): Likewise.
12752         (fts_close): Likewise.
12753         (fts_read): Likewise.
12754         (fts_set): Likewise.
12755         (fts_children): Likewise.
12756         (fts_build): Likewise.
12757         (fts_stat): Likewise.
12758         (fts_sort): Likewise.
12759         (fts_alloc): Likewise.
12760         (fts_lfree): Likewise.
12761         (fts_palloc): Likewise.
12762         (fts_padjust): Likewise.
12763         (fts_maxarglen): Likewise.
12764         (fts_safe_changedir): Likewise.
12765         * io/getwd.c (getwd): Likewise.
12766         * io/isatty.c (__isatty): Likewise.
12767         * io/lchown.c (__lchown): Likewise.
12768         * io/link.c (__link): Likewise.
12769         * io/linkat.c (linkat): Likewise.
12770         * io/lseek.c (__libc_lseek): Likewise.
12771         * io/mkdir.c (__mkdir): Likewise.
12772         * io/mkdirat.c (mkdirat): Likewise.
12773         * io/mkfifo.c (mkfifo): Likewise.
12774         * io/mkfifoat.c (mkfifoat): Likewise.
12775         * io/open.c (__libc_open): Likewise.
12776         * io/open64.c (__libc_open64): Likewise.
12777         * io/readlink.c (__readlink): Likewise.
12778         * io/readlinkat.c (readlinkat): Likewise.
12779         * io/rmdir.c (__rmdir): Likewise.
12780         * io/symlink.c (__symlink): Likewise.
12781         * io/symlinkat.c (symlinkat): Likewise.
12782         * io/ttyname.c (ttyname): Likewise.
12783         * io/ttyname_r.c (__ttyname_r): Likewise.
12784         * io/umask.c (__umask): Likewise.
12785         * io/unlink.c (__unlink): Likewise.
12786         * io/unlinkat.c (unlinkat): Likewise.
12787         * io/utime.c (utime): Likewise.
12788         * libio/clearerr.c (clearerr): Likewise.
12789         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12790         * libio/feof.c (_IO_feof): Likewise.
12791         * libio/feof_u.c (feof_unlocked): Likewise.
12792         * libio/ferror.c (_IO_ferror): Likewise.
12793         * libio/ferror_u.c (ferror_unlocked): Likewise.
12794         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12795         * libio/fileno.c (__fileno): Likewise.
12796         * libio/fputc.c (fputc): Likewise.
12797         * libio/fputc_u.c (fputc_unlocked): Likewise.
12798         * libio/fputwc.c (fputwc): Likewise.
12799         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12800         * libio/freopen.c (freopen): Likewise.
12801         * libio/freopen64.c (freopen64): Likewise.
12802         * libio/fseek.c (fseek): Likewise.
12803         * libio/fseeko.c (fseeko): Likewise.
12804         * libio/fseeko64.c (fseeko64): Likewise.
12805         * libio/ftello.c (__ftello): Likewise.
12806         * libio/ftello64.c (ftello64): Likewise.
12807         * libio/fwide.c (fwide): Likewise.
12808         * libio/genops.c (_IO_un_link): Likewise.
12809         (_IO_link_in): Likewise.
12810         (_IO_least_marker): Likewise.
12811         (_IO_switch_to_main_get_area): Likewise.
12812         (_IO_switch_to_backup_area): Likewise.
12813         (_IO_switch_to_get_mode): Likewise.
12814         (_IO_free_backup_area): Likewise.
12815         (_IO_switch_to_put_mode): Likewise.
12816         (__overflow): Likewise.
12817         (__underflow): Likewise.
12818         (__uflow): Likewise.
12819         (_IO_setb): Likewise.
12820         (_IO_doallocbuf): Likewise.
12821         (_IO_default_underflow): Likewise.
12822         (_IO_default_uflow): Likewise.
12823         (_IO_default_xsputn): Likewise.
12824         (_IO_sgetn): Likewise.
12825         (_IO_default_xsgetn): Likewise.
12826         (_IO_sync): Likewise.
12827         (_IO_default_setbuf): Likewise.
12828         (_IO_default_seekpos): Likewise.
12829         (_IO_default_doallocate): Likewise.
12830         (_IO_init): Likewise.
12831         (_IO_old_init): Likewise.
12832         (_IO_default_sync): Likewise.
12833         (_IO_default_finish): Likewise.
12834         (_IO_default_seekoff): Likewise.
12835         (_IO_sputbackc): Likewise.
12836         (_IO_sungetc): Likewise.
12837         (_IO_set_column): Likewise.
12838         (_IO_set_column): Likewise.
12839         (_IO_adjust_column): Likewise.
12840         (_IO_get_column): Likewise.
12841         (_IO_init_marker): Likewise.
12842         (_IO_remove_marker): Likewise.
12843         (_IO_marker_difference): Likewise.
12844         (_IO_marker_delta): Likewise.
12845         (_IO_seekmark): Likewise.
12846         (_IO_unsave_markers): Likewise.
12847         (_IO_nobackup_pbackfail): Likewise.
12848         (_IO_default_pbackfail): Likewise.
12849         (_IO_default_seek): Likewise.
12850         (_IO_default_stat): Likewise.
12851         (_IO_default_read): Likewise.
12852         (_IO_default_write): Likewise.
12853         (_IO_default_showmanyc): Likewise.
12854         (_IO_default_imbue): Likewise.
12855         (_IO_iter_next): Likewise.
12856         (_IO_iter_file): Likewise.
12857         * libio/getc.c (_IO_getc): Likewise.
12858         * libio/getwc.c (_IO_getwc): Likewise.
12859         * libio/iofclose.c (_IO_new_fclose): Likewise.
12860         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12861         * libio/iofflush.c (_IO_fflush): Likewise.
12862         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12863         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12864         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12865         * libio/iofgets.c (_IO_fgets): Likewise.
12866         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12867         * libio/iofgetws.c (fgetws): Likewise.
12868         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12869         * libio/iofopen64.c (_IO_fopen64): Likewise.
12870         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12871         (_IO_cookie_write): Likewise.
12872         (_IO_cookie_seek): Likewise.
12873         (_IO_cookie_close): Likewise.
12874         (_IO_cookie_seekoff): Likewise.
12875         (_IO_old_cookie_seek): Likewise.
12876         * libio/iofputs.c (_IO_fputs): Likewise.
12877         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12878         * libio/iofputws.c (fputws): Likewise.
12879         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12880         * libio/iofread.c (_IO_fread): Likewise.
12881         * libio/iofread_u.c (__fread_unlocked): Likewise.
12882         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12883         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12884         * libio/ioftell.c (_IO_ftell): Likewise.
12885         * libio/iofwrite.c (_IO_fwrite): Likewise.
12886         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12887         * libio/iogets.c (_IO_gets): Likewise.
12888         * libio/iopadn.c (_IO_padn): Likewise.
12889         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12890         (_IO_new_popen): Likewise.
12891         (_IO_new_proc_close): Likewise.
12892         * libio/ioputs.c (_IO_puts): Likewise.
12893         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12894         (_IO_seekoff): Likewise.
12895         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12896         (_IO_seekpos): Likewise.
12897         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12898         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12899         * libio/ioungetc.c (_IO_ungetc): Likewise.
12900         * libio/ioungetwc.c (ungetwc): Likewise.
12901         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12902         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12903         * libio/iowpadn.c (_IO_wpadn): Likewise.
12904         * libio/libc_fatal.c (__libc_fatal): Likewise.
12905         * libio/memstream.c (__open_memstream): Likewise.
12906         (_IO_mem_sync): Likewise.
12907         (_IO_mem_finish): Likewise.
12908         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12909         (_IO_old_file_close_it): Likewise.
12910         (_IO_old_file_finish): Likewise.
12911         (_IO_old_file_fopen): Likewise.
12912         (_IO_old_file_attach): Likewise.
12913         (_IO_old_file_setbuf): Likewise.
12914         (_IO_old_do_write): Likewise.
12915         (old_do_write): Likewise.
12916         (_IO_old_file_underflow): Likewise.
12917         (_IO_old_file_overflow): Likewise.
12918         (_IO_old_file_sync): Likewise.
12919         (_IO_old_file_seekoff): Likewise.
12920         (_IO_old_file_write): Likewise.
12921         (_IO_old_file_xsputn): Likewise.
12922         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12923         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12924         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12925         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12926         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12927         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12928         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12929         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12930         (_IO_old_popen): Likewise.
12931         (_IO_old_proc_close): Likewise.
12932         * libio/oldpclose.c (__old_pclose): Likewise.
12933         * libio/pclose.c (__new_pclose): Likewise.
12934         * libio/peekc.c (_IO_peekc_locked): Likewise.
12935         * libio/putc.c (_IO_putc): Likewise.
12936         * libio/putc_u.c (putc_unlocked): Likewise.
12937         * libio/putchar.c (putchar): Likewise.
12938         * libio/putchar_u.c (putchar_unlocked): Likewise.
12939         * libio/putwc.c (putwc): Likewise.
12940         * libio/putwc_u.c (putwc_unlocked): Likewise.
12941         * libio/putwchar.c (putwchar): Likewise.
12942         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12943         * libio/rewind.c (rewind): Likewise.
12944         * libio/setbuf.c (setbuf): Likewise.
12945         * libio/setlinebuf.c (setlinebuf): Likewise.
12946         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12947         * libio/vscanf.c (_IO_vscanf): Likewise.
12948         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12949         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12950         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12951         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12952         (_IO_switch_to_main_wget_area): Likewise.
12953         (_IO_switch_to_wbackup_area): Likewise.
12954         (_IO_wsetb): Likewise.
12955         (_IO_wdefault_pbackfail): Likewise.
12956         (_IO_wdefault_finish): Likewise.
12957         (_IO_wdefault_uflow): Likewise.
12958         (__woverflow): Likewise.
12959         (__wuflow): Likewise.
12960         (__wunderflow): Likewise.
12961         (_IO_wdefault_xsputn): Likewise.
12962         (_IO_wdefault_xsgetn): Likewise.
12963         (_IO_wdoallocbuf): Likewise.
12964         (_IO_wdefault_doallocate): Likewise.
12965         (_IO_switch_to_wget_mode): Likewise.
12966         (_IO_free_wbackup_area): Likewise.
12967         (_IO_switch_to_wput_mode): Likewise.
12968         (_IO_sputbackwc): Likewise.
12969         (_IO_sungetwc): Likewise.
12970         (_IO_adjust_wcolumn): Likewise.
12971         (_IO_init_wmarker): Likewise.
12972         (_IO_wmarker_delta): Likewise.
12973         (_IO_seekwmark): Likewise.
12974         (_IO_unsave_wmarkers): Likewise.
12975         * libio/wmemstream.c (open_wmemstream): Likewise.
12976         (_IO_wmem_sync): Likewise.
12977         (_IO_wmem_finish): Likewise.
12978         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12979         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12980         * locale/programs/simple-hash.c (init_hash): Likewise.
12981         (delete_hash): Likewise.
12982         (insert_entry): Likewise.
12983         (set_entry): Likewise.
12984         (next_prime): Likewise.
12985         (is_prime): Likewise.
12986         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12987         (xmalloc): Likewise.
12988         (xrealloc): Likewise.
12989         * locale/programs/xstrdup.c (xstrdup): Likewise.
12990         * localedata/collate-test.c (xstrcoll): Likewise.
12991         * localedata/xfrm-test.c (xstrcmp): Likewise.
12992         * login/getlogin_r.c (__getlogin_r): Likewise.
12993         * login/getpt.c (__posix_openpt): Likewise.
12994         * login/login_tty.c (login_tty): Likewise.
12995         * login/setlogin.c (setlogin): Likewise.
12996         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12997         (mach_msg_destroy_port): Likewise.
12998         (mach_msg_destroy_memory): Likewise.
12999         * malloc/mcheck.c (flood): Likewise.
13000         * misc/acct.c (acct): Likewise.
13001         * misc/brk.c (__brk): Likewise.
13002         * misc/chflags.c (chflags): Likewise.
13003         * misc/chroot.c (chroot): Likewise.
13004         * misc/fchflags.c (fchflags): Likewise.
13005         * misc/fstab.c (getfsspec): Likewise.
13006         (getfsfile): Likewise.
13007         * misc/fsync.c (fsync): Likewise.
13008         * misc/ftruncate.c (__ftruncate): Likewise.
13009         * misc/ftruncate64.c (__ftruncate64): Likewise.
13010         * misc/getdomain.c (getdomainname): Likewise.
13011         (getdomainname): Likewise.
13012         * misc/gethostname.c (__gethostname): Likewise.
13013         * misc/getpass.c (getpass): Likewise.
13014         * misc/getttyent.c (skip): Likewise.
13015         (value): Likewise.
13016         * misc/gtty.c (gtty): Likewise.
13017         * misc/hsearch.c (hsearch): Likewise.
13018         (hcreate): Likewise.
13019         * misc/hsearch_r.c (__hcreate_r): Likewise.
13020         (__hdestroy_r): Likewise.
13021         * misc/ioctl.c (__ioctl): Likewise.
13022         * misc/mkdtemp.c (mkdtemp): Likewise.
13023         * misc/mkostemp.c (mkostemp): Likewise.
13024         * misc/mkostemp64.c (mkostemp64): Likewise.
13025         * misc/mkostemps.c (mkostemps): Likewise.
13026         * misc/mkostemps64.c (mkostemps64): Likewise.
13027         * misc/mkstemp.c (mkstemp): Likewise.
13028         * misc/mkstemp64.c (mkstemp64): Likewise.
13029         * misc/mkstemps.c (mkstemps): Likewise.
13030         * misc/mkstemps64.c (mkstemps64): Likewise.
13031         * misc/mktemp.c (__mktemp): Likewise.
13032         * misc/preadv.c (preadv): Likewise.
13033         * misc/preadv64.c (preadv64): Likewise.
13034         * misc/pwritev.c (pwritev): Likewise.
13035         * misc/pwritev64.c (pwritev64): Likewise.
13036         * misc/readv.c (__readv): Likewise.
13037         * misc/revoke.c (revoke): Likewise.
13038         * misc/setdomain.c (setdomainname): Likewise.
13039         * misc/setegid.c (setegid): Likewise.
13040         * misc/seteuid.c (seteuid): Likewise.
13041         * misc/sethostid.c (sethostid): Likewise.
13042         * misc/sethostname.c (sethostname): Likewise.
13043         * misc/setregid.c (__setregid): Likewise.
13044         * misc/setreuid.c (__setreuid): Likewise.
13045         * misc/sstk.c (sstk): Likewise.
13046         * misc/stty.c (stty): Likewise.
13047         * misc/syscall.c (syscall): Likewise.
13048         * misc/syslog.c (setlogmask): Likewise.
13049         * misc/truncate.c (__truncate): Likewise.
13050         * misc/truncate64.c (truncate64): Likewise.
13051         * misc/ualarm.c (ualarm): Likewise.
13052         * misc/usleep.c (usleep): Likewise.
13053         * misc/ustat.c (ustat): Likewise.
13054         * misc/writev.c (__writev): Likewise.
13055         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13056         * nptl/old_pthread_cond_broadcast.c
13057         (__pthread_cond_broadcast_2_0): Likewise.
13058         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13059         Likewise.
13060         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13061         Likewise.
13062         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13063         Likewise.
13064         * nptl/pt-raise.c (raise): Likewise.
13065         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13066         Likewise.
13067         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13068         * nptl/pthread_barrierattr_destroy.c
13069         (pthread_barrierattr_destroy): Likewise.
13070         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13071         Likewise.
13072         * nptl/pthread_barrierattr_setpshared.c
13073         (pthread_barrierattr_setpshared): Likewise.
13074         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13075         Likewise.
13076         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13077         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13078         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13079         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13080         Likewise.
13081         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13082         Likewise.
13083         * nptl/pthread_condattr_getpshared.c
13084         (pthread_condattr_getpshared): Likewise.
13085         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13086         Likewise.
13087         * nptl/pthread_condattr_setpshared.c
13088         (pthread_condattr_setpshared): Likewise.
13089         * nptl/pthread_detach.c (pthread_detach): Likewise.
13090         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13091         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13092         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13093         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13094         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13095         Likewise.
13096         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13097         Likewise.
13098         * nptl/pthread_mutex_getprioceiling.c
13099         (pthread_mutex_getprioceiling): Likewise.
13100         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13101         Likewise.
13102         * nptl/pthread_mutexattr_getprotocol.c
13103         (pthread_mutexattr_getprotocol): Likewise.
13104         * nptl/pthread_mutexattr_getpshared.c
13105         (pthread_mutexattr_getpshared): Likewise.
13106         * nptl/pthread_mutexattr_getrobust.c
13107         (pthread_mutexattr_getrobust): Likewise.
13108         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13109         Likewise.
13110         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13111         Likewise.
13112         * nptl/pthread_mutexattr_setprioceiling.c
13113         (pthread_mutexattr_setprioceiling): Likewise.
13114         * nptl/pthread_mutexattr_setprotocol.c
13115         (pthread_mutexattr_setprotocol): Likewise.
13116         * nptl/pthread_mutexattr_setpshared.c
13117         (pthread_mutexattr_setpshared): Likewise.
13118         * nptl/pthread_mutexattr_setrobust.c
13119         (pthread_mutexattr_setrobust): Likewise.
13120         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13121         Likewise.
13122         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13123         Likewise.
13124         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13125         Likewise.
13126         * nptl/pthread_rwlockattr_getkind_np.c
13127         (pthread_rwlockattr_getkind_np): Likewise.
13128         * nptl/pthread_rwlockattr_getpshared.c
13129         (pthread_rwlockattr_getpshared): Likewise.
13130         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13131         Likewise.
13132         * nptl/pthread_rwlockattr_setkind_np.c
13133         (pthread_rwlockattr_setkind_np): Likewise.
13134         * nptl/pthread_rwlockattr_setpshared.c
13135         (pthread_rwlockattr_setpshared): Likewise.
13136         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13137         Likewise.
13138         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13139         Likewise.
13140         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13141         Likewise.
13142         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13143         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13144         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13145         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13146         * nptl/sem_close.c (sem_close): Likewise.
13147         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13148         * nptl/sem_init.c (__old_sem_init): Likewise.
13149         * nptl/sigaction.c (__sigaction): Likewise.
13150         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13151         * posix/_exit.c (_exit): Likewise.
13152         * posix/alarm.c (alarm): Likewise.
13153         * posix/confstr.c (confstr): Likewise.
13154         * posix/fpathconf.c (__fpathconf): Likewise.
13155         * posix/getgroups.c (__getgroups): Likewise.
13156         * posix/getpgid.c (__getpgid): Likewise.
13157         * posix/group_member.c (__group_member): Likewise.
13158         * posix/pathconf.c (__pathconf): Likewise.
13159         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13160         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13161         * posix/setgid.c (__setgid): Likewise.
13162         * posix/setpgid.c (__setpgid): Likewise.
13163         * posix/setuid.c (__setuid): Likewise.
13164         * posix/sleep.c (__sleep): Likewise.
13165         * posix/sysconf.c (__sysconf): Likewise.
13166         * posix/times.c (__times): Likewise.
13167         * posix/uname.c (__uname): Likewise.
13168         * posix/waitid.c (__waitid): Likewise.
13169         * pwd/getpw.c (__getpw): Likewise.
13170         * resolv/base64.c (b64_pton): Likewise.
13171         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13172         * resolv/gethnamaddr.c (Dprintf): Likewise.
13173         (gethostbyname): Likewise.
13174         (gethostbyname2): Likewise.
13175         (gethostbyaddr): Likewise.
13176         (_sethtent): Likewise.
13177         (_gethtbyname): Likewise.
13178         (_gethtbyname2): Likewise.
13179         (_gethtbyaddr): Likewise.
13180         (map_v4v6_address): Likewise.
13181         (map_v4v6_hostent): Likewise.
13182         (addrsort): Likewise.
13183         (ht_sethostent): Likewise.
13184         (ht_gethostbyname): Likewise.
13185         (ht_gethostbyaddr): Likewise.
13186         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13187         (inet_net_ntop_ipv4): Likewise.
13188         * resolv/inet_neta.c (inet_neta): Likewise.
13189         * resolv/inet_ntop.c (inet_ntop): Likewise.
13190         (inet_ntop4): Likewise.
13191         (inet_ntop6): Likewise.
13192         * resolv/inet_pton.c (__inet_pton): Likewise.
13193         (inet_pton4): Likewise.
13194         (inet_pton6): Likewise.
13195         * resolv/res_debug.c (loc_aton): Likewise.
13196         (loc_ntoa): Likewise.
13197         * resource/getpriority.c (__getpriority): Likewise.
13198         * resource/getrusage.c (__getrusage): Likewise.
13199         * resource/nice.c (nice): Likewise.
13200         * resource/setpriority.c (__setpriority): Likewise.
13201         * resource/setrlimit64.c (setrlimit64): Likewise.
13202         * resource/vlimit.c (vlimit): Likewise.
13203         * resource/vtimes.c (vtimes): Likewise.
13204         * rt/aio_error.c (aio_error): Likewise.
13205         * rt/aio_return.c (aio_return): Likewise.
13206         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13207         * signal/kill.c (__kill): Likewise.
13208         * signal/killpg.c (killpg): Likewise.
13209         * signal/raise.c (raise): Likewise.
13210         * signal/sigaction.c (__sigaction): Likewise.
13211         * signal/sigaddset.c (sigaddset): Likewise.
13212         * signal/sigaltstack.c (sigaltstack): Likewise.
13213         * signal/sigandset.c (sigandset): Likewise.
13214         * signal/sigblock.c (__sigblock): Likewise.
13215         * signal/sigdelset.c (sigdelset): Likewise.
13216         * signal/sigempty.c (sigemptyset): Likewise.
13217         * signal/sigfillset.c (sigfillset): Likewise.
13218         * signal/sighold.c (sighold): Likewise.
13219         * signal/sigignore.c (sigignore): Likewise.
13220         * signal/sigintr.c (siginterrupt): Likewise.
13221         * signal/sigisempty.c (sigisemptyset): Likewise.
13222         * signal/sigismem.c (sigismember): Likewise.
13223         * signal/signal.c (signal): Likewise.
13224         * signal/sigorset.c (sigorset): Likewise.
13225         * signal/sigpause.c (__sigpause): Likewise.
13226         * signal/sigpending.c (sigpending): Likewise.
13227         * signal/sigprocmask.c (__sigprocmask): Likewise.
13228         * signal/sigrelse.c (sigrelse): Likewise.
13229         * signal/sigreturn.c (__sigreturn): Likewise.
13230         * signal/sigset.c (sigset): Likewise.
13231         * signal/sigsetmask.c (__sigsetmask): Likewise.
13232         * signal/sigstack.c (sigstack): Likewise.
13233         * signal/sigsuspend.c (__sigsuspend): Likewise.
13234         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13235         * signal/sysv_signal.c (__sysv_signal): Likewise.
13236         * socket/accept.c (accept): Likewise.
13237         * socket/accept4.c (__libc_accept4): Likewise.
13238         * socket/bind.c (__bind): Likewise.
13239         * socket/connect.c (__connect): Likewise.
13240         * socket/getpeername.c (getpeername): Likewise.
13241         * socket/getsockname.c (__getsockname): Likewise.
13242         * socket/getsockopt.c (getsockopt): Likewise.
13243         * socket/listen.c (__listen): Likewise.
13244         * socket/recv.c (__recv): Likewise.
13245         * socket/recvmsg.c (__recvmsg): Likewise.
13246         * socket/send.c (__send): Likewise.
13247         * socket/sendmsg.c (__sendmsg): Likewise.
13248         * socket/shutdown.c (shutdown): Likewise.
13249         * socket/sockatmark.c (sockatmark): Likewise.
13250         * socket/socket.c (__socket): Likewise.
13251         * stdio-common/ctermid.c (ctermid): Likewise.
13252         * stdio-common/cuserid.c (cuserid): Likewise.
13253         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13254         * stdio-common/remove.c (remove): Likewise.
13255         * stdio-common/rename.c (rename): Likewise.
13256         * stdio-common/renameat.c (renameat): Likewise.
13257         * stdio-common/tempname.c (__gen_tempname): Likewise.
13258         * stdio-common/xbug.c (InitBuffer): Likewise.
13259         (AppendToBuffer): Likewise.
13260         (ReadFile): Likewise.
13261         * stdlib/a64l.c (a64l): Likewise.
13262         * stdlib/drand48_r.c (drand48_r): Likewise.
13263         * stdlib/getcontext.c (getcontext): Likewise.
13264         * stdlib/getenv.c (getenv): Likewise.
13265         * stdlib/l64a.c (l64a): Likewise.
13266         * stdlib/llabs.c (llabs): Likewise.
13267         * stdlib/lldiv.c (lldiv): Likewise.
13268         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13269         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13270         * stdlib/putenv.c (putenv): Likewise.
13271         * stdlib/random.c (__srandom): Likewise.
13272         (__initstate): Likewise.
13273         (__setstate): Likewise.
13274         * stdlib/random_r.c (__srandom_r): Likewise.
13275         (__setstate_r): Likewise.
13276         (__random_r): Likewise.
13277         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13278         * stdlib/setcontext.c (setcontext): Likewise.
13279         * stdlib/setenv.c (setenv): Likewise.
13280         (unsetenv): Likewise.
13281         * stdlib/srand48.c (srand48): Likewise.
13282         * stdlib/srand48_r.c (__srand48_r): Likewise.
13283         * stdlib/swapcontext.c (swapcontext): Likewise.
13284         * stdlib/system.c (__libc_system): Likewise.
13285         * stdlib/tst-strtod.c (expand): Likewise.
13286         * stdlib/tst-strtol.c (expand): Likewise.
13287         * stdlib/tst-strtoll.c (expand): Likewise.
13288         * streams/fattach.c (fattach): Likewise.
13289         * streams/fdetach.c (fdetach): Likewise.
13290         * streams/getmsg.c (getmsg): Likewise.
13291         * streams/isastream.c (isastream): Likewise.
13292         * string/ffs.c (__ffs): Likewise.
13293         * string/ffsll.c (ffsll): Likewise.
13294         * string/memcmp.c (memcmp_common_alignment): Likewise.
13295         (memcmp_not_common_alignment): Likewise.
13296         (MEMCMP): Likewise.
13297         * string/memcpy.c (memcpy): Likewise.
13298         * string/memmove.c (MEMMOVE): Likewise.
13299         * string/memset.c (memset): Likewise.
13300         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13301         * string/strchrnul.c (STRCHRNUL): Likewise.
13302         * string/strerror.c (strerror): Likewise.
13303         * string/strndup.c (__strndup): Likewise.
13304         * string/strverscmp.c (__strverscmp): Likewise.
13305         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13306         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13307         (clnttcp_freeres): Likewise.
13308         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13309         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13310         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13311         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13312         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13313         (xdr_callhdr): Likewise.
13314         * sunrpc/rpcinfo.c (udpping): Likewise.
13315         (tcpping): Likewise.
13316         (pstatus): Likewise.
13317         (pmapdump): Likewise.
13318         (brdcst): Likewise.
13319         (deletereg): Likewise.
13320         (getprognum): Likewise.
13321         (getvers): Likewise.
13322         (get_inet_address): Likewise.
13323         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13324         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13325         (svcudp_stat): Likewise.
13326         (svcudp_recv): Likewise.
13327         (svcudp_reply): Likewise.
13328         (svcudp_getargs): Likewise.
13329         (svcudp_freeargs): Likewise.
13330         (svcudp_destroy): Likewise.
13331         * sunrpc/xdr.c (xdr_bytes): Likewise.
13332         (xdr_netobj): Likewise.
13333         (xdr_string): Likewise.
13334         (xdr_wrapstring): Likewise.
13335         * sunrpc/xdr_float.c (xdr_float): Likewise.
13336         (xdr_double): Likewise.
13337         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13338         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13339         * sysvipc/ftok.c (ftok): Likewise.
13340         * sysvipc/msgctl.c (msgctl): Likewise.
13341         * sysvipc/msgget.c (msgget): Likewise.
13342         * sysvipc/msgrcv.c (msgrcv): Likewise.
13343         * sysvipc/msgsnd.c (msgsnd): Likewise.
13344         * sysvipc/semget.c (semget): Likewise.
13345         * sysvipc/semop.c (semop): Likewise.
13346         * sysvipc/shmat.c (shmat): Likewise.
13347         * sysvipc/shmctl.c (shmctl): Likewise.
13348         * sysvipc/shmdt.c (shmdt): Likewise.
13349         * sysvipc/shmget.c (shmget): Likewise.
13350         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13351         * termios/speed.c (cfgetospeed): Likewise.
13352         (cfgetispeed): Likewise.
13353         (cfsetospeed): Likewise.
13354         (cfsetispeed): Likewise.
13355         * termios/tcflow.c (tcflow): Likewise.
13356         * termios/tcflush.c (tcflush): Likewise.
13357         * termios/tcgetattr.c (__tcgetattr): Likewise.
13358         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13359         * termios/tcgetsid.c (tcgetsid): Likewise.
13360         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13361         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13362         * time/adjtime.c (__adjtime): Likewise.
13363         * time/dysize.c (dysize): Likewise.
13364         * time/ftime.c (ftime): Likewise.
13365         * time/getitimer.c (__getitimer): Likewise.
13366         * time/gettimeofday.c (__gettimeofday): Likewise.
13367         * time/gmtime.c (__gmtime_r): Likewise.
13368         (gmtime): Likewise.
13369         * time/localtime.c (__localtime_r): Likewise.
13370         (localtime): Likewise.
13371         * time/offtime.c (__offtime): Likewise.
13372         * time/settimeofday.c (__settimeofday): Likewise.
13373         * time/stime.c (stime): Likewise.
13374         * time/strftime_l.c (tm_diff): Likewise.
13375         (iso_week_days): Likewise.
13376         * time/strptime.c (strptime): Likewise.
13377         * time/time.c (time): Likewise.
13378         * time/timespec_get.c (timespec_get): Likewise.
13379         * time/tzset.c (tzset_internal): Likewise.
13380         (compute_change): Likewise.
13381         (__tz_compute): Likewise.
13382         * wcsmbs/btowc.c (__btowc): Likewise.
13383         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13384         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13385         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13386         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13387         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13388         * wcsmbs/wcscat.c (__wcscat): Likewise.
13389         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13390         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13391         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13392         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13393         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13394         * wcsmbs/wcslen.c (__wcslen): Likewise.
13395         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13396         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13397         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13398         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13399         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13400         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13401         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13402         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13403         * wcsmbs/wcstok.c (wcstok): Likewise.
13404         * wcsmbs/wctob.c (wctob): Likewise.
13405         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13406         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13407         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13408         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13409         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13410         * wcsmbs/wmemset.c (__wmemset): Likewise.
13411         * wctype/wcfuncs.c (__towlower): Likewise.
13412         (__towupper): Likewise.
13414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13415         (lll_unlock_elision): Add adapt_count parameter.
13417 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13419         * sysdeps/nptl/configure.ac: Do not give errors based on the
13420         results of top-level configure tests.
13421         * sysdeps/nptl/configure: Regenerated.
13423         * configure.ac (libc_cv_Bgroup): Remove configure test.
13424         * configure: Regenerated.
13425         * config.make.in (have-Bgroup): Remove variable.
13427         * configure.ac (sizeof_long_double): Remove configure test.
13428         * configure: Regenerated.
13429         * config.make.in (sizeof-long-double): Remove variable.
13431         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13432         * configure: Regenerated.
13433         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13434         variable.
13435         (exceptions): Likewise.
13436         * sysdeps/arm/configure: Regenerated.
13437         * config.make.in (exceptions): Remove variable.
13438         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13439         $(exceptions).
13440         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13441         (CFLAGS-vdprintf_chk.c): Likewise.
13442         (CFLAGS-printf_chk.c): Likewise.
13443         (CFLAGS-fprintf_chk.c): Likewise.
13444         (CFLAGS-vprintf_chk.c): Likewise.
13445         (CFLAGS-vfprintf_chk.c): Likewise.
13446         (CFLAGS-gets_chk.c): Likewise.
13447         (CFLAGS-fgets_chk.c): Likewise.
13448         (CFLAGS-fgets_u_chk.c): Likewise.
13449         (CFLAGS-fread_chk.c): Likewise.
13450         (CFLAGS-fread_u_chk.c): Likewise.
13451         (CFLAGS-wprintf_chk.c): Likewise.
13452         (CFLAGS-fwprintf_chk.c): Likewise.
13453         (CFLAGS-vwprintf_chk.c): Likewise.
13454         (CFLAGS-vfwprintf_chk.c): Likewise.
13455         (CFLAGS-fgetws_chk.c): Likewise.
13456         (CFLAGS-fgetws_u_chk.c): Likewise.
13457         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13458         (CFLAGS-fputc.c): Likewise.
13459         (CFLAGS-fputwc.c): Likewise.
13460         (CFLAGS-freopen64.c): Likewise.
13461         (CFLAGS-freopen.c): Likewise.
13462         (CFLAGS-fseek.c): Likewise.
13463         (CFLAGS-fseeko64.c): Likewise.
13464         (CFLAGS-fseeko.c): Likewise.
13465         (CFLAGS-ftello64.c): Likewise.
13466         (CFLAGS-ftello.c): Likewise.
13467         (CFLAGS-fwide.c): Likewise.
13468         (CFLAGS-genops.c): Likewise.
13469         (CFLAGS-getc.c): Likewise.
13470         (CFLAGS-getchar.c): Likewise.
13471         (CFLAGS-getwc.c): Likewise.
13472         (CFLAGS-getwchar.c): Likewise.
13473         (CFLAGS-iofclose.c): Likewise.
13474         (CFLAGS-iofflush.c): Likewise.
13475         (CFLAGS-iofgetpos64.c): Likewise.
13476         (CFLAGS-iofgetpos.c): Likewise.
13477         (CFLAGS-iofgets.c): Likewise.
13478         (CFLAGS-iofgetws.c): Likewise.
13479         (CFLAGS-iofputs.c): Likewise.
13480         (CFLAGS-iofputws.c): Likewise.
13481         (CFLAGS-iofread.c): Likewise.
13482         (CFLAGS-iofsetpos64.c): Likewise.
13483         (CFLAGS-iofsetpos.c): Likewise.
13484         (CFLAGS-ioftell.c): Likewise.
13485         (CFLAGS-iofwrite.c): Likewise.
13486         (CFLAGS-iogetdelim.c): Likewise.
13487         (CFLAGS-iogetline.c): Likewise.
13488         (CFLAGS-iogets.c): Likewise.
13489         (CFLAGS-iogetwline.c): Likewise.
13490         (CFLAGS-ioputs.c): Likewise.
13491         (CFLAGS-ioseekoff.c): Likewise.
13492         (CFLAGS-ioseekpos.c): Likewise.
13493         (CFLAGS-iosetbuffer.c): Likewise.
13494         (CFLAGS-iosetvbuf.c): Likewise.
13495         (CFLAGS-ioungetc.c): Likewise.
13496         (CFLAGS-ioungetwc.c): Likewise.
13497         (CFLAGS-oldfileops.c): Likewise.
13498         (CFLAGS-oldiofclose.c): Likewise.
13499         (CFLAGS-oldiofgetpos64.c): Likewise.
13500         (CFLAGS-oldiofgetpos.c): Likewise.
13501         (CFLAGS-oldiofsetpos64.c): Likewise.
13502         (CFLAGS-oldiofsetpos.c): Likewise.
13503         (CFLAGS-peekc.c): Likewise.
13504         (CFLAGS-putc.c): Likewise.
13505         (CFLAGS-putchar.c): Likewise.
13506         (CFLAGS-putwc.c): Likewise.
13507         (CFLAGS-putwchar.c): Likewise.
13508         (CFLAGS-rewind.c): Likewise.
13509         (CFLAGS-wfileops.c): Likewise.
13510         (CFLAGS-wgenops.c): Likewise.
13511         (CFLAGS-oldiofopen.c): Likewise.
13512         (CFLAGS-iofopen.c): Likewise.
13513         (CFLAGS-iofopen64.c): Likewise.
13514         (CFLAGS-oldtmpfile.c): Likewise.
13515         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13516         (CFLAGS-fprintf.c): Likewise.
13517         (CFLAGS-printf.c): Likewise.
13518         (CFLAGS-vfwprintf.c): Likewise.
13519         (CFLAGS-vfscanf.c): Likewise.
13520         (CFLAGS-vfwscanf.c): Likewise.
13521         (CFLAGS-fscanf.c): Likewise.
13522         (CFLAGS-scanf.c): Likewise.
13523         (CFLAGS-isoc99_vfscanf.c): Likewise.
13524         (CFLAGS-isoc99_vscanf.c): Likewise.
13525         (CFLAGS-isoc99_fscanf.c): Likewise.
13526         (CFLAGS-isoc99_scanf.c): Likewise.
13527         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13528         (CFLAGS-isoc99_fwscanf.c): Likewise.
13529         (CFLAGS-isoc99_vwscanf.c): Likewise.
13530         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13532         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13533         after mkstemp64.
13534         * login/tst-utmp.c (do_prepare): Likewise.
13535         * rt/tst-aio.c (do_prepare): Likewise.
13536         * rt/tst-aio64.c (do_prepare): Likewise.
13538 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13540         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13541         (__lll_lock_elision): Remove adapt_count decrement...
13542         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13543         (__lll_trylock_elision): Likewise.
13544         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13545         (__lll_unlock_elision): ... to here. And utilize
13546         new adapt_count parameter.
13547         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13548         (__lll_unlock_elision): Update to include adapt_count
13549         parameter.
13550         (lll_unlock_elision): Pass pointer to adapt_count
13551         variable.
13553 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13555         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13556         Add elision adapt_count parameter to list of arguments.
13557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13558         (lll_unlock_elision): Update with new parameter list
13559         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13560         (lll_unlock_elision): Likewise.
13561         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13562         (lll_unlock_elision): Likewise.
13564 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13566         [BZ #19122]
13567         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13568         attribute_hidden.
13570         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13571         attribute_hidden.
13572         [IS_IN (rtld)] (__strdup): Likewise.
13573         [IS_IN (rtld)] (__strerror_r): Likewise.
13574         [IS_IN (rtld)] (__strsep_g): Likewise.
13575         [IS_IN (rtld)] (memchr): Likewise.
13576         [IS_IN (rtld)] (memcmp): Likewise.
13577         [IS_IN (rtld)] (memcpy): Likewise.
13578         [IS_IN (rtld)] (memmove): Likewise.
13579         [IS_IN (rtld)] (memset): Likewise.
13580         [IS_IN (rtld)] (rawmemchr): Likewise.
13581         [IS_IN (rtld)] (stpcpy): Likewise.
13582         [IS_IN (rtld)] (strchr): Likewise.
13583         [IS_IN (rtld)] (strcmp): Likewise.
13584         [IS_IN (rtld)] (strlen): Likewise.
13585         [IS_IN (rtld)] (strnlen): Likewise.
13586         [IS_IN (rtld)] (strsep): Likewise.
13588         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13589         attribute_hidden.
13590         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13592         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13593         attribute_hidden.
13594         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13596         * include/setjmp.h (__longjmp): Add attribute_hidden.
13597         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13599         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13600         Add attribute_hidden.
13602         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13603         [IS_IN (rtld)] (__open): Likewise.
13604         [IS_IN (rtld)] (__fcntl): Likewise.
13606         * include/dirent.h (__opendirat): Add attribute_hidden.
13607         (__getdents): Likewise.
13608         (__getdents64): Likewise.
13609         (__alloc_dir): Likewise.
13610         [IS_IN (rtld)] (__closedir): Likewise.
13611         [IS_IN (rtld)] (__fdopendir): Likewise.
13612         [IS_IN (rtld)] (__readdir): Likewise.
13613         [IS_IN (rtld)] (__readdir64): Likewise.
13614         [IS_IN (rtld)] (__rewinddir): Likewise.
13616         * include/dlfcn.h (_dl_catch_error): Moved to ...
13617         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13618         attribute_hidden.
13620         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13621         (_itoa_word): Likewise.
13623         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13624         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13625         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13626         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13627         (_dl_higher_prime_number): Likewise.
13628         (_dl_debug_printf_c): Likewise.
13629         (_dl_signal_cerror): Likewise.
13630         (_dl_receive_error): Likewise.
13631         (_dl_reloc_bad_type): Likewise.
13632         (_dl_resolve_conflicts): Likewise.
13633         (_dl_check_all_versions): Likewise.
13634         (_dl_check_map_versions): Likewise.
13635         (_dl_sort_fini): Likewise.
13636         (_dl_debug_initialize): Likewise.
13637         (_dl_init_paths): Likewise.
13638         (_dl_show_auxv): Likewise.
13639         (_dl_next_ld_env_entry): Likewise.
13640         (_dl_important_hwcaps): Likewise.
13641         (_dl_load_cache_lookup): Likewise.
13642         (_dl_update_slotinfo): Likewise.
13643         (_dl_show_scope): Likewise.
13645         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13646         attribute_hidden.
13647         (_wordcopy_fwd_dest_aligned): Likewise.
13648         (_wordcopy_bwd_aligned): Likewise.
13649         (_wordcopy_bwd_dest_aligned): Likewise.
13651         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13652         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13653         Likewise.
13654         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13655         Likewise.
13656         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13658 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13661         GCC 5 requirement.
13663 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13665         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13666         test.
13667         * sysdeps/i386/configure: Regenerated.
13668         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13669         code unconditional.
13671         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13672         test.
13673         (libc_cv_asm_popsection_directive): Likewise.
13674         * configure: Regenerated.
13675         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13676         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13677         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13678         (__make_section_unallocated): Make definition unconditional.
13679         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13680         Remove conditional definition.
13681         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13682         (__make_section_unallocated): Likewise.
13684         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13685         * configure: Regenerated.
13686         * config.make.in (static-libgcc): Remove variable.
13687         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13688         $(static-libgcc).
13689         (build-module-helper): Likewise.
13691         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13692         * configure: Regenerated.
13694 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13696         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13697         (struct char_buffer): New type.
13698         (char_buffer_start, char_buffer_size, char_buffer_error)
13699         (char_buffer_rewind, char_buffer_add): New functions.
13700         (ADDW): Remove macro, replaced by the char_buffer_add function.
13701         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13702         of extend_alloca.  Make control flow more explicit.
13704 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13706         [BZ #19137]
13707         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13708         Add -fomit-frame-pointer.
13709         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13711 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13713         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13714         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13716         only if !__GNUC_PREREQ (5,0).
13717         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13718         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13719         (INTERNAL_SYSCALL_NCS): Likewise.
13720         (LOADREGS_0): New macro for GCC 5.
13721         (ASMARGS_0): Likewise.
13722         (LOADREGS_1): Likewise.
13723         (ASMARGS_1): Likewise.
13724         (LOADREGS_2): Likewise.
13725         (ASMARGS_2): Likewise.
13726         (LOADREGS_3): Likewise.
13727         (ASMARGS_3): Likewise.
13728         (LOADREGS_4): Likewise.
13729         (ASMARGS_4): Likewise.
13730         (LOADREGS_5): Likewise.
13731         (ASMARGS_5): Likewise.
13732         (LOADREGS_6): Likewise.
13733         (ASMARGS_6): Likewise.
13735 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13737         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13738         -fomit-frame-pointer.
13739         (CFLAGS-mmap64.c): Likewise.
13740         (CFLAGS-semtimedop.c): Likewise.
13741         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13742         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13743         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13744         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13746 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13748         [BZ #18928]
13749         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13750         _dl_pointer_guard member.
13751         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13752         initializer.
13753         (security_init): Always set up pointer guard.
13754         (process_envvars): Do not process LD_POINTER_GUARD.
13756 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13758         [BZ #19134]
13759         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13760         (.LC2): Likewise.
13761         (.LC3): Likewise.
13762         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13764 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13766         [BZ #19129]
13767         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13768         r0 and r1.
13770 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13772         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13774 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13776         * include/stap-probe.h: Fix macro definition formatting.
13778 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13780         [BZ #19074]
13781         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13782         load and store num_ifs.
13784 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13786         [BZ #18822]
13787         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13788         (__sched_getaffinity_new): Add libc_hidden_proto and
13789         libc_hidden_def.
13791 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13793         [BZ #19007]
13794         * scripts/localplt.awk: Also allow GOT references.
13795         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13796         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13797         with "+ REL R_386_GLOB_DAT".
13798         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13799         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13801 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13803         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13804         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13805         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13806         Likewise.
13807         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13808         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13809         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13810         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13811         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13812         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13813         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13814         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13815         Likewise.
13816         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13818 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13820         [BZ #19125]
13821         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13822         <math_private.h> and <stdint.h>.
13823         (__llround): Avoid conversions to and from long long int, and
13824         subtractions, where those might raise spurious exceptions.
13825         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13826         <math_private.h> and <stdint.h>.
13827         (__llroundf): Avoid conversions to and from long long int, and
13828         subtractions, where those might raise spurious exceptions.
13830 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13832         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13833         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13834         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13835         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13836         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13837         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13838         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13839         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13840         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13841         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13842         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13843         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13844         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13845         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13846         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13847         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13848         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13849         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13850         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13851         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13852         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13853         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13854         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13855         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13856         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13857         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13858         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13859         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13860         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13861         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13862         (__xstat64_conv): Likewise.
13863         (__xstat32_conv): Likewise.
13865 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13867         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13868         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13869         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13870         <sysdeps/unix/sysv/linux/sysdep.h>.
13871         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13872         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13873         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13874         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13875         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13876         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13877         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13878         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13879         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13884         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13885         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13887         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13888         (sysdep-dl-routines): Add sysdep.
13889         [$(subdir) == nptl] (libpthread-routines): Likewise.
13890         [$(subdir) == rt] (librt-routines): Likewise.
13891         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13892         PIC when branching to SYSCALL_ERROR_LABEL.
13893         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13895         <sysdeps/unix/sysv/linux/sysdep.h>.
13896         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13897         (SYSCALL_ERROR_ERRNO): Removed.
13898         (SYSCALL_ERROR_HANDLER): Changed to empty.
13899         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13900         (__syscall_error): New prototype.
13901         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13902         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13904 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13906         [BZ #19124]
13907         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13908         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13909         _dl_runtime_resolve_avx.
13910         (_dl_runtime_profile_avx512): Make it a hidden alias of
13911         _dl_runtime_profile_avx.
13913 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13915         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13916         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13917         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13918         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13920         [BZ #16422]
13921         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13922         New configure test.
13923         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13924         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13925         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13926         <math_private.h> and <stdint.h>.
13927         (__llrint): Avoid conversions to long long int where those might
13928         raise spurious exceptions.
13929         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13930         <math_private.h> and <stdint.h>.
13931         (__llrintf): Avoid conversions to long long int where those might
13932         raise spurious exceptions.
13934 2015-10-12  Andreas Schwab  <schwab@suse.de>
13936         [BZ #18969]
13937         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13938         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13939         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13940         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13941         $(gen-locales).
13942         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13943         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13944         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13945         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13946         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13947         $(gen-locales).
13948         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13949         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13950         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13951         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13952         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13953         ($(objpfx)tst-ftell-active-handler.out)
13954         ($(objpfx)tst-ftell-append.out)
13955         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13956         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13957         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13958         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13959         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13960         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13961         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13962         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13963         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13964         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13965         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13966         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13967         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13968         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13969         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13970         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13971         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13972         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13973         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13974         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13975         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13976         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13977         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13978         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13979         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13980         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13981         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13982         $(gen-locales).
13983         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13984         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13985         $(gen-locales).
13986         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13987         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13988         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13989         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13990         $(gen-locales).
13991         * libio/tst_wprintf2.c (main): Use explicit locale.
13992         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13994 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13996         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13997         __msg_sig_post.
13998         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14000 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14002         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14003         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14005         * sysdeps/arm/libm-test-ulps: Regenerated.
14007         [BZ #15470]
14008         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14010         [BZ #16399]
14011         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14012         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14013         and <fix-fp-int-convert-overflow.h>.
14014         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14015         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14016         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14017         and <fix-fp-int-convert-overflow.h>.
14018         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14019         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14020         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14021         <fix-fp-int-convert-overflow.h>.
14022         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14023         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14024         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14025         <fix-fp-int-convert-overflow.h>.
14026         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14027         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14028         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14029         and <fix-fp-int-convert-overflow.h>.
14030         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14031         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14032         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14033         <limits.h> and <fix-fp-int-convert-overflow.h>.
14034         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14035         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14036         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14037         and <fix-fp-int-convert-overflow.h>.
14038         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14039         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14040         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14041         and <fix-fp-int-convert-overflow.h>.
14042         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14043         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14044         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14046 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14048         [BZ #18589]
14049         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14050         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14051         $(gen-locales).
14053 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14054             Phil Blundell <pb@pbcl.net>
14056         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14057         * nptl/tst-cancel26.c: New file.
14058         * nptl/tst-cancel27.c: Likewise.
14060 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14062         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14063         __ILP32__ isn't defined.
14064         (lrint): Likewise.
14065         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14066         (lrintf): Likewise.
14067         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14068         (lrintl): Likewise.
14069         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14070         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14071         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14073 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14078         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14079         file.
14080         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14081         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14083 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14085         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14086         configure test.
14087         * sysdeps/i386/configure: Regenerated.
14088         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14089         configure test.
14090         * sysdeps/x86_64/configure: Regenerated.
14091         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14092         Make code unconditional.
14094         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14095         test.
14096         * sysdeps/i386/configure: Regenerated.
14097         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14098         test.
14099         * sysdeps/x86_64/configure: Regenerated.
14100         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14101         Make code unconditional.
14102         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14103         Likewise.
14104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14105         Likewise.
14106         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14107         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14108         code unconditional.
14109         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14110         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14111         code unconditional.
14112         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14113         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14114         code unconditional.
14115         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14116         code unconditional.
14117         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14118         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14119         code unconditional.
14120         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14121         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14122         code unconditional.
14123         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14124         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14125         code unconditional.
14126         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14127         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14128         code unconditional.
14129         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14130         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14132         [BZ #19095]
14133         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14134         mantissa to long int before shifting left.
14136 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14138         [BZ #19094]
14139         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14140         <limits.h>.
14141         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14142         when result overflows but exception would not result from cast.
14143         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14144         <limits.h>.
14145         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14146         when result overflows but exception would not result from cast.
14147         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14148         <limits.h>.
14149         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14150         when result overflows but exception would not result from cast.
14151         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14152         <limits.h>.
14153         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14154         when result overflows but exception would not result from cast.
14155         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14156         <limits.h>.
14157         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14158         when result overflows but exception would not result from cast.
14159         * math/libm-test.inc (lrint_test_data): Add more tests.
14160         (llrint_test_data): Likewise.
14162 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14164         [BZ #18872]
14165         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14166         Move out from under [$(run-built-tests) = yes] conditional.
14167         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14168         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14170 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14172         [BZ #18589]
14173         * string/Makefile (tests): Add bug-strcoll2.
14174         (LOCALES): Add cs_CZ.UTF-8.
14175         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14177         [BZ #18589]
14178         * string/bug-strcoll2.c: New file.
14179         * locale/categories.def: Revert commit
14180         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14181         * locale/langinfo.h: Likewise.
14182         * locale/localeinfo.h: Likewise.
14183         * locale/C-collate.c: Likewise.
14184         * locale/programs/ld-collate.c (collate_output): Likewise.
14185         * string/strcoll_l.c (STRDIFF): Likewise.
14186         (STRCOLL): Likewise.
14187         * wcsmbs/wcscoll_l.c: Likewise.
14189 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14191         * math/libm-test.inc (lround_test_data): Do not expect the absence
14192         of "inexact" for some tests with non-integer arguments.
14193         (llround_test_data): Likewise.
14195         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14196         test.
14197         (libc_cv_cc_sse2avx): Likewise.
14198         * sysdeps/i386/configure: Regenerated.
14199         * sysdeps/i386/i686/multiarch/Makefile
14200         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14201         [$(subdir) = math].
14202         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14203         code unconditional.
14204         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14205         Likewise.
14206         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14207         Likewise.
14208         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14209         Likewise.
14210         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14211         test.
14212         (libc_cv_cc_sse2avx): Likewise.
14213         * sysdeps/x86_64/configure: Regenerated.
14214         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14215         unconditional.
14216         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14217         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14218         unconditional.
14219         (_dl_runtime_profile)
14220         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14221         conditional code.
14222         * sysdeps/x86_64/fpu/multiarch/Makefile
14223         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14224         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14226         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14227         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14228         * sysdeps/x86_64/fpu/multiarch/e_log.c
14229         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14230         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14231         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14232         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14233         Likewise.
14234         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14235         Likewise.
14236         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14238         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14239         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14240         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14241         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14242         (HAVE_SSE2AVX_SUPPORT): Likewise.
14244 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14246         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14247         instead of #pragma optimize.
14249 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14251         [BZ #17195]
14252         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14253         as is similarly done in systrim and _int_free already.
14255 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14257         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14259 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14261         [BZ #19088]
14262         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14263         <limits.h>.
14264         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14265         overflows but exception would not result from cast.
14266         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14267         and <limits.h>.
14268         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14269         overflows but exception would not result from cast.
14270         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14271         <limits.h>.
14272         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14273         overflows but exception would not result from cast.
14274         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14275         <limits.h>.
14276         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14277         overflows but exception would not result from cast.
14278         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14279         <limits.h>.
14280         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14281         overflows but exception would not result from cast.
14282         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14283         <limits.h>.
14284         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14285         overflows but exception would not result from cast.
14286         * math/libm-test.inc (lround_test_data): Add more tests.
14287         (llround_test_data): Likewise.
14289 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14291         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14292         (CFLAGS-ialloc.c): Ditto.
14293         (CFLAGS-scheck.c): Ditto.
14295 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14297         [BZ #19086]
14298         * manual/filesys.texi (Storage Allocation): Fix argument order for
14299         posix_fallocate64.
14301 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14303         [BZ #19085]
14304         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14305         exponent below 48 inside case for non-overflowing exponent.
14306         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14308 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14310         * iconvdata/cp737.h (from_idx): Add const.
14311         * iconvdata/cp775.h (from_idx): Likewise.
14313 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14315         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14316         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14317         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14319         [BZ #19079]
14320         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14321         file, conditioned on [!_LP64].
14322         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14323         [!_LP64] (__lround): Do not define as function or alias.
14324         [!_LP64] (lround): Likewise.
14325         [!_LP64] (__lroundl): Likewise.
14326         [!_LP64] (lroundl): Likewise.
14327         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14328         macro.
14329         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14330         Likewise.
14332 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14334         * math/libm-test.inc (lrint_test_data): Add more tests.
14335         (llrint_test_data): Likewise.
14336         (lround_test_data): Likewise.
14337         (llround_test_data): Likewise.
14339         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14340         (llrint_test_data): Add tests used for lrint.
14342         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14343         test.
14344         * sysdeps/i386/configure: Regenerated.
14345         * sysdeps/i386/i686/multiarch/Makefile
14346         [$(config-cflags-sse4) = yes]: Make code unconditional.
14347         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14348         Likewise.
14349         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14350         Likewise.
14351         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14352         test.
14353         * sysdeps/x86_64/configure: Regenerated.
14354         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14355         Make code unconditional.
14356         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14357         Likewise.
14358         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14359         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14361         * scripts/rpm2dynsym.sh: Remove file.
14363 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14365         * configure.ac (libc_cv_cxx_thread_local): Define.
14366         * configure: Regenerate.
14367         * config.make.in (have-cxx-thread_local): Define.
14368         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14369         (LDLIBS-tst-thread_local1): Define.
14370         (tests): Add tst-thread_local1.
14371         [have-cxx-thread_local != yes] (tests-unsupported): Add
14372         tst-thread_local1.
14373         * nptl/tst-thread_local1.cc: New file.
14375 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14377         [BZ #19078]
14378         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14379         (u_thres): Likewise.
14380         (__expl): Determine whether to call __kernel_standard_l based on
14381         value of result, not argument.
14383         * math/libm-test.inc (scalb_test_data): Add more expectations for
14384         the "inexact" exception.
14386         [BZ #19077]
14387         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14388         0.0L for argument 1.0L.
14390         [BZ #19076]
14391         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14392         constant 0.0L when computing infinite result.
14394 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14396         [BZ #10432]
14397         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14398         malloc_usable_size.
14400 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14402         [BZ #19018]
14403         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14404         Mangle function pointer before storing it.
14405         (__call_tls_dtors): Demangle function pointer before calling it.
14407 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14409         [BZ #19012]
14410         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14411         Clean up on failure.
14413 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #19071]
14416         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14417         long int variable to store possibly incremented high part of
14418         mantissa.
14419         * math/libm-test.inc (lround_test_data): Add tests used for
14420         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14421         for tests requiring 64-bit long.  Do not condition tests on
14422         [TEST_FLOAT] unnecessarily.
14423         (llround_test_data): Add tests used for lround.  Add another
14424         expectation for the "inexact" exception.  Do not condition tests
14425         on [TEST_FLOAT] unnecessarily.
14427         [BZ #887]
14428         [BZ #19049]
14429         [BZ #19050]
14430         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14431         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14432         <fix-int-fp-convert-zero.h>.
14433         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14434         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14435         <fix-int-fp-convert-zero.h>.
14436         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14437         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14438         <fix-int-fp-convert-zero.h>.
14439         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14440         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14441         <fix-int-fp-convert-zero.h>.
14442         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14443         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14444         <fix-int-fp-convert-zero.h>.
14445         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14446         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14447         <fix-int-fp-convert-zero.h>.
14448         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14449         * sysdeps/ieee754/flt-32/s_erff.c: Include
14450         <fix-int-fp-convert-zero.h>.
14451         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14452         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14453         <fix-int-fp-convert-zero.h>.
14454         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14456         <fix-int-fp-convert-zero.h>.
14457         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14458         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14459         <fix-int-fp-convert-zero.h>.
14460         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14461         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14462         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14463         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14464         file.
14465         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14467 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14471 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14473         [BZ #19059]
14474         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14475         overflowing computation.
14476         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14477         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14478         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14479         Likewise.
14480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14481         Likewise.
14482         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14483         Likewise.
14484         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14485         Likewise.
14486         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14487         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14488         Likewise.
14489         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14490         Likewise.
14491         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14493         * nss/rewrite_field.c (__nss_rewrite_field): Use
14494         internal_function.
14495         * nss/valid_field.c (__nss_valid_field): Likewise.
14496         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14498 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14500         [BZ #18724]
14501         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14502         (__nss_invalid_field_characters, __nss_valid_field)
14503         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14504         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14505         tst-field.c: New file.
14506         * nss/Makefile (routines): Add valid_field, rewrite_field.
14507         (tests-static): Define unconditionally.
14508         (tests): Include tests-static.
14509         [build-static-nss] (tests-static): Use append.
14510         [build-static-nss] (tests): Remove modification.
14511         * nss/getent.c (print_group): Call putgrent.  Report error.
14512         (print_gshadow): Call putsgent.  Report error.
14513         (print_passwd): Call putpwent.  Report error.
14514         (print_shadow): Call putspent.  Report error.
14515         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14516         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14517         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14518         name, password, directory, shell fields for valid syntax.  Rewrite
14519         GECOS field to match syntax.
14520         * pwd/Makefile (tests): Add tst-putpwent.
14521         * pwd/tst-putpwent.c: New file.
14522         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14523         Check grName, grpasswd, gr_mem fields for valid syntax.
14524         Change loop variable i to size_t.
14525         * grp/Makefile (tests): Add tst-putgrent.
14526         * grp/tst-putgrent.c: New file.
14527         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14528         valid syntax.
14529         * shadow/Makefile (tests): Add tst-putspent.
14530         * shadow/tst-putspent.c: New file.
14531         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14532         sg_mem fields for valid syntax.
14533         * gshadow/Makefile (tests): Add tst-putsgent.
14534         * gshadow/tst-putsgent.c: New file.
14536 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14538         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14539         assembly instructions.
14541 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14543         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14544         prefix from operands.
14546 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14548         [BZ #16347]
14549         [BZ #19046]
14550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14551         <libc-internal.h>.
14552         (MAXLGM): Do not use diagnostic control macros.
14553         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14554         threshold for ldbl-128ibm.
14555         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14556         instead of multiplying by log then subtracting.
14557         * math/auto-libm-test-in: Add more tests of lgamma.
14558         * math/auto-libm-test-out: Regenerated.
14560         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14561         (TYPE_HEX_DIG): Likewise.
14562         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14563         precisions when printing floating-point numbers.
14564         (check_float_internal): Likewise.
14566 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14568         [BZ #16620]
14569         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14570         of log (10) rounded downward to 48 bits.
14571         (log10_low): Use corresponding low part of log (10).
14573         [BZ #19032]
14574         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14575         compute result as (x - x) / (x - x) not as 0 / 0.
14576         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14577         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14579         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14580         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14581         and expm1.
14582         * math/auto-libm-test-out: Regenerated.
14583         * math/libm-test.inc (acos_test_data): Add more tests.
14584         (asin_test_data): Likewise.
14585         (asinh_test_data): Likewise.
14586         (atan_test_data): Likewise.
14587         (atanh_test_data): Likewise.
14588         (atan2_test_data): Likewise.
14589         (cbrt_test_data): Likewise.
14590         (ceil_test_data): Likewise.
14591         (copysign_test_data): Likewise.
14592         (cos_test_data): Likewise.
14593         (cosh_test_data): Likewise.
14594         (erf_test_data): Likewise.
14595         (erfc_test_data): Likewise.
14596         (exp_test_data): Likewise.
14597         (exp10_test_data): Likewise.
14598         (exp2_test_data): Likewise.
14599         (expm1_test_data): Likewise.
14600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14602 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14604         [BZ #19006]
14605         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14606         to ...
14607         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14608         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14609         to ...
14610         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14611         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14612         to ...
14613         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14614         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14615         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14616         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14617         to ...
14618         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14619         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14620         Moved to ...
14621         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14622         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14623         Moved to ...
14624         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14625         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14626         to ...
14627         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14628         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14629         Moved to ...
14630         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14632         to ...
14633         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14634         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14635         Removed.
14636         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14637         Likewise.
14638         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14639         Likewise.
14640         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14641         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14642         Likewise.
14643         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14644         Likewise.
14645         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14646         Likewise.
14647         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14648         Likewise.
14649         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14650         Likewise.
14651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14652         Likewise.
14653         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14656         Likewise.
14657         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14658         Likewise.
14659         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14660         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14661         Likewise.
14662         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14663         Likewise.
14664         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14665         Likewise.
14666         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14669         Likewise.
14670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14671         Replace ../i486/pthread_cond_timedwait.S with
14672         ../pthread_cond_timedwait.S.
14674 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14676         * math/libm-test.inc (acos_test_data): Refine expectations for
14677         errno and "inexact" exceptions.
14678         (acosh_test_data): Likewise.
14679         (asin_test_data): Likewise.
14680         (asinh_test_data): Likewise.
14681         (atan_test_data): Likewise.
14682         (atanh_test_data): Likewise.
14683         (atan2_test_data): Likewise.
14684         (cbrt_test_data): Likewise.
14685         (ceil_test_data): Likewise.
14686         (copysign_test_data): Likewise.
14687         (cosh_test_data): Likewise.
14688         (erf_test_data): Likewise.
14689         (erfc_test_data): Likewise.
14690         (exp_test_data): Likewise.
14691         (exp10_test_data): Likewise.
14692         (exp2_test_data): Likewise.
14693         (expm1_test_data): Likewise.
14694         (fabs_test_data): Likewise.
14695         (floor_test_data): Likewise.
14696         (fma_test_data): Likewise.
14697         (fmax_test_data): Likewise.
14698         (fmin_test_data): Likewise.
14699         (fmod_test_data): Likewise.
14700         (fpclassify_test_data): Likewise.
14701         (frexp_test_data): Likewise.
14702         (hypot_test_data): Likewise.
14703         (ilogb_test_data): Likewise.
14704         (isgreater_test_data): Likewise.
14705         (isgreaterequal_test_data): Likewise.
14706         (isinf_test_data): Likewise.
14707         (isless_test_data): Likewise.
14708         (islessequal_test_data): Likewise.
14709         (islessgreater_test_data): Likewise.
14710         (isnan_test_data): Likewise.
14711         (isnormal_test_data): Likewise.
14712         (issignaling_test_data): Likewise.
14713         (isunordered_test_data): Likewise.
14714         (j0_test_data): Likewise.
14715         (j1_test_data): Likewise.
14716         (jn_test_data): Likewise.
14717         (lgamma_test_data): Likewise.
14718         (lrint_test_data): Likewise.
14719         (llrint_test_data): Likewise.
14720         (log_test_data): Likewise.
14721         (log10_test_data): Likewise.
14722         (log1p_test_data): Likewise.
14723         (log2_test_data): Likewise.
14724         (logb_test_data): Likewise.
14725         (lround_test_data): Likewise.
14726         (llround_test_data): Likewise.
14727         (modf_test_data): Likewise.
14728         (nearbyint_test_data): Likewise.
14729         (nextafter_test_data): Likewise.
14730         (nexttoward_test_data): Likewise.
14731         (pow_test_data): Likewise.
14732         (remainder_test_data): Likewise.
14733         (remquo_test_data): Likewise.
14734         (rint_test_data): Likewise.
14735         (round_test_data): Likewise.
14736         (signbit_test_data): Likewise.
14737         (sinh_test_data): Likewise.
14738         (sqrt_test_data): Likewise.
14739         (tanh_test_data): Likewise.
14740         (tgamma_test_data): Likewise.
14741         (trunc_test_data): Likewise.
14742         (y0_test_data): Likewise.
14743         (y1_test_data): Likewise.
14744         (yn_test_data): Likewise.
14745         (significand_test_data): Likewise.
14747 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14749         * manual/filesys.texi (Storage Allocation): Document that
14750         posix_fallocate emulation fails when fd is open with O_WRONLY.
14752 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14754         [BZ #19016]
14755         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14756         allow more cases with X^2 + Y^2 >= 0.5.
14757         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14758         normal element in sum instead of special-casing based on values of
14759         arguments.
14760         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14761         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14762         -1 as normal element in sum instead of special-casing based on
14763         values of arguments.
14764         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14765         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14766         (__x2y2m1): Update comment.
14767         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14768         as normal element in sum instead of special-casing based on values
14769         of arguments.
14770         * math/s_clog.c (__clog): Handle more cases using log1p without
14771         hypot.
14772         * math/s_clog10.c (__clog10): Likewise.
14773         * math/s_clog10f.c (__clog10f): Likewise.
14774         * math/s_clog10l.c (__clog10l): Likewise.
14775         * math/s_clogf.c (__clogf): Likewise.
14776         * math/s_clogl.c (__clogl): Likewise.
14777         * math/auto-libm-test-in: Add more tests of clog and clog10.
14778         * math/auto-libm-test-out: Regenerated.
14779         * sysdeps/i386/fpu/libm-test-ulps: Update.
14780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782 2015-09-28  Martin Sebor  <msebor@redhat.com>
14784         [BZ #18969]
14785         * string/Makefile (LOCALES): Define.
14786         (gen-locales.mk): Include.
14787         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14788         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14789         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14790         on setlocale failure.
14792 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14794         [BZ #18985]
14795         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14796         (__strftime_internal): Likewise.
14797         * time/tst-strftime.c (do_bz18985): New test.
14798         (do_test): Call it.
14800 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14802         [BZ #18956]
14803         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14804         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14805         extracting high part.
14806         * math/auto-libm-test-in: Add another test of pow.
14807         * math/auto-libm-test-out: Regenerated.
14808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14810 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14812         [BZ #18825]
14813         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14814         New macro.
14815         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14816         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14817         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14818         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14819         DBL_NARROW_EVAL, reloading the PIC register as needed.
14820         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14821         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14822         FLT_NARROW_EVAL.  Use separate return path for case when first
14823         argument is NaN.
14824         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14825         DEFINE_LDBL_MIN.
14826         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14827         PIC register.
14828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14829         math_check_force_underflow_nonneg.
14830         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14831         underflow for subnormal result.
14832         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14833         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14834         math_check_force_underflow_nonneg.
14835         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14836         math_check_force_underflow.
14837         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14838         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14839         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14840         DEFINE_LDBL_MIN.
14841         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14842         * math/auto-libm-test-in: Add more tests of pow.
14843         * math/auto-libm-test-out: Regenerated.
14845 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14847         * nss/bug17079.c (init_test_items): Add diagnostic for
14848         inconsistent entries.
14849         (test_buffer_size): Skip inconsistent entries.
14851 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14853         [BZ #13304]
14854         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14855         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14856         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14858         [BZ #13304]
14859         * sysdeps/microblaze/s_fma.c: New file.
14860         * sysdeps/microblaze/s_fmaf.c: Likewise.
14861         * sysdeps/microblaze/sfp-machine.h: Likewise.
14863 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14865         [BZ #17250]
14866         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14867         member.
14869 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14871         [BZ #18803]
14872         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14873         (MO): New macro.
14874         (__ieee754_hypot) [PIC]: Load PIC register.
14875         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14876         DBL_NARROW_EVAL.
14877         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14878         math_check_force_underflow_nonneg in case where result might be
14879         tiny.
14880         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14881         Likewise.
14882         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14883         Likewise.
14884         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14885         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14886         * math/auto-libm-test-in: Add more tests of hypot.
14887         * math/auto-libm-test-out: Regenerated.
14889 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14891         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14893 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14895         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14896         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14897         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14898         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14899         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14900         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14901         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14903         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14904         LOAD_PIC_REG.
14906         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14907         (FLT_CHECK_FORCE_UFLOW): Likewise.
14908         (DBL_CHECK_FORCE_UFLOW): Likewise.
14909         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14910         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14911         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14912         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14913         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14914         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14915         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14916         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14917         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14918         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14919         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14920         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14921         (flt_min): Replace with use of DEFINE_FLT_MIN.
14922         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14923         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14924         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14925         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14926         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14927         (flt_min): Replace with use of DEFINE_FLT_MIN.
14928         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14929         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14930         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14931         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14932         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14933         (flt_min): Replace with use of DEFINE_FLT_MIN.
14934         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14935         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14936         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14937         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14938         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14939         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14940         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14941         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14942         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14943         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14944         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14945         (flt_min): Replace with use of DEFINE_FLT_MIN.
14946         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14947         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14948         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14949         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14950         main computation.
14951         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14952         (flt_min): Replace with use of DEFINE_FLT_MIN.
14953         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14954         main computation.
14955         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14956         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14957         (MO): New macro.
14958         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14959         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14960         (flt_min): Replace with use of DEFINE_FLT_MIN.
14961         (MO): New macro.
14962         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14963         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14964         (__log1pl): Use MO.
14966         [BZ #19003]
14967         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14968         $(config-cflags-nofma).
14970 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14972         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14974 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14976         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14977         (TWO127): Likewise.
14979         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14980         (min_of_type): Likewise.
14981         (math_check_force_underflow): Likewise.
14982         (math_check_force_underflow_nonneg): Likewise.
14983         (math_check_force_underflow_complex): Likewise.
14984         * math/e_exp2l.c (__ieee754_exp2l): Use
14985         math_check_force_underflow_nonneg.
14986         * math/k_casinh.c (__kernel_casinh): Likewise.
14987         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14988         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14989         * math/s_catan.c (__catan): Use
14990         math_check_force_underflow_complex.
14991         * math/s_catanf.c (__catanf): Likewise.
14992         * math/s_catanh.c (__catanh): Likewise.
14993         * math/s_catanhf.c (__catanhf): Likewise.
14994         * math/s_catanhl.c (__catanhl): Likewise.
14995         * math/s_catanl.c (__catanl): Likewise.
14996         * math/s_ccosh.c (__ccosh): Likewise.
14997         * math/s_ccoshf.c (__ccoshf): Likewise.
14998         * math/s_ccoshl.c (__ccoshl): Likewise.
14999         * math/s_cexp.c (__cexp): Likewise.
15000         * math/s_cexpf.c (__cexpf): Likewise.
15001         * math/s_cexpl.c (__cexpl): Likewise.
15002         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15003         * math/s_clog10.c (__clog10): Likewise.
15004         * math/s_clog10f.c (__clog10f): Likewise.
15005         * math/s_clog10l.c (__clog10l): Likewise.
15006         * math/s_clogf.c (__clogf): Likewise.
15007         * math/s_clogl.c (__clogl): Likewise.
15008         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15009         * math/s_csinf.c (__csinf): Likewise.
15010         * math/s_csinh.c (__csinh): Likewise.
15011         * math/s_csinhf.c (__csinhf): Likewise.
15012         * math/s_csinhl.c (__csinhl): Likewise.
15013         * math/s_csinl.c (__csinl): Likewise.
15014         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15015         * math/s_csqrtf.c (__csqrtf): Likewise.
15016         * math/s_csqrtl.c (__csqrtl): Likewise.
15017         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15018         * math/s_ctanf.c (__ctanf): Likewise.
15019         * math/s_ctanh.c (__ctanh): Likewise.
15020         * math/s_ctanhf.c (__ctanhf): Likewise.
15021         * math/s_ctanhl.c (__ctanhl): Likewise.
15022         * math/s_ctanl.c (__ctanl): Likewise.
15023         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15024         instead of volatile.
15025         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15026         math_check_force_underflow.
15027         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15028         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15029         volatile when forcing underflow.
15030         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15031         math_check_force_underflow_nonneg.
15032         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15033         Likewise.
15034         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15035         math_check_force_underflow.
15036         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15037         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15038         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15039         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15040         math_check_force_underflow_nonneg.
15041         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15042         math_check_force_underflow.
15043         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15045         instead of volatile.
15046         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15047         math_check_force_underflow.
15048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15049         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15050         math_check_force_underflow_nonneg.
15051         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15052         math_check_force_underflow.
15053         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15054         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15055         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15056         math_check_force_underflow_nonneg.
15057         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15058         Likewise.
15059         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15060         math_check_force_underflow.
15061         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15062         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15063         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15064         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15065         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15066         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15067         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15068         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15069         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15070         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15071         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15072         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15073         Likewise.
15074         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15075         math_check_force_underflow_nonneg.
15076         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15077         Likewise.
15078         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15079         math_check_force_underflow.
15080         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15081         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15082         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15083         Likewise.
15084         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15085         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15086         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15087         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15088         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15089         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15090         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15091         instead of volatile.
15092         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15093         math_check_force_underflow.
15094         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15095         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15096         math_check_force_underflow.
15097         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15098         Likewise.
15099         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15100         Use math_check_force_underflow_nonneg.
15101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15102         math_check_force_underflow.
15103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15104         Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15106         Likewise.
15107         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15108         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15109         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15112         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15113         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15114         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15115         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15116         math_check_force_underflow_nonneg.
15117         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15118         math_check_force_underflow.
15119         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15120         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15121         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15122         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15123         math_check_force_underflow_nonneg.
15124         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15125         math_check_force_underflow.
15126         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15128         instead of volatile.
15129         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15130         math_check_force_underflow.
15132         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15133         * stdlib/strtod_l.c: Include <math_private.h>.
15134         (overflow_value): Use math_narrow_eval.
15135         (underflow_value): Likewise.
15136         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15137         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15138         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15139         (__ieee754_gamma_r): Likewise.
15140         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15141         Likewise.
15142         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15143         Likewise.
15144         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15145         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15146         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15147         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15148         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15149         (__ieee754_gammaf_r): Likewise.
15150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15151         Likewise.
15152         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15153         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15154         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15155         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15156         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15157         volatile.
15158         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15159         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15160         math_narrow_eval.
15161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15162         Likewise.
15163         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15164         Likewise.
15165         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15166         Likewise.
15167         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15168         volatile.
15169         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15170         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15171         math_narrow_eval.
15172         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15173         Likewise.
15174         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15175         Likewise.
15177 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15179         * nptl/Versions: Remove ignored symbols.
15181 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15183         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15184         * nss/Makefile (tests): Update.
15186 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15188         * nss/bug18287.c: New file.
15189         * nss/Makefile (tests): Add bug18287.
15191 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15193         * mach/Versions (__mach_host_self_): Add symbol.
15195 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15197         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15198         vm_page_size.
15200 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15202         Really fix sysdeps/i386/fpu/s_scalbn.S build
15204         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15205         (libc: GLIBC_2_22): Remove unused version set.
15207 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15209         * config.make.in (enable-timezone-tools): New variable.
15210         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15211         (enable_timezone_tools): Export to generated files.
15212         * configure: Regenerate.
15213         * INSTALL: Regenerate.
15214         * manual/install.texi (--disable-timezone-tools): Document new flag.
15215         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15216         ifeq ($(enable-timezone-tools),yes) check.
15218 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15220         * timezone/Makefile: Revert previous change.
15222         [BZ #18980]
15223         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15224         (DEFINE_DBL_MIN): Likewise.
15225         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15226         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15227         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15228         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15229         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15230         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15231         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15232         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15233         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15234         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15235         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15236         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15237         (flt_min): Replace with use of DEFINE_FLT_MIN.
15238         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15239         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15240         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15241         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15242         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15243         (flt_min): Replace with use of DEFINE_FLT_MIN.
15244         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15245         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15246         (flt_min): Replace with use of DEFINE_FLT_MIN.
15247         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15248         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15249         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15250         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15251         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15252         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15253         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15254         (__ieee754_pow): Use DBL_NARROW_EVAL.
15255         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15256         (__ieee754_powf): Use FLT_NARROW_EVAL.
15257         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15258         (__ieee754_expf_sse2): Convert double-precision result to single
15259         precision.
15260         * sysdeps/i386/fpu/libm-test-ulps: Update.
15262 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15264         * timezone/Makefile: Ignore unused variable errors due to private.h
15265         (time_t_min) and (time_t_max).
15266         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15267         Likewise.
15269 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15271         [BZ #18981]
15272         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15273         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15274         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15275         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15276         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15277         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15278         (__scalbn): Use DBL_NARROW_EVAL.
15279         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15280         (__scalbnf): Use FLT_NARROW_EVAL.
15282 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15284         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15285         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15286         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15287         * stdio-common/printf_fp.c (___printf_fp):
15288         Use signbit to get the sign. Use isinf macro to allow inlining.
15289         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15290         * stdio-common/printf_size.c (__printf_size): Likewise.
15292 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15294         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15296 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15298         [BZ #18980]
15299         * sysdeps/generic/math_private.h: Include <float.h>.
15300         (math_narrow_eval): New macro.
15301         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15302         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15303         math_narrow_eval on overflowing return value.
15304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15305         Likewise.
15306         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15307         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15308         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15309         Likewise.
15310         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15312 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15314         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15315         * math/Makefile: Remove isinf_ns.c.
15316         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15317         * math/multc3.c (__multc3): Likewise.
15318         * math/s_casin.c (__casin): Likewise.
15319         * math/s_casinf.c (__casinf): Likewise.
15320         * math/s_casinl.c (__casinl): Likewise.
15321         * math/s_cproj.c (__cproj): Likewise.
15322         * math/s_cprojf.c (__cprojf): Likewise.
15323         * math/s_cprojl.c (__cprofl): Likewise.
15324         * math/s_ctan.c (__ctan): Likewise.
15325         * math/s_ctanf.c (__ctanf): Likewise.
15326         * math/s_ctanh.c (__ctanh): Likewise.
15327         * math/s_ctanhf.c (__ctanhf): Likewise.
15328         * math/s_ctanhl.c (__ctanhl): Likewise.
15329         * math/s_ctanl.c (__ctanl): Likewise.
15330         * math/w_fmod.c (__fmod): Likewise.
15331         * math/w_fmodf.c (__fmodf): Likewise.
15332         * math/w_fmodl.c (_fmodl): Likewise.
15333         * math/w_remainder.c (__remainder): Likewise.
15334         * math/w_remainderf.c (__remainderf): Likewise.
15335         * math/w_remainderl.c (__remainderl): Likewise.
15336         * math/w_scalb.c (__scalb): Likewise.
15337         * math/w_scalbf.c (__scalbf): Likewise.
15338         * math/w_scalbl.c (__scalbl): Likewise.
15339         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15340         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15341         with isinf.
15342         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15344         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15345         __isinf_nsf with isinf.
15346         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15347         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15348         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15349         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15350         with isinf.
15351         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15352         __isinf_nsl with isinf.
15353         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15354         with isinf.
15355         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15356         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15357         __isinf_nsl with isinf.
15358         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15359         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15360         with isinf.
15362 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15364         * resolv/base64.c (rcsid): Remove unused static.
15365         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15366         static.  (tqpi1): Likewise.
15367         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15368         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15369         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15370         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15371         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15372         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15373         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15374         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15375         Likewise.
15377 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15379         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15380         <nptl/pthreadP.h>.
15381         (_longjmp_unwind): Use __libc_ptf_call.
15382         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15384 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15386         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15387         * sysdeps/arm/__longjmp.S: Likewise.
15389 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15391         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15392         Use __builtin_signbit.
15393         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15394         Use __builtin_signbitf.
15395         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15396         Use __builtin_signbitl.
15397         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15398         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15400 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15402         [BZ #15367]
15403         [BZ #17441]
15405         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15406         * math/math.h (fpclassify): Use __builtin_fpclassify when
15407         available.  (signbit): Use __builtin_signbit(f/l).
15408         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15409         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15410         (isinf): Use __builtin_isinf_sign.
15412 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15414         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15415         * benchtests/bench-math-inlines.c: New benchmark.
15416         * benchtests/bench-util.h: New file.
15417         * benchtests/bench-util.c: New file.
15418         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15420 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15422         * elf/tst-dlmopen1.c: Define TEST_SO.
15423         (do_test): Use TEST_SO.
15425         * elf/dl-load.c: Include libc-internal.h.
15426         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15428 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15430         [BZ #17887]
15431         * time/strptime_l.c (__strptime_internal): Make %z accept
15432         [+-]HH:MM time zones.
15434 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15436         [BZ #17886]
15437         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15438         valid time zone.
15440 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15442         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15443         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15445         (__ASSUME_FDATASYNC): Delete.
15447 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15449         * conform/linknamespace.pl: Require weak undefined symbols to be
15450         in the standard namespace.
15451         (%strong_syms): Rename to %seen_syms.
15452         (%strong_seen): Rename to %seen_where.
15454 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15456         [BZ #18970]
15457         * misc/error.c (error): Replace pthread_setcancelstate with
15458         __pthread_setcancelstate.
15459         (error_at_line): Likewise.
15460         * posix/wordexp.c (parse_comm): Likewise.
15461         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15462         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15463         (__pthread_setcancelstate): This.
15464         (pthread_setcancelstate): Add an alias.
15465         * nptl/nptl-init.c (pthread_functions): Replace
15466         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15467         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15468         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15469         hidden_proto.
15470         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15471         it with hidden_def.
15472         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15473         (pthread_setcancelstate): Renamed to ...
15474         (__pthread_setcancelstate): This.
15475         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15476         __libc_ptf_call with __pthread_setcancelstate.
15478 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15479             Andreas Schwab  <schwab@suse.de>
15481         [BZ #17118]
15482         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15483         result when imaginary part of argument is infinite using sine and
15484         cosine.
15485         * math/s_ctanf.c (__ctanf): Likewise.
15486         * math/s_ctanl.c (__ctanl): Likewise.
15487         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15488         of result when real part of argument is infinite using sine and
15489         cosine.
15490         * math/s_ctanhf.c (__ctanhf): Likewise.
15491         * math/s_ctanhl.c (__ctanhl): Likewise.
15492         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15493         (ctanh_test_data): Add more tests of ctanh.
15495 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15497         [BZ #15384]
15498         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15499         bit-mask as in subtraction.
15500         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15501         Likewise.
15502         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15503         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15506         [BZ #18951]
15507         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15508         underflow exception for small results.
15509         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15510         Likewise.
15511         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15512         Likewise.
15513         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15514         Likewise.
15515         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15516         Likewise.
15517         * math/auto-libm-test-in: Add more tests of tgamma.
15518         * math/auto-libm-test-out: Regenerated.
15520 2015-09-17  Andreas Schwab  <schwab@suse.de>
15522         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15524 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15526         [BZ #18977]
15527         * math/bits/mathcalls.h
15528         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15529         not declare.
15530         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15531         Likewise.
15532         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15533         Likewise.
15534         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15535         Likewise.
15536         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15537         Likewise.
15538         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15539         Likewise.
15540         * conform/data/math.h-data
15541         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15542         function.
15543         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15544         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15545         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15546         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15547         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15548         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15551         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15555         [BZ #6803]
15556         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15557         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15558         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15559         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15560         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15561         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15562         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15563         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15564         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15566         Likewise.
15567         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15568         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15569         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15570         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15571         long_double_symbol calls.
15572         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15573         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15574         strong alias of __ldexpl.
15575         (scalbnl): Define using long_double_symbol.
15576         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15577         Remove alias.
15578         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15579         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15580         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15581         (scalbln_test_data): Add more errno expectations.
15583 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15585         Cache the host port like we cache the task port.  This way we do not
15586         need to call the kernel just to get the port.  Furthermore, we no
15587         longer increase the reference count on every invocation of
15588         `mach_host_self'.
15590         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15591         Protect declarations against the macro expansion.
15592         * mach/mach_init.c (__mach_host_self_): New variable.
15593         (mach_init): Initialize `__mach_host_self_'.
15594         * mach/mach_init.h (__mach_host_self_): New declaration.
15595         (__mach_host_self, mach_host_self): New macros.
15596         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15597         Release reference.
15599 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15601         [BZ #4404]
15602         * po/de.po: Update from Translation Project.
15604         [BZ #16415]
15605         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15606         (__expm1l): Remove code to handle positive infinity and overflow.
15607         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15608         variable.
15609         (__expm1l): Remove code to handle positive infinity and overflow.
15611 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15612             Paul Pluzhnikov  <ppluzhnikov@google.com>
15614         [BZ #18872]
15615         * stdio-common/Makefile (tst-printf-bz18872): New test.
15616         (tst-printf-bz18872-mem.out): Likewise.
15617         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15618         * stdio-common/vfprintf.c: Fix memory leaks.
15620 2015-09-16  Andreas Schwab  <schwab@suse.de>
15622         [BZ #17244]
15623         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15624         Remove extra va_start/va_end calls.
15626         [BZ #17243]
15627         * posix/execl.c (execl): Add missing va_end.
15628         * posix/execle.c (execle): Likewise.
15629         * posix/execlp.c (execlp): Likewise.
15631 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15633         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15634         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15636 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15638         [BZ #18967]
15639         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15640         undefine around includes of <bits/mathcalls.h>.
15641         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15642         not declare function.
15643         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15644         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15645         (scalb): Likewise.
15646         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15647         not define macro.
15648         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15649         variable.
15650         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15651         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15652         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15654         [BZ #18857]
15655         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15656         return non-finite argument without doing ordered comparisons on
15657         it.
15659         [BZ #16296]
15660         * math/fenv.h (fegetround): Use __attribute_pure__.
15661         * include/fenv.h (__fegetround): Likewise.
15663         [BZ #18595]
15664         * math/s_ctan.c (__ctan): Force underflow exception for results
15665         whose real or imaginary part has small absolute value.
15666         * math/s_ctanf.c (__ctanf): Likewise.
15667         * math/s_ctanh.c (__ctanh): Likewise.
15668         * math/s_ctanhf.c (__ctanhf): Likewise.
15669         * math/s_ctanhl.c (__ctanhl): Likewise.
15670         * math/s_ctanl.c (__ctanl): Likewise.
15671         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15672         and ctanh.  Add more tests of ctan and ctanh.
15674         [BZ #15918]
15675         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15676         handling of cases where one argument is an infinity.
15678         [BZ #18875]
15679         [BZ #18966]
15680         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15681         (MO): New macro.
15682         (__ieee754_exp10): For small results, force underflow exception
15683         and remove excess range and precision from return value.
15684         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15685         (MO): New macro.
15686         (__ieee754_exp10f): For small results, force underflow exception
15687         and remove excess range and precision from return value.
15688         * math/auto-libm-test-in: Add more tests of exp10.
15689         * math/auto-libm-test-out: Regenerated.
15691 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15693         [BZ #18875]
15694         [BZ #18961]
15695         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15696         (MO): New macro.
15697         (__ieee754_exp): For small results, force underflow exception and
15698         remove excess range and precision from return value.
15699         (__exp_finite): Likewise.
15700         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15701         (MO): New macro.
15702         (__ieee754_expf): For small results, force underflow exception and
15703         remove excess range and precision from return value.
15704         (__expf_finite): Likewise.
15705         * math/auto-libm-test-in: Add more tests of exp.
15706         * math/auto-libm-test-out: Regenerated.
15708         [BZ #16521]
15709         [BZ #18875]
15710         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15711         small results.
15712         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15713         (MO): New macro.
15714         (__ieee754_exp2): For small results, force underflow exception and
15715         remove excess range and precision from return value.
15716         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15717         (MO): New macro.
15718         (__ieee754_exp2f): For small results, force underflow exception
15719         and remove excess range and precision from return value.
15720         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15721         (MO): New macro.
15722         (__ieee754_exp2l): Force underflow exception for small results.
15723         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15724         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15725         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15726         (MO): New macro.
15727         (__ieee754_exp2l): Force underflow exception for small results.
15728         * math/auto-libm-test-in: Add more tests or exp2.
15729         * math/auto-libm-test-out: Regenerated.
15731 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15733         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15735         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15736         /dev/null.
15738 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15740         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15741         io fs process)): Drop spurious backslash.
15743 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15745         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15746         Use sysinfo system call instead of parsing /proc/meminfo.
15747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15748         Likewise.
15750 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15752         [BZ #16985]
15753         * programs/localedef.c (main): Display argv[remaining] when
15754         output_path is NULL.
15756 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15758         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15759         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15760         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15761         tanh.
15762         * math/auto-libm-test-out: Regenerated.
15763         * sysdeps/i386/fpu/libm-test-ulps: Update.
15764         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15765         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15768 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15770         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15771         Use 'override' keyword to freeze the value here, preventing
15772         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15774 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15776         [BZ #14912]
15777         * sysdeps/aarch64/bits/atomic.h: Move to ...
15778         * sysdeps/aarch64/atomic-machine.h: ...here.
15779         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15780         _AARCH64_ATOMIC_MACHINE_H.
15781         * sysdeps/alpha/bits/atomic.h: Move to ...
15782         * sysdeps/alpha/atomic-machine.h: ...here.
15783         * sysdeps/arm/bits/atomic.h: Move to ...
15784         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15785         * bits/atomic.h: Move to ...
15786         * sysdeps/generic/atomic-machine.h: ...here.
15787         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15788         * sysdeps/i386/bits/atomic.h: Move to ...
15789         * sysdeps/i386/atomic-machine.h: ...here.
15790         * sysdeps/ia64/bits/atomic.h: Move to ...
15791         * sysdeps/ia64/atomic-machine.h: ...here.
15792         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15793         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15794         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15795         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15796         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15797         * sysdeps/microblaze/bits/atomic.h: Move to ...
15798         * sysdeps/microblaze/atomic-machine.h: ...here.
15799         * sysdeps/mips/bits/atomic.h: Move to ...
15800         * sysdeps/mips/atomic-machine.h: ...here.
15801         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15802         * sysdeps/powerpc/bits/atomic.h: Move to ...
15803         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15804         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15805         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15806         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15807         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15808         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15809         <atomic-machine.h> instead of <bits/atomic.h>.
15810         * sysdeps/s390/bits/atomic.h: Move to ...
15811         * sysdeps/s390/atomic-machine.h: ...here.
15812         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15813         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15814         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15815         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15816         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15817         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15818         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15819         * sysdeps/tile/bits/atomic.h: Move to ...
15820         * sysdeps/tile/atomic-machine.h: ...here.
15821         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15822         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15823         <sysdeps/tile/atomic-machine.h> instead of
15824         <sysdeps/tile/bits/atomic.h>.
15825         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15826         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15827         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15828         <sysdeps/tile/atomic-machine.h> instead of
15829         <sysdeps/tile/bits/atomic.h>.
15830         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15831         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15832         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15833         <sysdeps/arm/atomic-machine.h> instead of
15834         <sysdeps/arm/bits/atomic.h>.
15835         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15836         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15837         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15838         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15839         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15840         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15841         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15842         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15843         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15844         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15845         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15846         * sysdeps/x86_64/bits/atomic.h: Move to ...
15847         * sysdeps/x86_64/atomic-machine.h: ...here.
15848         * include/atomic.h: Include <atomic-machine.h> instead of
15849         <bits/atomic.h>.
15851         * sysdeps/mips/mips32/libm-test-ulps: Update.
15852         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15854         [BZ #18952]
15855         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15856         not convert non-integer negative arguments to int to determine the
15857         value of signgam.
15858         * math/auto-libm-test-in: Add more tests of lgamma.
15859         * math/auto-libm-test-out: Regenerated.
15861         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15862         cosh, csqrt, erfc, expm1 and lgamma.
15863         * math/auto-libm-test-out: Regenerated.
15864         * sysdeps/i386/fpu/libm-test-ulps: Update.
15865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15867 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15869         [BZ #2542]
15870         [BZ #2543]
15871         [BZ #2558]
15872         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15873         __lgamma_neg for arguments from -28.0 to -2.0.
15874         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15875         __lgamma_negf for arguments from -15.0 to -2.0.
15876         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15877         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15878         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15879         Call __lgamma_negl for arguments from -33.0 to -2.0.
15880         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15881         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15882         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15883         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15884         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15885         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15886         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15887         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15888         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15889         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15890         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15891         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15892         (__lgamma_neg): Likewise.
15893         (__lgamma_negl): Likewise.
15894         (__lgamma_product): Likewise.
15895         (__lgamma_productl): Likewise.
15896         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15897         * math/auto-libm-test-in: Add more tests of lgamma.
15898         * math/auto-libm-test-out: Regenerated.
15899         * sysdeps/i386/fpu/libm-test-ulps: Update.
15900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15902 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15904         [BZ #18675]
15905         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15907 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #14912]
15910         * bits/libc-lock.h: Move to ...
15911         * sysdeps/generic/libc-lock.h: ...here.
15912         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15913         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15914         * sysdeps/mach/hurd/libc-lock.h: ...here.
15915         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15916         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15917         * sysdeps/mach/bits/libc-lock.h: Move to ...
15918         * sysdeps/mach/libc-lock.h: ...here.
15919         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15920         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15921         * sysdeps/nptl/libc-lock.h: ...here.
15922         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15923         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15924         * sysdeps/nptl/libc-lockP.h: ...here.
15925         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15926         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15927         <bits/libc-lock.h>.
15928         * dirent/scandir-tail.c: Likewise.
15929         * dlfcn/dlerror.c: Likewise.
15930         * elf/dl-close.c: Likewise.
15931         * elf/dl-iteratephdr.c: Likewise.
15932         * elf/dl-lookup.c: Likewise.
15933         * elf/dl-open.c: Likewise.
15934         * elf/dl-support.c: Likewise.
15935         * elf/dl-writev.h: Likewise.
15936         * elf/rtld.c: Likewise.
15937         * grp/fgetgrent.c: Likewise.
15938         * gshadow/fgetsgent.c: Likewise.
15939         * gshadow/sgetsgent.c: Likewise.
15940         * iconv/gconv_conf.c: Likewise.
15941         * iconv/gconv_db.c: Likewise.
15942         * iconv/gconv_dl.c: Likewise.
15943         * iconv/gconv_int.h: Likewise.
15944         * iconv/gconv_trans.c: Likewise.
15945         * include/link.h: Likewise.
15946         * inet/getnameinfo.c: Likewise.
15947         * inet/getnetgrent.c: Likewise.
15948         * inet/getnetgrent_r.c: Likewise.
15949         * intl/bindtextdom.c: Likewise.
15950         * intl/dcigettext.c: Likewise.
15951         * intl/finddomain.c: Likewise.
15952         * intl/gettextP.h: Likewise.
15953         * intl/loadmsgcat.c: Likewise.
15954         * intl/localealias.c: Likewise.
15955         * intl/textdomain.c: Likewise.
15956         * libidn/idn-stub.c: Likewise.
15957         * libio/libioP.h: Likewise.
15958         * locale/duplocale.c: Likewise.
15959         * locale/freelocale.c: Likewise.
15960         * locale/newlocale.c: Likewise.
15961         * locale/setlocale.c: Likewise.
15962         * login/getutent_r.c: Likewise.
15963         * login/getutid_r.c: Likewise.
15964         * login/getutline_r.c: Likewise.
15965         * login/utmp-private.h: Likewise.
15966         * login/utmpname.c: Likewise.
15967         * malloc/mtrace.c: Likewise.
15968         * misc/efgcvt.c: Likewise.
15969         * misc/error.c: Likewise.
15970         * misc/fstab.c: Likewise.
15971         * misc/getpass.c: Likewise.
15972         * misc/mntent.c: Likewise.
15973         * misc/syslog.c: Likewise.
15974         * nis/nis_call.c: Likewise.
15975         * nis/nis_callback.c: Likewise.
15976         * nis/nss-default.c: Likewise.
15977         * nis/nss_compat/compat-grp.c: Likewise.
15978         * nis/nss_compat/compat-initgroups.c: Likewise.
15979         * nis/nss_compat/compat-pwd.c: Likewise.
15980         * nis/nss_compat/compat-spwd.c: Likewise.
15981         * nis/nss_nis/nis-alias.c: Likewise.
15982         * nis/nss_nis/nis-ethers.c: Likewise.
15983         * nis/nss_nis/nis-grp.c: Likewise.
15984         * nis/nss_nis/nis-hosts.c: Likewise.
15985         * nis/nss_nis/nis-network.c: Likewise.
15986         * nis/nss_nis/nis-proto.c: Likewise.
15987         * nis/nss_nis/nis-pwd.c: Likewise.
15988         * nis/nss_nis/nis-rpc.c: Likewise.
15989         * nis/nss_nis/nis-service.c: Likewise.
15990         * nis/nss_nis/nis-spwd.c: Likewise.
15991         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15992         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15993         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15994         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15995         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15996         * nis/nss_nisplus/nisplus-network.c: Likewise.
15997         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15998         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15999         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16000         * nis/nss_nisplus/nisplus-service.c: Likewise.
16001         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16002         * nis/ypclnt.c: Likewise.
16003         * nptl/libc_pthread_init.c: Likewise.
16004         * nss/getXXbyYY.c: Likewise.
16005         * nss/getXXent.c: Likewise.
16006         * nss/getXXent_r.c: Likewise.
16007         * nss/nss_db/db-XXX.c: Likewise.
16008         * nss/nss_db/db-netgrp.c: Likewise.
16009         * nss/nss_db/nss_db.h: Likewise.
16010         * nss/nss_files/files-XXX.c: Likewise.
16011         * nss/nss_files/files-alias.c: Likewise.
16012         * nss/nsswitch.c: Likewise.
16013         * posix/regex_internal.h: Likewise.
16014         * posix/wordexp.c: Likewise.
16015         * pwd/fgetpwent.c: Likewise.
16016         * resolv/res_hconf.c: Likewise.
16017         * resolv/res_libc.c: Likewise.
16018         * shadow/fgetspent.c: Likewise.
16019         * shadow/lckpwdf.c: Likewise.
16020         * shadow/sgetspent.c: Likewise.
16021         * socket/opensock.c: Likewise.
16022         * stdio-common/reg-modifier.c: Likewise.
16023         * stdio-common/reg-printf.c: Likewise.
16024         * stdio-common/reg-type.c: Likewise.
16025         * stdio-common/vfprintf.c: Likewise.
16026         * stdio-common/vfscanf.c: Likewise.
16027         * stdlib/abort.c: Likewise.
16028         * stdlib/cxa_atexit.c: Likewise.
16029         * stdlib/fmtmsg.c: Likewise.
16030         * stdlib/random.c: Likewise.
16031         * stdlib/setenv.c: Likewise.
16032         * string/strsignal.c: Likewise.
16033         * sunrpc/auth_none.c: Likewise.
16034         * sunrpc/bindrsvprt.c: Likewise.
16035         * sunrpc/create_xid.c: Likewise.
16036         * sunrpc/key_call.c: Likewise.
16037         * sunrpc/rpc_thread.c: Likewise.
16038         * sysdeps/arm/backtrace.c: Likewise.
16039         * sysdeps/generic/ldsodefs.h: Likewise.
16040         * sysdeps/generic/stdio-lock.h: Likewise.
16041         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16042         * sysdeps/i386/backtrace.c: Likewise.
16043         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16044         * sysdeps/m68k/backtrace.c: Likewise.
16045         * sysdeps/mach/hurd/cthreads.c: Likewise.
16046         * sysdeps/mach/hurd/dirstream.h: Likewise.
16047         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16048         * sysdeps/nptl/malloc-machine.h: Likewise.
16049         * sysdeps/nptl/stdio-lock.h: Likewise.
16050         * sysdeps/posix/dirstream.h: Likewise.
16051         * sysdeps/posix/getaddrinfo.c: Likewise.
16052         * sysdeps/posix/system.c: Likewise.
16053         * sysdeps/pthread/aio_suspend.c: Likewise.
16054         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16055         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16056         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16057         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16058         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16060         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16061         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16062         * sysdeps/unix/sysv/linux/system.c: Likewise.
16063         * sysdeps/x86_64/backtrace.c: Likewise.
16064         * time/alt_digit.c: Likewise.
16065         * time/era.c: Likewise.
16066         * time/tzset.c: Likewise.
16067         * wcsmbs/wcsmbsload.c: Likewise.
16068         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16069         instead of <bits/libc-lock.h> in comment.
16071 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16073         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16074         Only use .set mips2 if the current ISA is below mips2.
16075         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16076         Likewise.
16077         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16078         mips32r2 if the current ISA is below mips32r2.
16079         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16080         (TLS_IE): Updated to use the TLD_RDHWR macro.
16081         (TLS_LE): Likewise.
16082         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16083         __ASSEMBLER__ condition.
16085 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16087         Fix parallel build of before-compile targets.
16089         * sysdeps/mach/Makefile ($(patsubst
16090         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16091         mach-before-compile target.
16092         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16093         io fs process)): Move rule to dedicated hurd-before-compile target.
16095 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16097         Fix rules generating headers in hurd/ and mach/ when initial make call
16098         has subdir= explicitly set.
16100         * sysdeps/mach/Makefile ($(patsubst
16101         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16102         calling $(MAKE).
16103         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16104         io fs process)): Force subdir to hurd when calling $(MAKE).
16105         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16106         subdir to mach when calling $(MAKE).
16108 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16110         Check sysheaders when looking for Mach and Hurd headers
16112         * sysdeps/mach/configure.ac: Add sysheaders check.
16113         * sysdeps/mach/configure: Regenerate.
16114         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16115         * sysdeps/mach/hurd/configure: Regenerate.
16117 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16119         [BZ #18921]
16120         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16121         Fix inverted sense of test of 'o_directory_works' value.
16122         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16123         Bernhard Voelker <mail@bernhard-voelker.de>.
16125 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16127         [BZ #14912]
16128         * bits/linkmap.h: Move to ...
16129         * sysdeps/generic/linkmap.h: ...here.
16130         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16131         * sysdeps/aarch64/linkmap.h: ...here.
16132         * sysdeps/arm/bits/linkmap.h: Move to ...
16133         * sysdeps/arm/linkmap.h: ...here.
16134         * sysdeps/hppa/bits/linkmap.h: Move to ...
16135         * sysdeps/hppa/linkmap.h: ...here.
16136         * sysdeps/ia64/bits/linkmap.h: Move to ...
16137         * sysdeps/ia64/linkmap.h: ...here.
16138         * sysdeps/mips/bits/linkmap.h: Move to ...
16139         * sysdeps/mips/linkmap.h: ...here.
16140         * sysdeps/s390/bits/linkmap.h: Move to ...
16141         * sysdeps/s390/linkmap.h: ...here.
16142         * sysdeps/sh/bits/linkmap.h: Move to ...
16143         * sysdeps/sh/linkmap.h: ...here.
16144         * sysdeps/x86/bits/linkmap.h: Move to ...
16145         * sysdeps/x86/linkmap.h: ...here.
16146         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16148 2015-09-04  Andreas Schwab  <schwab@suse.de>
16150         [BZ #18635]
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16152         (__makecontext): Terminate FDE before return label.
16153         (__novec_makecontext): Likewise.
16155 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16157         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16158         first member of struct sv in syscall macro.
16160 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16162         [BZ #14912]
16163         * bits/stdio-lock.h: Move to ...
16164         * sysdeps/generic/stdio-lock.h: ...here.
16165         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16166         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16167         * sysdeps/nptl/stdio-lock.h: ...here.
16168         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16169         * include/libio.h: Include <stdio-lock.h> instead of
16170         <bits/stdio-lock.h>.
16171         * sysdeps/nptl/fork.c: Likewise.
16172         * sysdeps/pthread/flockfile.c: Likewise.
16173         * sysdeps/pthread/ftrylockfile.c: Likewise.
16174         * sysdeps/pthread/funlockfile.c: Likewise.
16176         [BZ #14912]
16177         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16178         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16179         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16180         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16181         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16182         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16183         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16185 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16187         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16188         (test-xfail-tst-protected1b): New variable.
16190 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16192         [BZ #14912]
16193         * bits/libc-tsd.h: Move to ...
16194         * sysdeps/generic/libc-tsd.h: ...here.
16195         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16196         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16197         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16198         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16199         * include/ctype.h: Include <libc-tsd.h> instead of
16200         <bits/libc-tsd.h>.
16201         * include/rpc/rpc.h: Likewise.
16202         * locale/localeinfo.h: Likewise.
16203         * sunrpc/rpc_thread.c: Likewise.
16204         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16205         * sysdeps/nptl/malloc-machine.h: Likewise.
16207         * Makefile (headers): Remove bits/libc-lock.h.
16208         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16210         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16211         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16212         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16213         <bits/stdio-lock.h>.
16214         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16215         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16217 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16219         [BZ #18757]
16220         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16221         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16222         BZ #18757.
16224 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16226         * malloc/mtrace.pl: Filter out NULL entries.
16228 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16230         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16231         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16232         macro.
16234         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16235         (TCP_CC_INFO): Likewise.
16236         (TCP_SAVE_SYN): Likewise.
16237         (TCP_SAVED_SYN): Likewise.
16239 2015-08-31  Brett Neumeier <brett@neumeier.us>
16241         [BZ #18870]
16242         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16244 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16246         [BZ #18873]
16247         Fix broken overflow check in posix_fallocate
16248         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16249         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16250         Fix parenthesization typo.
16252 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16254         [BZ #18887]
16255         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16256         tst-mntent-blank-passno.
16257         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16258         * misc/tst-mntent-blank-corrupt.c: New test.
16259         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16260         * misc/tst-mntent.c (do_test): ... here.
16262 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16264         [BZ #4404]
16265         * po/de.po: Fix SIGALRM typo.
16267 2015-08-28  James Perkins  <james@loowit.net>
16269         * time/tst-strptime2.c (tests): Replace short list of test
16270         strings for strptime %z specifier with code which exhaustively
16271         tests every combination of sign and 0 to 5 digits. Tests for
16272         rejection of invalid strings.
16274 2015-08-28  James Perkins  <james@loowit.net>
16276         [BZ #16141]
16277         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16278         calculation, removing incorrect decimal time rounding, so that
16279         all minute values result in a valid seconds value.
16280         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16281         offset range limits to UTC-99:59 through UTC+99:59 to parse
16282         current and historical use cases.
16283         * time/tst-strptime2.c (tests): Modify and add tests for the
16284         strptime %z input field descriptor, specifically conversion of
16285         minutes to seconds and validating an offset range of -9959 to
16286         +9959.
16288 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16289             Dmitry V. Levin  <ldv@altlinux.org>
16291         [BZ #18877]
16292         * posix/Makefile (tests): Add tst-mmap-offset.
16293         * posix/tst-mmap.c: New file.
16294         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16295         offset calculation for negative values.
16297 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16299         * sysdeps/i386/init-arch.h: New file.
16300         * sysdeps/i386/i586/init-arch.h: Likewise.
16301         * sysdeps/i386/i686/init-arch.h: Likewise.
16302         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16303         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16304         * sysdeps/x86/cpu-features.h (bit_I586): New.
16305         (bit_I686): Likewise.
16306         (bit_CX8): Likewise.
16307         (bit_CMOV): Likewise.
16308         (index_CX8): Likewise.
16309         (index_CMOV): Likewise.
16310         (index_I586): Likewise.
16311         (index_I686): Likewise.
16312         (reg_CX8): Likewise.
16313         (reg_CMOV): Likewise.
16314         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16315         available at compile-time.
16316         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16317         available at compile-time.
16318         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16319         (USE_I686): Likewise.
16321 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16323         * sysdeps/i386/bcopy.S: New file.
16324         * sysdeps/i386/bzero.S: Likewise.
16325         * sysdeps/i386/memcpy.S: Likewise.
16326         * sysdeps/i386/memmove.S: Likewise.
16327         * sysdeps/i386/mempcpy.S: Likewise.
16328         * sysdeps/i386/memset.S: Likewise.
16329         * sysdeps/i386/bzero.c: Removed.
16330         * sysdeps/i386/memset.c: Likewise.
16331         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16332         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16333         * sysdeps/i386/i586/memset_chk.S: Likewise.
16334         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16335         * sysdeps/i386/memcpy_chk.S: Here.
16336         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16337         * sysdeps/i386/memmove_chk.S: Here.
16338         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16339         * sysdeps/i386/mempcpy_chk.S: Likewise.
16340         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16341         * sysdeps/i386/memset_chk.S: Likewise.
16343 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16345         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16346         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16347         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16348         * soft-fp/fmadf4.c: Ditto.
16349         * soft-fp/fmatf4.c: Ditto.
16351 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16353         * sysdeps/i386/i586/Implies: Removed.
16354         * sysdeps/i386/i686/Implies: Likewise.
16356 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16358         * sysdeps/i386/i486/strlen.S: Moved to ...
16359         * sysdeps/i386/strlen.S: Here.
16361 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16363         * sysdeps/i386/i486/strcat.S: Moved to ...
16364         * sysdeps/i386/strcat.S: Here.
16366 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16368         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16369         * sysdeps/i386/pthread_spin_trylock.S: Here.
16370         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16371         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16373 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16375         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16376         * sysdeps/i386/string-inlines.c: Here.
16378 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16380         * sysdeps/i386/i486/htonl.S: Moved ...
16381         * sysdeps/i386/htonl.S: here.
16383 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16385         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16386         * sysdeps/i386/bits/atomic.h: Here.
16388 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16390         * sysdeps/i386/i486/Versions: Removed.
16392 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16394         [BZ #2898]
16395         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16396         Based on patch by Aurelien Jarno.
16398 2015-08-26  Stan Shebs  <stanshebs@google.com>
16400         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16401         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16403 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16405         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16406         * sysdeps/powerpc/dl-procinfo.c:
16407         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16408         feature so it shows when LD_SHOW_AUXV=1.
16410 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16412         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16413         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16414         definition.  ISA 2.07B no longer requires full sync.
16416 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16418         [BZ #18863]
16419         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16420         (si_call_addr): Define.
16421         (si_syscall): Define.
16422         (si_arch): Define.
16424 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16426         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16427         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16428         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16429         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16430         (__memset_zero_constant_len_parameter): New.
16431         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16432         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16433         (__memset_zero_constant_len_parameter): Don't define if
16434         __memset_chk or USE_AS_BZERO are defined.
16436         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16437         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16438         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16440         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16441         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16442         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16443         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16444         comments.
16445         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16446         -mno-mmx for $(all-rtld-routines).
16447         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16448         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16449         i386.
16451 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16453         * sysdeps/generic/unwind.h
16454         (_Unwind_Word): Use __mode__(__unwind_word__)
16455         instead of __mode__(__word__).
16456         (_Unwind_Sword): Likewise.
16458         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16459         (MAX_NEEDED_INPUT): New define.
16460         (MAX_NEEDED_OUTPUT): New define.
16462         * NEWS: New item for IBM z13 string optimizations.
16464         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16465         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16466         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16467         * sysdeps/s390/multiarch/Makefile
16468         (sysdep_routines): Add memrchr functions.
16469         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16470         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16472         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16473         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16474         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16475         * sysdeps/s390/multiarch/Makefile
16476         (sysdep_routines): Add wmemcmp functions.
16477         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16478         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16479         * benchtests/bench-wmemcmp.c: New File.
16480         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16482         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16483         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16484         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16485         * sysdeps/s390/multiarch/Makefile
16486         (sysdep_routines): Add wmemset functions.
16487         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16488         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16489         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16490         * string/test-memset.c: Add wmemset support.
16491         * wcsmbs/test-wmemset.c: New File.
16492         * wcsmbs/Makefile (strop-tests): Add wmemset.
16493         * benchtests/bench-memset.c: Add wmemset support.
16494         * benchtests/bench-wmemset.c: New File.
16495         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16497         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16498         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16499         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16500         * sysdeps/s390/multiarch/Makefile
16501         (sysdep_routines): Add memccpy functions.
16502         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16503         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16504         * string/memccpy.c: Use MEMCCPY if defined.
16506         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16507         * sysdeps/s390/multiarch/memchr.c: Likewise.
16508         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16509         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16510         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16511         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16512         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16513         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16514         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16515         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16516         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16517         and rawmemchr functions.
16518         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16519         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16520         and wmemchr.
16521         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16522         * string/test-memchr.c: Add wmemchr support.
16523         * wcsmbs/test-wmemchr.c: New File.
16524         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16525         * benchtests/bench-memchr.c: Add wmemchr support.
16526         * benchtests/bench-wmemchr.c: New File.
16527         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16529         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16530         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16531         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16532         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16533         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16534         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16535         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16536         wcscspn functions.
16537         * sysdeps/s390/multiarch/ifunc-impl-list.c
16538         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16539         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16540         * string/test-strcspn.c: Add wcscspn support.
16541         * wcsmbs/test-wcscspn.c: New File.
16542         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16543         * benchtests/bench-strcspn.c: Add wcscspn support.
16544         * benchtests/bench-wcscspn.c: New File.
16545         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16547         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16548         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16549         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16550         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16551         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16552         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16553         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16554         wcspbrk functions.
16555         * sysdeps/s390/multiarch/ifunc-impl-list.c
16556         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16557         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16558         * string/test-strpbrk.c: Add wcspbrk support.
16559         * wcsmbs/test-wcspbrk.c: New File.
16560         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16561         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16562         * benchtests/bench-wcspbrk.c: New File.
16563         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16565         * sysdeps/s390/multiarch/strspn-c.c: New File.
16566         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16567         * sysdeps/s390/multiarch/strspn.c: Likewise.
16568         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16569         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16570         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16571         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16572         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16573         wcsspn functions.
16574         * sysdeps/s390/multiarch/ifunc-impl-list.c
16575         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16576         * string/test-strspn.c: Add wcsspn support.
16577         * wcsmbs/test-wcsspn.c: New File.
16578         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16579         * benchtests/bench-strspn.c: Add wcsspn support.
16580         * benchtests/bench-wcsspn.c: New File.
16581         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16583         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16584         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16585         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16586         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16587         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16588         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16589         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16590         wcsrchr functions.
16591         * sysdeps/s390/multiarch/ifunc-impl-list.c
16592         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16593         * benchtests/bench-wcsrchr.c: New File.
16594         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16596         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16597         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16598         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16599         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16600         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16601         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16602         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16603         wcschrnul functions.
16604         * sysdeps/s390/multiarch/ifunc-impl-list.c
16605         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16606         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16607         * string/test-strchr.c: Add wcschrnul support.
16608         * wcsmbs/test-wcschrnul.c: New File.
16609         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16610         * benchtests/bench-strchr.c: Add wcschrnul support.
16611         * benchtests/bench-wcschrnul.c: New File.
16612         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16614         * sysdeps/s390/multiarch/strchr-c.c: New File.
16615         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16616         * sysdeps/s390/multiarch/strchr.c: Likewise.
16617         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16618         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16619         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16620         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16621         wcschr functions.
16622         * sysdeps/s390/multiarch/ifunc-impl-list.c
16623         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16624         * string/strchr.c (STRCHR): Define and use macro.
16625         * benchtests/bench-wcschr.c: New File.
16626         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16628         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16629         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16630         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16631         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16632         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16633         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16635         wcsncmp functions.
16636         * sysdeps/s390/multiarch/ifunc-impl-list.c
16637         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16638         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16639         * benchtests/bench-strncmp.c: Add wcsncmp support.
16640         * benchtests/bench-wcsncmp.c: New File.
16641         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16643         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16644         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16645         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16646         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16647         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16648         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16649         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16651         wcscmp functions.
16652         * sysdeps/s390/multiarch/ifunc-impl-list.c
16653         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16654         * string/strcmp.c (STRCMP): Define and use macro.
16655         * benchtests/bench-wcscmp.c: New File.
16656         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16657         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16658         instead of _HAVE_STRING_ARCH_memchr.
16660         * sysdeps/s390/multiarch/strncat-c.c: New File.
16661         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16662         * sysdeps/s390/multiarch/strncat.c: Likewise.
16663         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16664         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16665         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16667         wcsncat functions.
16668         * sysdeps/s390/multiarch/ifunc-impl-list.c
16669         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16670         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16671         * string/test-strncat.c: Add wcsncat support.
16672         * wcsmbs/test-wcsncat.c: New File.
16673         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16674         * benchtests/bench-strncat.c: Add wcsncat support.
16675         * benchtests/bench-wcsncat.c: New File.
16676         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16678         * sysdeps/s390/multiarch/strcat-c.c: New File.
16679         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16680         * sysdeps/s390/multiarch/strcat.c: Likewise.
16681         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16682         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16683         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16685         wcscat functions.
16686         * sysdeps/s390/multiarch/ifunc-impl-list.c
16687         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16688         * string/strcat.c (STRCAT): Define and use macro.
16689         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16690         * string/test-strcat.c: Add wcscat support.
16691         * wcsmbs/test-wcscat.c: New File.
16692         * wcsmbs/Makefile (strop-tests): Add wcscat.
16693         * benchtests/bench-strcat.c: Add wcscat support.
16694         * benchtests/bench-wcscat.c: New File.
16695         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16697         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16698         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16699         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16700         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16701         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16702         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16703         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16704         wcpncpy functions.
16705         * sysdeps/s390/multiarch/ifunc-impl-list.c
16706         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16707         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16708         * string/test-stpncpy.c: Add wcpncpy support.
16709         * wcsmbs/test-wcpncpy.c: New File.
16710         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16711         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16712         * benchtests/bench-wcpncpy.c: New File.
16713         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16715         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16716         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16717         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16718         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16719         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16720         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16721         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16722         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16723         wcsncpy functions.
16724         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16725         * sysdeps/s390/multiarch/ifunc-impl-list.c
16726         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16727         * string/test-strncpy.c: Add wcsncpy support.
16728         * wcsmbs/test-wcsncpy.c: New File.
16729         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16730         * benchtests/bench-strncpy.c: Add wcsncpy support.
16731         * benchtests/bench-wcsncpy.c: New File.
16732         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16734         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16735         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16736         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16737         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16738         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16739         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16741         wcpcpy functions.
16742         * string/stpcpy.c: Use STPCPY if defined.
16743         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16744         * sysdeps/s390/multiarch/ifunc-impl-list.c
16745         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16746         * string/test-stpcpy.c: Add wcpcpy support.
16747         * wcsmbs/test-wcpcpy.c: New File.
16748         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16749         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16750         * benchtests/bench-wcpcpy.c: New File.
16751         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16753         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16754         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16755         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16756         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16757         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16758         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16759         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16760         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16761         wcscpy functions.
16762         * sysdeps/s390/multiarch/ifunc-impl-list.c
16763         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16764         * benchtests/bench-wcscpy.c: New File.
16765         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16767         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16768         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16769         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16770         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16771         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16772         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16773         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16774         wcsnlen functions.
16775         * sysdeps/s390/multiarch/ifunc-impl-list.c
16776         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16777         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16778         * string/test-strnlen.c: Add wcsnlen support.
16779         * wcsmbs/test-wcsnlen.c: New File.
16780         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16781         * benchtests/bench-strnlen.c: Add wcsnlen support.
16782         * benchtests/bench-wcsnlen.c: New File.
16783         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16785         * sysdeps/s390/multiarch/Makefile: New File.
16786         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16787         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16788         * sysdeps/s390/multiarch/strlen.c: Likewise.
16789         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16790         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16791         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16792         * string/strlen.c (STRLEN): Define and use macro.
16793         * sysdeps/s390/multiarch/ifunc-impl-list.c
16794         (IFUNC_VX_IMPL): New macro function.
16795         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16796         * benchtests/Makefile (wcsmbs-bench): New variable.
16797         (string-bench-all): Added wcsmbs-bench.
16798         * benchtests/bench-wcslen.c: New File.
16800         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16801         s390_vx_libc_ifunc2): New macro function.
16803         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16804         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16805         assembler support.
16806         * sysdeps/s390/configure: Regenerated.
16808         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16809         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16811         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16812         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16813         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16815         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16816         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16817         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16818         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16819         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16820         (memcmp, bcmp): Use __memcmp_default as alias source.
16821         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16822         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16823         Rename to __memcmp_default.
16824         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16825         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16826         (memcpy): Use __memcpy_default as alias source.
16827         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16828         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16829         Rename to __memcpy_default.
16830         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16831         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16832         (memset): Use __memset_default as alias source.
16833         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16834         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16835         Rename to __memset_default.
16836         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16837         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16838         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16839         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16840         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16841         (memcmp, bcmp): Use __memcmp_default as alias source.
16842         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16843         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16844         Rename to __memcmp_default.
16845         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16846         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16847         (memcpy): Use __memcpy_default as alias source.
16848         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16849         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16850         Rename to __memcpy_default.
16851         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16852         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16853         (memset): Use __memset_default as alias source.
16854         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16855         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16856         Rename to __memset_default.
16857         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16858         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16860         [BZ #18610]
16861         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16862         __ieee_instruction_pointer to __unused.
16863         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16864         __ieee_instruction_pointer.
16865         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16866         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16867         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16868         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16869         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16870         Mark dxc-field as reserved.
16872 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16874         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16875         if the weak reference is not null.
16877 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16879         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16881         [BZ #11214]
16882         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16884 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16886         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16887         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16888         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16889         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16890         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16891         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16892         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16893         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16894         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16895         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16896         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16897         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16898         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16899         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16900         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16901         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16902         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16903         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16905 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16907         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16908         register other than r0 for tabort, it has special meaning.
16909         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16910         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16911         transaction before starting syscall.
16913 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16915         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16917 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16919         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16921         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16922         * sysdeps/x86_64/rtld-memset.S: Likewise.
16923         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16924         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16925         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16926         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16928         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16930 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16932         * debug/strcpy_chk.c: Improve performance.
16933         * debug/stpcpy_chk.c: Likewise.
16934         * sysdeps/x86_64/strcpy_chk.S: Remove.
16935         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16937         [BZ #18240]
16938         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16940 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16942         [BZ #15128]
16943         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16944         ifuncmain8.
16945         (modules-names): Add ifuncmod8.
16946         ($(objpfx)ifuncmain8): New rule.
16947         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16948         <cpuid.h>.
16949         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16950         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16951         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16952         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16953         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16954         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16955         * sysdeps/x86_64/ifuncmain8.c: New file.
16956         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16957         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16958         Removed.
16959         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16960         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16961         Change rtld_savespace_sse to __glibc_unused2.
16962         (RTLD_CHECK_FOREIGN_CALL): Removed.
16963         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16964         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16965         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16967 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16969         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16971 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16973         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16974         Unconditionally set __fpcr to avoid uninialized warning.
16975         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16977 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16979         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16980         is corrupt.
16982         * malloc/arena.c (arena_get2): Drop unused argument.
16983         (arena_lock): Adjust.
16984         (arena_get_retry): Likewise.
16986 2015-08-24  Andreas Schwab  <schwab@suse.de>
16988         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16989         Don't define.
16990         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16991         (__ASSUME_IPC64): Don't undef.
16992         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16993         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16994         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16995         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16996         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16997         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16998         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16999         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17000         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17001         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17002         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17003         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17004         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17005         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17006         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17007         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17008         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17009         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17010         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17011         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17012         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17014 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17016         * manual/Makefile (install): Only build manual when perl is available.
17018 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17021         '#undef memcpy' by '#undef memchr'.
17023 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17025         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17026         memchr not point to the internal __GI_memchr implementation.
17028 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17030         * timezone/Makefile (CFLAGS-zdump.c): Remove
17031         -Wno-strict-prototypes.
17032         (CFLAGS-zic.c): Likewise.
17033         (CFLAGS-ialloc.c): Likewise.
17034         (CFLAGS-scheck.c): Likewise.
17036         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17037         -Wno-error=undef.
17039 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17041         * i386/i686/multiarch/strcasestr-c.c: Removed.
17042         * x86_64/multiarch/strcasestr.c: Likewise.
17043         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17044         Remove strcasestr.
17046 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17048         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17050         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17051         variables for high and low parts before possibly modifying them.
17053 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17055         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17056         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17057         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17058         of "multiarch/init-arch.h".
17059         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17060         * sysdeps/x86/init-arch.h: This.
17062 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17064         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17065         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17067 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17069         [BZ #17787]
17070         * manual/macros.texi: Add twoexp macro.
17071         * manual/filesys.texi: Fix exponents.
17072         * manual/llio.texi: Likewise.
17073         * manual/stdio.texi: Likewise.
17075 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17077         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17078         incorrect use.
17080 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17082         [BZ #18370]
17083         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17084         whose real or imaginary part has small absolute value.
17085         * math/s_csqrtf.c (__csqrtf): Likewise.
17086         * math/s_csqrtl.c (__csqrtl): Likewise.
17087         * math/auto-libm-test-in: Add more tests of csqrt.
17088         * math/auto-libm-test-out: Regenerated.
17089         * sysdeps/i386/fpu/libm-test-ulps: Update.
17091 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17093         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17094         __ppc_set_ppr_very_low): New functions.
17095         * manual/platform.texi: Add documentation about
17096         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17098 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17100         * string/stpncpy.c (stpncpy): Improve performance using
17101         __strnlen/memcpy/memset.
17103 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17105         [BZ #18796]
17106         * scripts/test-installation.pl: Don't add -lmvec to build options if
17107         libmvec wasn't built.
17109 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17111         [BZ #14341]
17112         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17113         case when there is a gap between DT_REL and DT_JMPREL sections.
17114         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17115         (LDFLAGS-tst-split-dynreloc): New.
17116         (tst-split-dynreloc-ENV): Likewise.
17117         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17118         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17120 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17122         [BZ #18822]
17123         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17124         attribute_hidden.
17125         (__xstat64_conv): Likewise.
17126         (__xstat32_conv): Likewise.
17128 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17130         [BZ #18822]
17131         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17132         Don't load %ebx when calling __setcontext.  Call __setcontext
17133         with HIDDEN_JUMPTARGET.
17134         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17135         libc_hidden_def.
17137 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17139         * sysdeps/i386/i686/Makefile
17140         [$(subdir) == string] (sysdep_routines): Moved to ...
17141         * sysdeps/i386/Makefile: Here.
17142         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17143         * sysdeps/i386/cacheinfo.c: Here.
17144         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17145         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17146         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17147         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17149 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17151         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17152         __i586__ is defined.
17153         (HAS_I686): Defined to 1 if __i686__ is defined.
17155 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17157         * elf/Makefile [$(have-z-execstack) = yes]
17158         (CPPFLAGS-tst-execstack.c): New variable.
17160         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17161         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17162         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17163         UTMPX || _HAVE_UT_TV].
17164         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17165         UTMPX || _HAVE_UT_TV - 0].
17167 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17169         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17170         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17171         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17173 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17175         * sysdeps/powerpc/dl-procinfo.c:
17176         (_dl_powerpc_cap_flags): Added missing strings for some
17177         hwcap features.
17178         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17180 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17182         Port the 0x7efe...feff pattern to GCC 6.
17183         See Steve Ellcey's bug report in:
17184         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17185         * string/memrchr.c (MEMRCHR):
17186         * string/rawmemchr.c (RAWMEMCHR):
17187         * string/strchr.c (strchr):
17188         * string/strchrnul.c (STRCHRNUL):
17189         Rewrite code to avoid issues with signed shift overflow.
17191 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17193         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17194         whether cpuid is available only if HAS_CPUID is 0.
17195         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17196         (HAS_I586): Likewise.
17197         (HAS_I686): Likewise.
17199 2015-08-18  Zack Weinberg  <zackw@panix.com>
17201         * misc/Versions (libc): Add GLIBC_2.23.
17203 2015-08-18  Alan Modra  <amodra@gmail.com>
17205         [BZ #18421]
17206         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17207         .Lp__global.
17208         (_start): Load %dp via .Lp__global.
17209         [!SHARED]: Use .section .rodata.
17211 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17213         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17214         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17216 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17218         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17219         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17221 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17223         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17224         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17226 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17228         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17229         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17231 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17233         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17234         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17236 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17238         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17239         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17241 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17243         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17247         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17248         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17249         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17250         (__ASSUME_LWS_CAS): Delete.
17252 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17254         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17255         * sysdeps/hppa/configure: Regenerated.
17256         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17257         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17258         * sysdeps/hppa/nptl/tls.h: Likewise.
17260 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17262         [BZ #18823]
17263         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17264         for scaling up small arguments.
17265         * math/s_csqrtf.c (__csqrtf): Likewise.
17266         * math/s_csqrtl.c (__csqrtl): Likewise.
17267         * math/auto-libm-test-in: Add more tests of csqrt.
17268         * math/auto-libm-test-out: Regenerated.
17270 2015-08-17  Andreas Schwab  <schwab@suse.de>
17272         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17273         version set GLIBC_2.19.
17275 2015-08-16  Zack Weinberg  <zackw@panix.com>
17277         [BZ #18681]
17278         * misc/regexp.h: This interface is no longer supported.
17279         Remove all contents, leaving only an #error directive.
17280         * misc/regexp.c (loc1, loc2, locs, step, advance):
17281         Demote to compatibility symbols.
17283 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17285         [BZ #18084]
17286         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17287         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17288         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17289         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17290         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17291         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17292         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17293         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17294         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17296 2015-08-15  Zack Weinberg  <zackw@panix.com>
17298         [BZ #18795]
17299         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17300         buffer length is known to be too large, not if it's known to be
17301         small enough.
17302         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17303         overflow at runtime, involving a length parameter, twice: once
17304         with a compile-time constant length parameter, once without.
17306 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17308         [BZ #18824]
17309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17310         scaling x * y up instead of down.
17311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17313         * math/auto-libm-test-in: Add more tests of fma.
17314         * math/auto-libm-test-out: Regenerated.
17316 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17318         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17320 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17322         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17323         unnecessary movq.
17324         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17325         Likewise.
17327 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17329         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17330         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17331         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17332         and tgamma.
17333         * math/auto-libm-test-out: Regenerated.
17334         * sysdeps/i386/fpu/libm-test-ulps: Update.
17335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17337         [BZ #16520]
17338         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17339         (__tanh): Force underflow exception for arguments with small
17340         absolute value.
17341         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17342         (__tanhf): Force underflow exception for arguments with small
17343         absolute value.
17344         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17345         (__tanhl): Force underflow exception for arguments with small
17346         absolute value.
17347         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17348         (__tanhl): Force underflow exception for arguments with small
17349         absolute value.
17350         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17351         (__tanhl): Force underflow exception for arguments with small
17352         absolute value.
17353         * math/auto-libm-test-in: Add more tests of tanh.
17354         * math/auto-libm-test-out: Regenerated.
17355         * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17359         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17360         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17362 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17364         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17365         <cpuid.h>.
17367 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17369         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17370         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17372 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17374         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17375         Remove $(objpfx)init-arch.o.
17376         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17377         init-arch.
17378         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17379         (INIT_ARCH_EXT): Defined as empty.
17380         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17382         __init_cpu_features call.  Replace HAS_XXX with
17383         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17384         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17385         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17386         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17387         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17388         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17389         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17390         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17391         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17392         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17393         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17394         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17395         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17396         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17397         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17399         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17400         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17401         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17404         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17406         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17407         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17408         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17409         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17410         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17411         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17412         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17420 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17422         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17423         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17424         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17425         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17426         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17427         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17428         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17429         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17430         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17431         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17432         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17433         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17434         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17435         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17436         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17437         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17438         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17439         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17440         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17441         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17442         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17443         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17444         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17445         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17446         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17447         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17448         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17449         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17450         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17451         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17452         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17453         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17454         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17455         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17456         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17457         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17458         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17459         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17460         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17461         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17462         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17463         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17464         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17466 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17468         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17469         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17470         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17471         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17472         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17473         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17474         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17475         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17476         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17477         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17478         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17479         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17480         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17481         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17482         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17483         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17484         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17485         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17486         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17487         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17489         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17490         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17491         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17493         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17494         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17495         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17496         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17497         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17498         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17499         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17500         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17501         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17502         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17503         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17504         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17505         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17506         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17507         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17508         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17509         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17510         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17512 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17514         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17515         (dl_platform_init): Call init_cpu_features.
17516         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17517         * sysdeps/i386/i686/cacheinfo.c
17518         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17519         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17520         * sysdeps/i386/i686/multiarch/Versions: Removed.
17521         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17522         Removed.
17523         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17524         * sysdeps/unix/sysv/linux/x86/Makefile
17525         (libpthread-sysdep_routines): Remove init-arch.
17526         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17527         <sysdeps/x86_64/dl-procinfo.c> instead of
17528         sysdeps/generic/dl-procinfo.c>.
17529         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17530         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17531         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17532         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17533         [$(subdir) == elf] (tests-static): Add
17534         tst-get-cpu-features-static.
17535         * sysdeps/x86/Versions: New file.
17536         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17537         * sysdeps/x86/cpu-features.c: Likewise.
17538         * sysdeps/x86/cpu-features.h: Likewise.
17539         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17540         * sysdeps/x86/libc-start.c: Likewise.
17541         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17542         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17543         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17544         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17545         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17546         Assume USE_MULTIARCH is defined and don't check it.
17547         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17548         (is_amd): Likewise.
17549         (max_cpuid): Likewise.
17550         (intel_check_word): Likewise.
17551         (__cache_sysconf): Don't call __init_cpu_features.
17552         (__x86_preferred_memory_instruction): Removed.
17553         (init_cacheinfo): Don't call __init_cpu_features. Replace
17554         __cpu_features with GLRO(dl_x86_cpu_features).
17555         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17556         (dl_platform_init): Call init_cpu_features.
17557         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17558         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17559         * sysdeps/x86_64/multiarch/Versions: Removed.
17560         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17561         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17562         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17563         Removed.
17564         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17566 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17568         [BZ #18820]
17569         * libio/Makefile (test-fmemopen-mem): New test.
17570         * libio/test-fmemopen.c (do_bz18820): New test.
17571         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17572         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17574 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17576         [BZ #16734]
17577         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17578         (FREE_BUF): Delete.
17579         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17580         * libio/genops.c (_IO_setb): Use malloc and free directly.
17581         (_IO_default_doallocate, _IO_default_finish): Likewise.
17582         ( _IO_unbuffer_all): Likewise.
17583         ( libc_freeres_fn): Likewise.
17584         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17585         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17586         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17587         (_IO_wdefault_doallocate): Likewise.
17589 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17591         [BZ #18086]
17592         * sysdeps/posix/nice.c (nice): Restore old errno.
17593         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17595 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17599 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17601         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17602         __bcopy and add a weak_alias to bcopy.
17603         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17604         for static build.
17606         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17607         cleanup macro usage.
17608         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17611         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17612         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17613         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17614         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17615         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17616         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17617         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17619         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17620         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17621         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17622         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17624         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17625         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17626         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17628         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17629         libc_hidden_def.
17630         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17632         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17633         (sysdep_routines): Add strstr-ppc64.
17634         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17636 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17638         [BZ #18778]
17639         * elf/Makefile (tests): Add Add tst-nodelete2.
17640         (modules-names): Add tst-nodelete2mod.
17641         (tst-nodelete2mod.so-no-z-defs): New.
17642         ($(objpfx)tst-nodelete2): Likewise.
17643         ($(objpfx)tst-nodelete2.out): Likewise.
17644         (LDFLAGS-tst-nodelete2): Likewise.
17645         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17646         out of loop through all loaded libraries.
17647         * elf/tst-nodelete2.c: New file.
17648         * elf/tst-nodelete2mod.c: Likewise.
17649         * elf/tst-znodelete-zlib.cc: Delete.
17651 2015-08-11  Andreas Schwab  <schwab@suse.de>
17653         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17654         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17655         (__openat64_nocancel): Likewise.
17657 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17659         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17660         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17661         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17662         * math/auto-libm-test-out: Regenerated.
17663         * sysdeps/i386/fpu/libm-test-ulps: Update.
17664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17668         [BZ #18790]
17669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17670         threshold for returning +/- 1.
17671         * math/auto-libm-test-in: Add more tests of tanh.
17672         * math/auto-libm-test-out: Regenerated.
17673         * sysdeps/i386/fpu/libm-test-ulps: Update.
17675 2015-08-10  Andreas Schwab  <schwab@suse.de>
17677         [BZ #18781]
17678         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17679         MORE_OFLAGS to oflag.
17680         * io/test-lfs.c (do_test): Test openat64.
17682 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17684         [BZ #18789]
17685         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17686         smaller threshold for returning the argument.
17687         * math/auto-libm-test-in: Add more tests of sinh.
17688         * math/auto-libm-test-out: Regenerated.
17689         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17693         [BZ #18674]
17694         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17695         break.
17697 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17699         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17700         (generated): Don't add $(addprefix z.,$(tzfiles)).
17702 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17704         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17705         * scripts/sysd-rules.awk: Likewise.
17707 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17709         * iconvdata/tst-tables.sh: Change echo -n to printf.
17710         * nss/db-Makefile: Likewise.
17711         * posix/tst-getconf.sh: Likewise.
17712         * stdio-common/tst-unbputc.sh: Likewise.
17714 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17716         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17717         MADV_*_PAGES defines behind this feature check.
17719 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17721         [BZ #18480]
17722         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17723         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17724         Define.
17725         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17726         LOAD_REGS_5, LOAD_REGS_6): Update.
17727         (INTERNAL_SYSCALL): Update using new LOAD defines.
17728         (INTERNAL_SYSCALL_NCS): Likewise.
17729         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17731 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17733         [BZ #16734]
17734         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17736 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17738         [BZ #17905]
17739         * catgets/Makefile (tst-catgets-mem): New test.
17740         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17741         * catgets/open_catalog.c (__open_catalog): Likewise.
17742         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17744 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17746         [BZ #18787]
17747         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17748         clobber registers.
17749         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17750         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17751         Cast return to __typeof (oldval).
17753 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17755         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17756         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17757         and delete sys/syscall.h include.
17759 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17761         [BZ #16517]
17762         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17763         (tan): Force underflow exception for arguments with small absolute
17764         value.
17765         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17766         (__kernel_tanf): Force underflow exception for arguments with
17767         small absolute value.
17768         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17769         (__kernel_tanl): Force underflow exception for arguments with
17770         small absolute value.
17771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17772         (__kernel_tanl): Force underflow exception for arguments with
17773         small absolute value.
17774         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17775         (__kernel_tanl): Force underflow exception for arguments with
17776         small absolute value.
17777         * math/auto-libm-test-in: Add more tests of tan.
17778         * math/auto-libm-test-out: Regenerated.
17780 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17782         Fix sysdeps/i386/fpu/s_scalbn.S build
17784         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17786 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17788         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17790 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17792         Fix gcrt0.o compilation
17794         When static-start-installed-name is different from
17795         start-installed-name, we must not use the shared objects.
17797         * csu/Makefile
17798         (extra-objs): Add gmon-start.o when building shared library and
17799         $(static-start-installed-name) is different from
17800         $(start-installed-name).
17801         $(objpfx)g$(static-start-installed-name): When building shared
17802         library and $(static-start-installed-name) is different from
17803         $(static-start-installed-name), revert to non-shared rule,
17804         i.e. using $(objpfx)% and gmon-start.o.
17806 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17808         [BZ #16519]
17809         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17810         (__ieee754_sinh): Force underflow exception for arguments with
17811         small absolute value.
17812         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17813         (__ieee754_sinhf): Force underflow exception for arguments with
17814         small absolute value.
17815         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17816         (__ieee754_sinhl): Force underflow exception for arguments with
17817         small absolute value.
17818         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17819         (__ieee754_sinhl): Force underflow exception for arguments with
17820         small absolute value.
17821         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17822         (__ieee754_sinhl): Force underflow exception for arguments with
17823         small absolute value.
17824         * math/auto-libm-test-in: Add more tests of sinh.
17825         * math/auto-libm-test-out: Regenerated.
17826         * sysdeps/i386/fpu/libm-test-ulps: Update.
17828 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17830         * libio/oldfileops.c: Include unistd.h.
17832 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17834         * stdlib/isomac.c: Include ctype.h.
17836 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17838         * dirent/tst-seekdir.c (main): Converted to ...
17839         (do_test): ... this.
17840         (TEST_FUNCTION): New macro.
17841         Include test-skeleton.c.
17842         * elf/tst-dlmodcount.c (main): Converted to ...
17843         (do_test): ... this.
17844         (TEST_FUNCTION): New macro.
17845         Include test-skeleton.c.
17846         * elf/tst-order-main.c (main): Converted to ...
17847         (do_test): ... this.
17848         (TEST_FUNCTION): New macro.
17849         Include test-skeleton.c.
17850         * elf/tst-pie2.c (main): Converted to ...
17851         (do_test): ... this.
17852         (TEST_FUNCTION): New macro.
17853         Include test-skeleton.c.
17854         * inet/tst-ether_aton.c (main): Converted to ...
17855         (do_test): ... this.
17856         (TEST_FUNCTION): New macro.
17857         Include test-skeleton.c.
17858         * misc/tst-mntent.c (main): Converted to ...
17859         (do_test): ... this.
17860         (TEST_FUNCTION): New macro.
17861         Include test-skeleton.c.
17862         * misc/tst-tsearch.c (main): Converted to ...
17863         (do_test): ... this.
17864         (TEST_FUNCTION): New macro.
17865         Include test-skeleton.c.
17866         * posix/tst-regexloc.c (main): Converted to ...
17867         (do_test): ... this.
17868         (TEST_FUNCTION): New macro.
17869         Include test-skeleton.c.
17870         * resolv/tst-aton.c (main): Converted to ...
17871         (do_test): ... this.
17872         (TEST_FUNCTION): New macro.
17873         Include test-skeleton.c.
17874         * stdio-common/test-fwrite.c (main): Converted to ...
17875         (do_test): ... this.
17876         (TEST_FUNCTION): New macro.
17877         Include test-skeleton.c.
17878         * stdio-common/tst-ferror.c (main): Converted to ...
17879         (do_test): ... this.
17880         (TEST_FUNCTION): New macro.
17881         Include test-skeleton.c.
17882         * stdio-common/tst-printf.c (main): Converted to ...
17883         (do_test): ... this.
17884         (TEST_FUNCTION): New macro.
17885         Include test-skeleton.c.
17886         * stdio-common/tst-printfsz.c (main): Converted to ...
17887         (do_test): ... this.
17888         (TEST_FUNCTION): New macro.
17889         Include test-skeleton.c.
17890         * stdlib/tst-strtod.c (main): Converted to ...
17891         (do_test): ... this.
17892         (TEST_FUNCTION): New macro.
17893         Include test-skeleton.c.
17894         * string/tst-strlen.c (main): Converted to ...
17895         (do_test): ... this.
17896         (TEST_FUNCTION): New macro.
17897         Include test-skeleton.c.
17898         * string/tst-svc.c (main): Converted to ...
17899         (do_test): ... this.
17900         (TEST_FUNCTION): New macro.
17901         Include test-skeleton.c.
17902         * time/tst-strptime.c (main): Converted to ...
17903         (do_test): ... this.
17904         (TEST_FUNCTION): New macro.
17905         Include test-skeleton.c.
17906         * timezone/tst-timezone.c (main): Converted to ...
17907         (do_test): ... this.
17908         (TEST_FUNCTION): New macro.
17909         Include test-skeleton.c.
17911 2015-08-05  Zack Weinberg  <zackw@panix.com>
17913         * misc/regexp.h: Update comments.
17915 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17917         [BZ #18635]
17918         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17919         before return label.
17921 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17923         [BZ #18661]
17924         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17925         when calling __errno_location.
17926         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17927         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17929 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17931         [BZ #18661]
17932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17933         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17934         __gettimeofday.
17936 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17938         [BZ #18661]
17939         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17940         (__start_context): Don't use pop to restore %rdi so that stack
17941         is aligned to 16 bytes when calling __setcontext.
17943 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17945         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17946         only for libc.
17947         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17949 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17951         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17952         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17953         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17955 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17957         * string/memccpy.c (memccpy):
17958         Improve performance by using memchr/memcpy/__mempcpy.
17960 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17962         * string/strncpy.c (strncpy):
17963         Improve performance by using __strnlen/memcpy.
17965 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17967         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17968         Optimize to avoid an unnecessary FPCR read.
17970 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17972         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17973         Optimize to reduce FPCR/FPSR accesses.
17975 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17977         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17978         dead->data[category] != NULL.
17980 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #18647]
17983         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17984         and |x| close to 1, use absolute value of x when computing log.
17985         * math/auto-libm-test-in: Add more tests of pow.
17986         * math/auto-libm-test-out: Regenerated.
17988 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17990         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17991         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17992         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17994 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17996         [BZ #18525]
17997         * locales/km_KH: Remove timezone definition.
17998         * locales/lo_LA: Likewise.
17999         * locales/my_MM: Likewise.
18000         * locales/nan_TW@latin: Likewise.
18001         * locales/th_TH: Likewise.
18002         * locales/uk_UA: Likewise.
18004 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18006         [BZ #18265]
18007         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18008         (wcsncat): Likewise.
18009         (wcscmp): Likewise.
18010         (wcsncmp): Likewise.
18012 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18014         * test-skeleton.c (usage): New function.
18015         (main): Call usage when opt is '?'.
18017 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18019         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18020         before first use.
18022 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18024         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18025         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18026         in there too.
18028 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18030         * version.h (RELEASE): Set to "development".
18031         (VERSION): Set to "2.22.90"
18033         * version.h (RELEASE): Set to "stable".
18034         (VERSION): Set to "2.22"
18035         * include/features.h (__GLIBC_MINOR__): Set to 22.
18037 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18039         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18040         Restructure macro to avoid "value computed is not used" warning.
18041         (atomic_compare_and_exchange_val_acq): Likewise.
18043 2015-08-04  Andreas Schwab  <schwab@suse.de>
18045         [BZ #18635]
18046         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18047         ret.
18048         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18050 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18052         * po/pl.po: Updated translation.
18053         * po/uk.po: Likewise.
18054         * po/fi.po: Likewise.
18055         * po/ko.po: Likewise.
18056         * po/ru.po: Likewise.
18057         * po/vi.po: Likewise.
18059 2015-07-31  Zack Weinberg  <zackw@panix.com>
18061         [BZ #18681]
18062         * regexp.h: Add unconditional #warning stating that this header
18063         will be removed soon.  Revise banner comment to match.
18064         (compile): Consistently use ERROR instead of RETURN to report
18065         errors (partial fix for bz#18681).
18066         * regexp.c: Don't include regexp.h. Remove some unnecessary
18067         declarations.
18069 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18071         * po/libc.pot: Regenerated.
18073 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18075         [BZ #18740]
18076         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18077         float-vlen4-arch-ext-cflags): Removed.
18078         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18079         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18081 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18083         [BZ #14113]
18084         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18085         aligned to __aligned__.
18086         (pthread_cond_t, pthread_rwlock_t): Likewise.
18088 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18090         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18092 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18094         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18095         (struct sigaction): Change sa_flags from a long to an int, and add
18096         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18098 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18100         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18101         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18102         sysdeps/generic/sysdep.h include.
18103         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18104         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18105         sysdeps/hppa/sysdep.h.
18106         (ENTRY, PSEUDO): Undefine before defining.
18108 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18110         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18111         from scratch to use INTERNAL_SYSCALL.
18113 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18115         [BZ #18078]
18116         * scripts/check-localplt.awk: Support alternate relocations.
18117         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18118         sections.
18119         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18120         malloc entries with + REL R_386_GLOB_DAT.
18121         * sysdeps/x86_64/localplt.data: New file.
18123 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18125         [BZ #18731]
18126         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18127         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18128         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18130 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18132         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18134 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18136         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18137         directly in terms of __sync_fetch_and_add and delete (int) cast.
18139 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18141         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18142         the -D_ASM_IA64_CURRENT_H flag.
18144 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18146         [BZ #18641]
18147         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18149 2015-07-27  Andreas Schwab  <schwab@suse.de>
18151         * conform/conformtest.pl (checknamespace): Filter out string
18152         literals while tokenizing.
18154 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18156         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18157         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18158         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18160 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18162         * nptl/tst-join7mod.c: Add #include <string.h>.
18164 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18166         * sysdeps/nios2/libm-test-ulps: Update.
18168 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18170         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18171         Fix order of arguments to the rt_sigprocmask syscall.
18172         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18173         Likewise.
18175 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18177         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18179 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18181         [BZ #18457]
18182         * nptl/Makefile (tests): New test case tst-join7.
18183         (modules-names): New test case module tst-join7mod.
18184         * nptl/tst-join7.c: New file.
18185         * nptl/tst-join7mod.c: New file.
18186         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18187         all translation units in libc.so, libpthread.so and rtld.
18189 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18193 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18195         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18197         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18200         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18203         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18204         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18207         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18208         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18210         implementation.
18212 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18214         [BZ #17711]
18215         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18216         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18217         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18218         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18219         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18220         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18222 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18224         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18225         instead of just saying load lock in the comments.
18227 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18229         * sysdeps/unix/Subdirs: Moved ...
18230         * sysdeps/posix/Subdirs: ... here.
18231         * login/pty.h (struct termios, struct winsize): Add forward decls.
18232         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18233         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18234         * sysdeps/arm/nacl/libc.abilist: Updated.
18235         * sysdeps/nacl/libutil.abilist: New file.
18237         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18238         (SIGWINCH): New macro.
18240         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18241         * sysdeps/arm/nacl/libc.abilist: Add it.
18243 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18245         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18247 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18249         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18250         Swap __glibc_reserved0 and sa_flags order.
18252 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18254         [BZ #18657]
18255         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18256         are pending TLS destructor calls.
18257         * include/link.h (struct link_map): Add concurrency note for
18258         L_TLS_DTOR_COUNT.
18259         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18260         Don't touch the link map flag.  Atomically increment
18261         l_tls_dtor_count.
18262         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18263         Avoid taking the load lock and don't touch the link map flag.
18264         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18265         * stdlib/Makefile (tests): Use it.
18266         * stdlib/tst-tls-atexit.c (do_test): dlopen
18267         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18268         to allow tst-tls-atexit-nodelete test case to use it.
18270 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18272         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18273         to bits/types.h.
18274         (msgqnum_t): New typedef.
18275         (msglen_t): Likewise.
18276         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18277         and msg_qbytes type to msglen_t.
18279 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18281         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18282         pad0 to __glibc_reserved0.
18283         (struct stat64): Likewise.
18285 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18287         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18288         Change sa_flags from a long to an int and add __glibc_reserved0 before
18289         it for padding.
18291 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18293         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18294         anonymous by deleting "siginfo" name.
18296 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18298         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18299         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18300         rather than __nacl_irt_filename.
18301         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18303         * NEWS: New item for arm-nacl port.
18304         * sysdeps/arm/nacl/libc.abilist: New file.
18305         * sysdeps/nacl/ld.abilist: New file.
18306         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18307         * sysdeps/nacl/libanl.abilist: New file.
18308         * sysdeps/nacl/libcrypt.abilist: New file.
18309         * sysdeps/nacl/libdl.abilist: New file.
18310         * sysdeps/nacl/libm.abilist: New file.
18311         * sysdeps/nacl/libpthread.abilist: New file.
18312         * sysdeps/nacl/libresolv.abilist: New file.
18313         * sysdeps/nacl/librt.abilist: New file.
18315 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18317         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18318         __startcontext to initialize the new context.
18319         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18320         up CFI directive to forbid further backtracing.
18322 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18324         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18325         reference.
18326         * charmaps/ANSI_X3.4-1968: Likewise.
18327         * charmaps/BS_4730: Likewise.
18328         * charmaps/BS_VIEWDATA: Likewise.
18329         * charmaps/CP1250: Likewise.
18330         * charmaps/CP1251: Likewise.
18331         * charmaps/CP1252: Likewise.
18332         * charmaps/CP1253: Likewise.
18333         * charmaps/CP1254: Likewise.
18334         * charmaps/CP1255: Likewise.
18335         * charmaps/CP1256: Likewise.
18336         * charmaps/CSN_369103: Likewise.
18337         * charmaps/EBCDIC-DK-NO: Likewise.
18338         * charmaps/GB_1988-80: Likewise.
18339         * charmaps/GREEK-CCITT: Likewise.
18340         * charmaps/GREEK7: Likewise.
18341         * charmaps/INIS-8: Likewise.
18342         * charmaps/ISIRI-3342: Likewise.
18343         * charmaps/ISO_2033-1983: Likewise.
18344         * charmaps/ISO_5427-EXT: Likewise.
18345         * locales/POSIX: Likewise.
18346         * locales/ar_SA: Likewise.
18347         * locales/be_BY: Likewise.
18348         * locales/be_BY@latin: Likewise.
18349         * locales/ca_ES: Likewise.
18350         * locales/cs_CZ: Likewise.
18351         * locales/da_DK: Likewise.
18352         * locales/de_BE: Likewise.
18353         * locales/de_CH: Likewise.
18354         * locales/de_LU: Likewise.
18355         * locales/en_AU: Likewise.
18356         * locales/en_BW: Likewise.
18357         * locales/en_CA: Likewise.
18358         * locales/en_DK: Likewise.
18359         * locales/en_GB: Likewise.
18360         * locales/en_IE: Likewise.
18361         * locales/en_NZ: Likewise.
18362         * locales/en_ZA: Likewise.
18363         * locales/en_ZW: Likewise.
18364         * locales/es_AR: Likewise.
18365         * locales/es_BO: Likewise.
18366         * locales/es_CL: Likewise.
18367         * locales/es_CO: Likewise.
18368         * locales/es_DO: Likewise.
18369         * locales/es_EC: Likewise.
18370         * locales/es_ES: Likewise.
18371         * locales/es_HN: Likewise.
18372         * locales/es_MX: Likewise.
18373         * locales/es_PA: Likewise.
18374         * locales/es_PE: Likewise.
18375         * locales/es_PY: Likewise.
18376         * locales/es_SV: Likewise.
18377         * locales/es_US: Likewise.
18378         * locales/es_UY: Likewise.
18379         * locales/es_VE: Likewise.
18380         * locales/et_EE: Likewise.
18381         * locales/fa_IR: Likewise.
18382         * locales/fo_FO: Likewise.
18383         * locales/fr_CA: Likewise.
18384         * locales/fr_CH: Likewise.
18385         * locales/gv_GB: Likewise.
18386         * locales/he_IL: Likewise.
18387         * locales/hr_HR: Likewise.
18388         * locales/id_ID: Likewise.
18389         * locales/is_IS: Likewise.
18390         * locales/it_CH: Likewise.
18391         * locales/iw_IL: Likewise.
18392         * locales/kl_GL: Likewise.
18393         * locales/ko_KR: Likewise.
18394         * locales/kw_GB: Likewise.
18395         * locales/lg_UG: Likewise.
18396         * locales/lt_LT: Likewise.
18397         * locales/lv_LV: Likewise.
18398         * locales/mi_NZ: Likewise.
18399         * locales/nhn_MX: Likewise.
18400         * locales/nl_BE: Likewise.
18401         * locales/pl_PL: Likewise.
18402         * locales/sk_SK: Likewise.
18403         * locales/sl_SI: Likewise.
18404         * locales/sv_FI: Likewise.
18405         * locales/tl_PH: Likewise.
18406         * locales/tr_TR: Likewise.
18407         * locales/vi_VN: Likewise.
18409 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18411         [BZ #17475]
18412         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18413         of tu_IN and bh_IN.
18415 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18417         [BZ #18694]
18418         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18419         bits/wordsize.h.
18420         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18422 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18424         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18425         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18426         (spawn_thread): New function.
18427         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18428         (do_test): ... here.  Use IS_LOADED to test for its
18429         availability.
18431 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18433         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18435 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18437         [BZ #18696]
18438         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18439         si_addr_bnd.
18440         (si_lower): New.
18441         (si_upper): Likewise.
18443 2015-07-16  David S. Miller  <davem@davemloft.net>
18445         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18447 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18449         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18450         buffer.
18451         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18452         fail output information.
18454 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18457         and strstr-ppc64..
18458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18459         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18460         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18461         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18462         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18464 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18466         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18467         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18468         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18469         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18471 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18473         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18474         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18475         rtld_hidden_proto.
18476         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18478 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18480         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18481         the test can fail.
18483         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18485         [BZ #18676]
18486         * elf/tst-nodelete-opened.c: New test case.
18487         * elf/tst-nodelete-opened-lib.c: New test case module.
18488         * elf/Makefile (tests, modules-names): Use them.
18489         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18490         early.
18492 2015-07-15  David S. Miller  <davem@davemloft.net>
18494         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18495         futex-intenal.h
18496         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18497         * sysdeps/sparc/sparc64/Makefile: Likewise.
18498         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18499         Remove space from macro define.
18500         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18502 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18504         [BZ #17475]
18505         * locale/iso-639.def: Update Bhili and Tulu language codes as
18506         per iso639-3.
18508 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18510         * elf/tst-leaks1.c (main): Converted to ...
18511         (do_test): ... this.
18512         (TEST_FUNCTION): New macro.
18513         Include test-skeleton.c.
18514         * localedata/tst-langinfo.c (main): Converted to ...
18515         (do_test): ... this.
18516         (TEST_FUNCTION): New macro.
18517         Include test-skeleton.c.
18518         * math/test-fpucw.c (main): Converted to ...
18519         (do_test): ... this.
18520         (TEST_FUNCTION): New macro.
18521         Include test-skeleton.c.
18522         * math/test-tgmath.c (main): Converted to ...
18523         (do_test): ... this.
18524         (TEST_FUNCTION): New macro.
18525         Include test-skeleton.c.
18526         * math/test-tgmath2.c (main): Converted to ...
18527         (do_test): ... this.
18528         (TEST_FUNCTION): New macro.
18529         Include test-skeleton.c.
18530         * setjmp/tst-setjmp.c (main): Converted to ...
18531         (do_test): ... this.
18532         (TEST_FUNCTION): New macro.
18533         Include test-skeleton.c.
18534         * stdio-common/tst-sscanf.c (main): Converted to ...
18535         (do_test): ... this.
18536         (TEST_FUNCTION): New macro.
18537         Include test-skeleton.c.
18538         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18539         (do_test): ... this.
18540         (TEST_FUNCTION): New macro.
18541         Include test-skeleton.c.
18543         * elf/tst-audit9.c (main): Converted to ...
18544         (do_test): ... this.
18545         (TEST_FUNCTION): New macro.
18546         Include test-skeleton.c.
18548 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18550         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18552 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18554         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18555         New variable.
18557 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18559         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18561 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18563         * sysdeps/generic/dl-fileid.h: New file.
18564         * sysdeps/posix/dl-fileid.h: New file.
18565         * sysdeps/nacl/dl-fileid.h: New file.
18566         * include/link.h: Include <dl-fileid.h>.
18567         (struct link_map): Replace l_dev and l_ino with l_file_id.
18568         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18569         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18570         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18572 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18574         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18576 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18578         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18579         Add iff $CXX is set.
18580         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18581         Likewise.
18582         (tst-nodelete-zmodiff): Likewise.
18583         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18585 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18587         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18589 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18591         * sysdeps/aarch64/fpu/math_private.h
18592         (define math_opt_barrier): Add AArch64 version.
18593         (math_force_eval): Likewise.
18595 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18597         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18599 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18601         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18602         %ld with %jd and cast to intmax_t.
18603         (do_test_length_zero): Likewise.
18605 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18607         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18609 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18611         * sysdeps/tile/libm-test-ulps: Regenerated.
18613         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18614         Comment out the whole function, not just its body.
18616 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18618         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18619         locks.
18621         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18623 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18625         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18626         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18628 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18630         * sysdeps/nptl/futex-internal.h: New file.
18631         * sysdeps/nacl/futex-internal.h: New file.
18632         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18633         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18634         error checking.
18635         (setxid_unmark_thread): Likewise.
18636         (__nptl_setxid): Likewise.
18637         (__wait_lookup_done): Likewise.
18638         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18639         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18640         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18641         * nptl/pthread_once.c (clear_once_control): Likewise.
18642         (__pthread_once_slow): Likewise.
18643         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18644         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18645         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18646         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18647         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18648         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18649         Likewise.
18650         (__pthread_rwlock_rdlock): Likewise.
18651         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18652         Likewise.
18653         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18654         Likewise.
18655         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18656         Likewise.
18657         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18658         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18659         Likewise.
18660         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18661         __ASSUME_PRIVATE_FUTEX check.
18662         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18663         Check that shared futexes are supported.
18664         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18665         wrappers with error checking.
18666         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18667         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18668         * nptl/pthread_barrierattr_setpshared.c
18669         (pthread_barrierattr_setpshared): Check that shared futexes are
18670         supported.
18671         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18672         Likewise.
18673         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18674         Likewise.
18675         * nptl/sem_init.c (futex_private_if_supported): Remove.
18676         (__new_sem_init): Adapt and check that shared futexes are supported.
18677         * nptl/sem_open.c (sem_open): Likewise.
18678         * nptl/sem_post.c (futex_wake): Remove.
18679         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18680         (do_futex_wait): Use futex wrappers with error checking.
18681         * nptl/sem_wait.c: Include lowlevellock.h.
18682         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18683         Use futex_supports_pshared.
18684         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18685         Use futex wrappers with error checking.
18686         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18687         Likewise.
18688         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18689         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18690         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18691         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18692         (futex_wake): Likewise.
18693         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18694         (do_futex_wait): Use futex wrappers with error checking.
18695         (__new_sem_wait_slow): Update EINTR handling.
18696         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18698 2015-07-09  Martin Sebor  <msebor@redhat.com>
18700         [BZ #18435]
18701         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18702         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18703         * nptl/Makefile (test-xfail-tst-once5): Define.
18705 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18707         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18708         * elf/dl-minimal.c: For readability, reorder some definitions and
18709         introduce more page breaks.  Include <stdio.h>.
18710         (__libc_fatal): New function.
18712         * include/unistd.h: Add rtld_hidden_proto for _exit.
18713         * posix/_exit.c: Add rtld_hidden_def.
18714         * sysdeps/mach/hurd/_exit.c: Likewise.
18715         * sysdeps/nacl/_exit.c: Likewise.
18716         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18717         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18719 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18722         bndmov encoding with zero displacement.
18724 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18725             H.J. Lu  <hongjiu.lu@intel.com>
18727         [BZ #18134]
18728         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18729         * sysdeps/i386/configure: Regenerated.
18730         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18731         (_dl_runtime_profile): Save and restore Intel MPX return bound
18732         registers when calling _dl_call_pltexit.  Add
18733         PRESERVE_BND_REGS_PREFIX before return.
18734         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18735         (LRV_BND1_OFFSET): Likewise.
18736         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18737         lrv_bnd1.
18738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18739         typo in bndmov encoding.
18740         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18741         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18742         branch instructions to preserve bounds.
18744 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18747         [GLIBC_2.22]: Add fmemopen.
18749 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18751         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18752         returns an error, also try to use host port from __mach_host_self for
18753         the __vm_wire call.
18754         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18756 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18758         [BZ #18400]
18759         [BZ #18648]
18760         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18761         Fix pr_uid and pr_gid members.
18762         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18763         definition to elf_greg_t.
18765 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18767         [BZ #18383]
18768         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18769         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18770         * sysdeps/arm/configure: Regenerated.
18771         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18772         (test-xfail-tst-tlsalign-static): Variable removed.
18774         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18775         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18776         rather than explicit 'ln -s'.
18778         * resolv/rpc/netdb.h: New file.
18779         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18781 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18783         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18784         length buffers.
18785         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18786         test-skeleton.c.
18788         [BZ #6544]
18789         [BZ #11216]
18790         [BZ #12836]
18791         [BZ #13151]
18792         [BZ #13152]
18793         [BZ #14292]
18794         * include/stdio.h (fmemopen): Remove hidden prototype.
18795         (__fmemopen): Add new hidden prototype.
18796         * libio/Makefile: Add oldfmemopen object.
18797         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18798         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18799         compliance.
18800         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18801         symbol compatibility.
18802         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18803         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18804         fmemopen.
18805         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18806         on append and read mode.
18807         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18808         fmemopen.
18809         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18810         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18811         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18812         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18813         Likewise.
18814         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18815         [GLIBC_2.22]: Likewise.
18816         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18817         Likewise.
18818         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18819         Likewise.
18820         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18821         [GLIBC_2.22]: Likewise.
18822         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18823         [GLIBC_2.22]: Likewise.
18824         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18825         [GLIBC_2.22]: Likewise.
18826         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18827         [GLIBC_2.22]: Likewise.
18828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18829         [GLIBC_2.22]: Likewise.
18830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18831         [GLIBC_2.22]: Likewise.
18832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18833         [GLIBC_2.22]: Likewise.
18834         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18835         Likewise.
18836         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18837         Likewise.
18838         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18839         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18840         [GLIBC_2.22]: Likewise.
18841         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18842         [GLIBC_2.22]: Likewise.
18843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18844         [GLIBC_2.22]: Likewise.
18845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18846         [GLIBC_2.22]: Likewise.
18847         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18848         Likewise.
18849         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18850         Likewise.
18851         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18852         Likewise.
18853         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18854         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18856 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18858         [BZ #18643]
18859         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18860         IPV6_PATHMTU, and IPV6_DONTFRAG.
18862 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18864         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18865         and _IO_UNBUFFERED.
18866         * libio/oldfileops.c: Likewise.
18867         * libio/wfileops.c: Likewise.
18869 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18871         * nscd/selinux.c: Delete selinux/flask.h include.
18873 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18875         [BZ #18641]
18876         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18877         (putpwent): Likewise.
18878         (getpwnam): Likewise.
18879         (getpwent_r): Likewise.
18880         (getpwuid_r): Likewise.
18881         (getpwnam_r): Likewise.
18882         (fgetpwent_r): Likewise.
18884 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18886         [BZ #18557]
18887         * inet/rcmd.c (__validuser2_sa): Check user first to
18888         short-circuit host check.
18890 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18891             Mikhail Ilin  <m.ilin@samsung.com>
18893         [BZ #17833]
18894         * elf/Makefile (tests): Add tst-nodelete.
18895         (modules-names): Add tst-nodelete-uniquemod.
18896         (tst-nodelete-uniquemod.so-no-z-defs): New.
18897         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18898         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18899         ($(objpfx)tst-nodelete): Likewise.
18900         ($(objpfx)tst-nodelete.out): Likewise.
18901         (LDFLAGS-tst-nodelete): Likewise.
18902         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18903         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18904         implement forced object deletion.
18905         (_dl_close): Pass false to _dl_close_worker.
18906         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18907         * elf/tst-nodelete.cc: New file.
18908         * elf/tst-nodeletelib.cc: Likewise.
18909         * elf/tst-znodeletelib.cc: Likewise.
18910         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18912 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18914         [BZ #18508]
18915         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18916         Depend on $(libdl).
18917         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18918         is not called infinitely times.
18919         (backtrace_helper): New function.
18920         (trace_arg): New struct.
18921         (st1): Enlarge stack size.
18922         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18923         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18924         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18925         Likewise.
18927 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18929         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18931 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18933         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18934         Include sys/types.h instead of bits/types.h.
18935         Remove inclusion of bits/wordsize.h.
18937 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18939         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18940         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18941         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18942         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18943         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18944         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18946 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18948         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18949         link-defines.sym.
18950         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18951         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18952         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18953         and LR_SIZE.
18954         * sysdeps/i386/link-defines.sym: New file.
18956 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18958         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18959         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18960         ($(objpfx)tst-audit3): New rule.
18961         ($(objpfx)tst-audit3.out): Likewise.
18962         * sysdeps/i386/tst-audit3.c: New file.
18963         * sysdeps/i386/tst-audit3.h: Likewise.
18964         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18965         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18967 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18969         [BZ #18633]
18970         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18971         pointer in C code.
18972         (__strcat_c): Likewise.
18973         (__strcat_g): Likewise.
18975 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18977         [BZ #18592]
18978         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18980 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18982         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18983         New function.  (__ieee754_sqrtf): New function.
18984         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18985         New function.
18986         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18987         New function.
18989 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18991         * sysdeps/ieee754/support.c: Remove unused file.
18993 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18995         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18996         registers instead of d ones so the layout is kernel abi compatible.
18997         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18998         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18999         Likewise.
19001 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19003         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19005 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19007         [BZ #18619]
19008         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19009         and return argument in case of subnormal argument.
19011 2015-07-01  Martin Sebor  <msebor@redhat.com>
19013         [BZ #18435]
19014         * nptl/Makefile: Add tst-once5.cc.
19015         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19016         Remove macro redefinitions.
19017         * nptl/tst-once5.cc: New test.
19019 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19021         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19023         * sysdeps/arm/libm-test-ulps: Regenerated.
19025         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19026         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19028 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19030         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19031         lll_lock_wait_private and lll_futex_wake probes.
19033         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19034         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19035         Likewise.
19036         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19037         atomic_spin_nop.
19038         * sysdeps/x86_64/bits/atomic.h: Likewise.
19039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19040         to atomic_spin_nop and move ...
19041         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19042         ... here and ...
19043         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19044         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19045         atomic_spin_nop instead of BUSY_WAIT_NOP.
19046         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19047         Likewise.
19048         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19049         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19050         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19051         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19052         instead of atomic_delay.
19054 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19056         [BZ #18613]
19057         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19058         X_ADJ not X when adjusting exponent.
19059         (__ieee754_gamma_r): Do intermediate computations in
19060         round-to-nearest then adjust overflowing and underflowing results
19061         as needed.
19062         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19063         of X_ADJ not X when adjusting exponent.
19064         (__ieee754_gammaf_r): Do intermediate computations in
19065         round-to-nearest then adjust overflowing and underflowing results
19066         as needed.
19067         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19068         log of X_ADJ not X when adjusting exponent.
19069         (__ieee754_gammal_r): Do intermediate computations in
19070         round-to-nearest then adjust overflowing and underflowing results
19071         as needed.  Use 1.0L not 1.0f as numerator of division.
19072         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19073         log of X_ADJ not X when adjusting exponent.
19074         (__ieee754_gammal_r): Do intermediate computations in
19075         round-to-nearest then adjust overflowing and underflowing results
19076         as needed.  Use 1.0L not 1.0f as numerator of division.
19077         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19078         of X_ADJ not X when adjusting exponent.
19079         (__ieee754_gammal_r): Do intermediate computations in
19080         round-to-nearest then adjust overflowing and underflowing results
19081         as needed.  Use 1.0L not 1.0f as numerator of division.
19082         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19083         to auto-libm-test-in.
19084         (tgamma_test): Use ALL_RM_TEST.
19085         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19086         tests of tgamma with spurious-overflow.
19087         * math/auto-libm-test-out: Regenerated.
19088         * math/gen-libm-have-vector-test.sh: Do not check for START.
19089         * sysdeps/i386/fpu/libm-test-ulps: Update.
19090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19092         [BZ #18612]
19093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19094         arguments, just return 0.5 times the argument, with underflow
19095         forced as needed.
19096         * math/auto-libm-test-in: Add more tests of j1.
19097         * math/auto-libm-test-out: Regenerated.
19099         [BZ #16559]
19100         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19101         (__ieee754_j1): Force underflow exception for small results.
19102         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19103         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19104         (__ieee754_j1f): Force underflow exception for small results.
19105         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19106         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19108         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19109         (__ieee754_j1l): Force underflow exception for small results.
19110         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19111         * math/auto-libm-test-in: Add more tests of j1 and jn.
19112         * math/auto-libm-test-out: Regenerated.
19114         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19116         (PF_MPLS): Likewise.
19117         (AF_IB): Likewise.
19118         (AF_MPLS): Likewise.
19119         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19120         value and macro.
19121         (MS_RMT_MASK): Include MS_LAZYTIME.
19123 2015-06-26  Mel Gorman  <mgorman@suse.de>
19125         [BZ #18502]
19126         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19127         already minimal.
19129 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19131         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19132         (DT_MIPS_NUM): Update.
19133         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19134         DT_MIPS_RLD_MAP_REL.
19136 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19138         [BZ #16559]
19139         [BZ #18602]
19140         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19141         round-to-nearest internally then recompute results that
19142         underflowed to zero in the original rounding mode.
19143         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19144         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19146         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19147         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19148         * sysdeps/i386/fpu/libm-test-ulps: Update.
19149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19151 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19153         * NEWS: Fixed description of link with vector math library.
19155 2015-06-25  Andreas Schwab  <schwab@suse.de>
19157         [BZ #18549]
19158         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19159         * libio/test-fmemopen.c (do_test): Add test for it.
19161 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19163         [BZ #17841]
19164         * Makeconfig (no-pie-ldflag): New.
19165         (+link): Set to $(+link-pie) if default to PIE.
19166         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19167         * config.make.in (build-pie-default): New.
19168         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19169         is default.  AC_SUBST.
19170         * configure: Regenerated.
19171         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19173 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19175         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19176         to 'unsigned int'.
19178         * resolv/gai_misc.h (struct waitlist): Change type of field
19179         counterp to 'volatile unsigned int *'.
19180         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19181         FUTEXADDR and OLDVAL.
19182         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19183         Give local variable TOTAL type 'volatile unsigned int'.
19184         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19185         * resolv/gai_suspend.c (gai_suspend):
19186         Give local variable CNTR type 'unsigned int'.
19188         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19189         counterp to 'volatile unsigned int *'.
19190         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19191         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19192         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19193         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19194         Give local variable TOTAL type 'volatile unsigned int'.
19195         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19197 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19199         [BZ #18383]
19200         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19201         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19202         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19203         comment for i386/x86-64.
19204         (test-xfail-tst-tlsalign-extern-static): Removed.
19206 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19208         * math/test-double.h: New file.
19209         * math/test-float.h: Likewise.
19210         * math/test-ldouble.h: Likewise.
19211         * math/test-math-inline.h: Likewise.
19212         * math/test-math-no-inline.h: Likewise.
19213         * math/test-math-scalar.h: Likewise.
19214         * math/test-math-vector.h: Likewise.
19215         * math/test-vec-loop.h: Remove file.  Contents moved into
19216         test-math-vector.h.
19217         * math/libm-test.inc (MATHCONST): Do not document macro.
19218         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19219         and test-math-scalar.h.
19220         (FUNC): Remove macro.
19221         (FUNC_TEST): Likewise.
19222         (FLOAT): Likewise.
19223         (MATHCONST): Likewise.
19224         (PRINTF_EXPR): Likewise.
19225         (PRINTF_XEXPR): Likewise.
19226         (PRINTF_NEXPR): Likewise.
19227         (TEST_DOUBLE): Likewise.
19228         (TEST_MATHVEC): Likewise.
19229         (__NO_MATH_INLINES): Likewise.
19230         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19231         and test-math-scalar.h.
19232         (FUNC): Remove macro.
19233         (FUNC_TEST): Likewise.
19234         (FLOAT): Likewise.
19235         (MATHCONST): Likewise.
19236         (PRINTF_EXPR): Likewise.
19237         (PRINTF_XEXPR): Likewise.
19238         (PRINTF_NEXPR): Likewise.
19239         (TEST_FLOAT): Likewise.
19240         (TEST_MATHVEC): Likewise.
19241         (__NO_MATH_INLINES): Likewise.
19242         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19243         and test-math-scalar.h.
19244         (FUNC): Remove macro.
19245         (FUNC_TEST): Likewise.
19246         (FLOAT): Likewise.
19247         (MATHCONST): Likewise.
19248         (PRINTF_EXPR): Likewise.
19249         (PRINTF_XEXPR): Likewise.
19250         (PRINTF_NEXPR): Likewise.
19251         (TEST_DOUBLE): Likewise.
19252         (TEST_MATHVEC): Likewise.
19253         (TEST_INLINE): Likewise.
19254         (__NO_MATH_INLINES): Likewise.
19255         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19256         test-math-scalar.h.
19257         (FUNC): Remove macro.
19258         (FUNC_TEST): Likewise.
19259         (FLOAT): Likewise.
19260         (MATHCONST): Likewise.
19261         (PRINTF_EXPR): Likewise.
19262         (PRINTF_XEXPR): Likewise.
19263         (PRINTF_NEXPR): Likewise.
19264         (TEST_FLOAT): Likewise.
19265         (TEST_MATHVEC): Likewise.
19266         (TEST_INLINE): Likewise.
19267         (__NO_MATH_INLINES): Likewise.
19268         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19269         and test-math-scalar.h.
19270         (FUNC): Remove macro.
19271         (FUNC_TEST): Likewise.
19272         (FLOAT): Likewise.
19273         (MATHCONST): Likewise.
19274         (PRINTF_EXPR): Likewise.
19275         (PRINTF_XEXPR): Likewise.
19276         (PRINTF_NEXPR): Likewise.
19277         (TEST_LDOUBLE): Likewise.
19278         (TEST_MATHVEC): Likewise.
19279         (TEST_INLINE): Likewise.
19280         (__NO_MATH_INLINES): Likewise.
19281         * math/test-ldouble.c: Include test-ldouble.h,
19282         test-math-no-inline.h and test-math-scalar.h.
19283         (FUNC): Remove macro.
19284         (FUNC_TEST): Likewise.
19285         (FLOAT): Likewise.
19286         (MATHCONST): Likewise.
19287         (PRINTF_EXPR): Likewise.
19288         (PRINTF_XEXPR): Likewise.
19289         (PRINTF_NEXPR): Likewise.
19290         (TEST_LDOUBLE): Likewise.
19291         (TEST_MATHVEC): Likewise.
19292         (__NO_MATH_INLINES): Likewise.
19293         * math/test-double-vlen2.h: Include test-double.h,
19294         test-math-no-inline.h and test-math-vector.h.
19295         (FLOAT): Remove macro.
19296         (FUNC): Likewise.
19297         (MATHCONST): Likewise.
19298         (PRINTF_EXPR): Likewise.
19299         (PRINTF_XEXPR): Likewise.
19300         (PRINTF_NEXPR): Likewise.
19301         (TEST_DOUBLE): Likewise.
19302         (TEST_MATHVEC): Likewise.
19303         (__NO_MATH_INLINES): Likewise.
19304         (CNCT): Likewise.
19305         (CONCAT): Likewise.
19306         (WRAPPER_NAME): Likewise.
19307         (WRAPPER_DECL): Likewise.
19308         (WRAPPER_DECL_ff): Likewise.
19309         (WRAPPER_DECL_fFF): Likewise.
19310         (VECTOR_WRAPPER): Likewise.
19311         (VECTOR_WRAPPER_ff): Likewise.
19312         (VECTOR_WRAPPER_fFF): Likewise.
19313         (VEC_LEN): New macro.
19314         * math/test-double-vlen4.h: Include test-double.h,
19315         test-math-no-inline.h and test-math-vector.h.
19316         (FLOAT): Remove macro.
19317         (FUNC): Likewise.
19318         (MATHCONST): Likewise.
19319         (PRINTF_EXPR): Likewise.
19320         (PRINTF_XEXPR): Likewise.
19321         (PRINTF_NEXPR): Likewise.
19322         (TEST_DOUBLE): Likewise.
19323         (TEST_MATHVEC): Likewise.
19324         (__NO_MATH_INLINES): Likewise.
19325         (CNCT): Likewise.
19326         (CONCAT): Likewise.
19327         (WRAPPER_NAME): Likewise.
19328         (WRAPPER_DECL): Likewise.
19329         (WRAPPER_DECL_ff): Likewise.
19330         (WRAPPER_DECL_fFF): Likewise.
19331         (VECTOR_WRAPPER): Likewise.
19332         (VECTOR_WRAPPER_ff): Likewise.
19333         (VECTOR_WRAPPER_fFF): Likewise.
19334         (VEC_LEN): New macro.
19335         * math/test-double-vlen8.h: Include test-double.h,
19336         test-math-no-inline.h and test-math-vector.h.
19337         (FLOAT): Remove macro.
19338         (FUNC): Likewise.
19339         (MATHCONST): Likewise.
19340         (PRINTF_EXPR): Likewise.
19341         (PRINTF_XEXPR): Likewise.
19342         (PRINTF_NEXPR): Likewise.
19343         (TEST_DOUBLE): Likewise.
19344         (TEST_MATHVEC): Likewise.
19345         (__NO_MATH_INLINES): Likewise.
19346         (CNCT): Likewise.
19347         (CONCAT): Likewise.
19348         (WRAPPER_NAME): Likewise.
19349         (WRAPPER_DECL): Likewise.
19350         (WRAPPER_DECL_ff): Likewise.
19351         (WRAPPER_DECL_fFF): Likewise.
19352         (VECTOR_WRAPPER): Likewise.
19353         (VECTOR_WRAPPER_ff): Likewise.
19354         (VECTOR_WRAPPER_fFF): Likewise.
19355         (VEC_LEN): New macro.
19356         * math/test-float-vlen4.h: Include test-float.h,
19357         test-math-no-inline.h and test-math-vector.h.
19358         (FLOAT): Remove macro.
19359         (FUNC): Likewise.
19360         (MATHCONST): Likewise.
19361         (PRINTF_EXPR): Likewise.
19362         (PRINTF_XEXPR): Likewise.
19363         (PRINTF_NEXPR): Likewise.
19364         (TEST_FLOAT): Likewise.
19365         (TEST_MATHVEC): Likewise.
19366         (__NO_MATH_INLINES): Likewise.
19367         (CNCT): Likewise.
19368         (CONCAT): Likewise.
19369         (WRAPPER_NAME): Likewise.
19370         (WRAPPER_DECL): Likewise.
19371         (WRAPPER_DECL_ff): Likewise.
19372         (WRAPPER_DECL_fFF): Likewise.
19373         (VECTOR_WRAPPER): Likewise.
19374         (VECTOR_WRAPPER_ff): Likewise.
19375         (VECTOR_WRAPPER_fFF): Likewise.
19376         (VEC_LEN): New macro.
19377         * math/test-float-vlen8.h: Include test-float.h,
19378         test-math-no-inline.h and test-math-vector.h.
19379         (FLOAT): Remove macro.
19380         (FUNC): Likewise.
19381         (MATHCONST): Likewise.
19382         (PRINTF_EXPR): Likewise.
19383         (PRINTF_XEXPR): Likewise.
19384         (PRINTF_NEXPR): Likewise.
19385         (TEST_FLOAT): Likewise.
19386         (TEST_MATHVEC): Likewise.
19387         (__NO_MATH_INLINES): Likewise.
19388         (CNCT): Likewise.
19389         (CONCAT): Likewise.
19390         (WRAPPER_NAME): Likewise.
19391         (WRAPPER_DECL): Likewise.
19392         (WRAPPER_DECL_ff): Likewise.
19393         (WRAPPER_DECL_fFF): Likewise.
19394         (VECTOR_WRAPPER): Likewise.
19395         (VECTOR_WRAPPER_ff): Likewise.
19396         (VECTOR_WRAPPER_fFF): Likewise.
19397         (VEC_LEN): New macro.
19398         * math/test-float-vlen16.h: Include test-float.h,
19399         test-math-no-inline.h and test-math-vector.h.
19400         (FLOAT): Remove macro.
19401         (FUNC): Likewise.
19402         (MATHCONST): Likewise.
19403         (PRINTF_EXPR): Likewise.
19404         (PRINTF_XEXPR): Likewise.
19405         (PRINTF_NEXPR): Likewise.
19406         (TEST_FLOAT): Likewise.
19407         (TEST_MATHVEC): Likewise.
19408         (__NO_MATH_INLINES): Likewise.
19409         (CNCT): Likewise.
19410         (CONCAT): Likewise.
19411         (WRAPPER_NAME): Likewise.
19412         (WRAPPER_DECL): Likewise.
19413         (WRAPPER_DECL_ff): Likewise.
19414         (WRAPPER_DECL_fFF): Likewise.
19415         (VECTOR_WRAPPER): Likewise.
19416         (VECTOR_WRAPPER_ff): Likewise.
19417         (VECTOR_WRAPPER_fFF): Likewise.
19418         (VEC_LEN): New macro.
19419         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19420         test-vec-loop.h.
19421         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19422         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19423         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19424         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19425         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19426         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19427         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19429 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19431         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19432         (__getlogin_r): ... this.
19434 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19436         [BZ #18594]
19437         * math/s_ccosh.c (__ccosh): Compare with least normal value
19438         instead of comparing class with FP_SUBNORMAL.
19439         * math/s_ccoshf.c (__ccoshf): Likewise.
19440         * math/s_ccoshl.c (__ccoshl): Likewise.
19441         * math/s_cexp.c (__cexp): Likewise.
19442         * math/s_cexpf.c (__cexpf): Likewise.
19443         * math/s_cexpl.c (__cexpl): Likewise.
19444         * math/s_csin.c (__csin): Likewise.
19445         * math/s_csinf.c (__csinf): Likewise.
19446         * math/s_csinh.c (__csinh): Likewise.
19447         * math/s_csinhf.c (__csinhf): Likewise.
19448         * math/s_csinhl.c (__csinhl): Likewise.
19449         * math/s_csinl.c (__csinl): Likewise.
19450         * math/s_ctan.c (__ctan): Likewise.
19451         * math/s_ctanf.c (__ctanf): Likewise.
19452         * math/s_ctanh.c (__ctanh): Likewise.
19453         * math/s_ctanhf.c (__ctanhf): Likewise.
19454         * math/s_ctanhl.c (__ctanhl): Likewise.
19455         * math/s_ctanl.c (__ctanl): Likewise.
19456         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19457         csin, csinh, ctan and ctanh.
19458         * math/auto-libm-test-out: Regenerated.
19459         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19460         * sysdeps/i386/fpu/libm-test-ulps: Update.
19461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19465         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19466         return value is wrong, print the expected value too.
19468 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19470         [BZ #18585]
19471         * elf/readlib.c (is_gdb_python_file): New.
19472         (process_file): Don't issue errors on filenames with -gdb.py
19473         suffix.
19475 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19477         * math/auto-libm-test-in: Add more tests of csin and csinh.
19478         * math/auto-libm-test-out: Regenerated.
19479         * math/libm-test.inc (csin_test_data): Remove tests moved to
19480         auto-libm-test-in.
19481         (csinh_test_data): Likewise.
19483         [BZ #18593]
19484         * math/s_csin.c (__csin): Negate before rather than after possibly
19485         overflowing multiplication.
19486         * math/s_csinf.c (__csinf): Likewise.
19487         * math/s_csinh.c (__csinh): Likewise.
19488         * math/s_csinhf.c (__csinhf): Likewise.
19489         * math/s_csinhl.c (__csinhl): Likewise.
19490         * math/s_csinl.c (__csinl): Likewise.
19491         * math/auto-libm-test-in: Add some tests of csin and csinh.
19492         * math/auto-libm-test-out: Regenerated.
19493         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19494         (csinh_test_data): Likewise.
19495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19497         [BZ #18586]
19498         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19499         underflow exception for small results.
19501 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19503         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19504         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19505         variable and included header.
19506         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19507         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19508         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19509         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19510         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19514         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19515         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19516         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19517         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19518         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19519         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19520         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19521         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19523 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19525         [BZ #16526]
19526         [BZ #16538]
19527         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19528         (__sin): Force underflow exception for arguments with small
19529         absolute value.
19530         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19531         (__kernel_sinf): Force underflow exception for arguments with
19532         small absolute value.
19533         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19534         (__kernel_sincosl): Force underflow exception for arguments with
19535         small absolute value.
19536         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19537         (__kernel_sinl): Force underflow exception for arguments with
19538         small absolute value.
19539         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19540         (__kernel_sincosl): Force underflow exception for arguments with
19541         small absolute value.
19542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19543         (__kernel_sinl): Force underflow exception for arguments with
19544         small absolute value.
19545         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19546         (__kernel_sinl): Force underflow exception for arguments with
19547         small absolute value.
19548         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19549         (__kernel_sinf): Force underflow exception for arguments with
19550         small absolute value.
19551         * math/auto-libm-test-in: Add more tests of sin and sincos.
19552         * math/auto-libm-test-out: Regenerated.
19554         [BZ #18245]
19555         [BZ #18583]
19556         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19557         (__kernel_standard_l): Use feholdexcept and fesetenv around
19558         conversion to double instead of special-casing overflow and
19559         underflow.
19560         * math/libm-test.inc (fmod_test_data): Add more tests.
19561         (remainder_test_data): Likewise.
19562         (sqrt_test_data): Likewise.
19564 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19566         [BZ #17403]
19567         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19568         atomic_read_barrier, atomic_write_barrier): Define.
19569         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19570         atomic_read_barrier, atomic_write_barrier): Define.
19572 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19574         * math/Makefile [$(PERL) != no]
19575         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19576         dependency on libm-test.stmp below the inclusion of Rules.
19578 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19580         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19582         and included header.
19583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19585         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19586         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19587         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19588         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19591         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19592         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19593         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19594         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19595         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19596         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19597         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19598         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19599         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19600         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19601         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19603 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19605         [BZ #18371]
19606         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19607         intermediate but not final result might underflow.
19608         * math/s_csqrtf.c (__csqrtf): Likewise.
19609         * math/s_csqrtl.c (__csqrtl): Likewise.
19610         * math/auto-libm-test-in: Add more tests of csqrt.
19611         * math/auto-libm-test-out: Regenerated.
19612         * sysdeps/i386/fpu/libm-test-ulps: Update.
19614         [BZ #18219]
19615         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19616         threshold on absolute value of exponent for which scaling is used.
19617         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19618         * math/auto-libm-test-in: Add more tests of exp2.
19619         * math/auto-libm-test-out: Regenerated.
19621 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19623         [BZ #17977]
19624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19625         when initializing interface list, based on the bug analysis
19626         and the patch proposed by Eric Newton.
19627         * resolv/tst-res_hconf_reorder.c: New test.
19628         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19629         tst-res_hconf_reorder.
19630         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19631         and $(shared-thread-library).
19632         (tst-res_hconf_reorder-ENV): New variable.
19634         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19635         in comment.
19637 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19639         [BZ #16353]
19640         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19641         (__expm1): Force underflow exception for arguments with small
19642         absolute value.
19643         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19644         (__expm1f): Force underflow exception for arguments with small
19645         absolute value.
19646         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19647         (__expm1): Force underflow exception for arguments with small
19648         absolute value.
19649         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19650         (__expm1f): Force underflow exception for arguments with small
19651         absolute value.
19652         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19653         Check for small arguments before calling __expm1.
19654         * math/auto-libm-test-in: Do not mark underflow exceptions as
19655         possibly missing for bug 16353.
19656         * math/auto-libm-test-out: Regenerated.
19658 2015-06-22  Andreas Schwab  <schwab@suse.de>
19660         [BZ #18513]
19661         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19662         PTR queries.
19664 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19666         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19668         * string/strcoll_l.c: Remove unused struct element idxnow.
19670 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19672         [BZ #18569]
19673         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19674         underflow and return argument in case of subnormal argument.
19675         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19676         Likewise.
19677         * math/auto-libm-test-in: Add more tests of expm1.
19678         * math/auto-libm-test-out: Regenerated.
19680         [BZ #16361]
19681         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19682         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19683         tiny results.
19684         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19685         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19686         tiny results.
19687         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19688         mark underflow exceptions as possibly missing for bug 16361.
19689         * math/auto-libm-test-out: Regenerated.
19691 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19693         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19694         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19695         Remove variable.
19696         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19697         (test-xfail-XOPEN2K8/utmpx.h/conform).
19699         * conform/conformtest.pl ($xerrors): New variable.
19700         (note_error): New function.
19701         (compiletest): New argument $xfail.  Use not_error.
19702         (runtest): Likewise.
19703         (top level): Handle xfail- lines.  Update calls to compiletest and
19704         runtest.  Handle xfail- and optional- in headers listed with
19705         allow-header.
19706         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19707         (O_EXEC): Likewise.
19708         (O_SEARCH): Likewise.
19709         * conform/data/stropts.h-data (ioctl): Likewise.
19710         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19711         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19712         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19713         (msghdr.msg_controllen): Likewise.
19714         (cmsghdr.cmsg_len): Likewise.
19715         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19716         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19717         variable.
19718         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19719         (test-xfail-XPG4/stropts.h/conform): Likewise.
19720         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19721         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19722         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19723         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19724         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19725         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19726         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19727         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19728         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19729         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19730         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19731         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19732         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19733         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19734         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19735         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19736         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19737         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19738         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19740 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19742         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19743         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19744         definitions for proper unfolding of __MATHDECL_VEC.
19746 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19748         * benchtests/bench-strcoll.c:
19749         Include string.h.
19750         (main): Remove unused variable res.
19752 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19754         * timezone/Makefile (%/UTC %/Universal):
19755         Generate test-result files for UTC and Universal.
19757 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19759         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19761 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19763         [BZ #16350]
19764         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19765         for arguments with small absolute value.
19766         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19767         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19768         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19769         (__asinh): Force underflow exception for arguments with small
19770         absolute value.
19771         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19772         (__asinhf): Force underflow exception for arguments with small
19773         absolute value.
19774         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19775         (__asinhl): Force underflow exception for arguments with small
19776         absolute value.
19777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19778         (__asinhl): Force underflow exception for arguments with small
19779         absolute value.
19780         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19781         (__asinhl): Force underflow exception for arguments with small
19782         absolute value.
19783         * math/auto-libm-test-in: Do not mark underflow exceptions as
19784         possibly missing for bug 16350.
19785         * math/auto-libm-test-out: Regenerated.
19787         * include/bits/ipc.h: Remove file.
19788         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19789         variable.
19790         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19791         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19792         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19793         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19794         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19795         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19796         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19797         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19798         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19800         * math/auto-libm-test-in: Remove spurious underflow allowance for
19801         tests of cexp.
19802         * math/auto-libm-test-out: Regenerated.
19804         [BZ #18558]
19805         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19806         unconditional definition.
19807         (MCAST_BLOCK_SOURCE): Likewise.
19808         (MCAST_UNBLOCK_SOURCE): Likewise.
19809         (MCAST_LEAVE_GROUP): Likewise.
19810         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19811         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19812         (MCAST_MSFILTER): Likewise.
19813         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19814         Remove variable.
19815         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19816         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19817         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19818         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19819         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19821 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19823         * NEWS: Mention addition of x86_64 vector sincosf.
19824         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19825         * math/test-float-vlen4.h: Likewise.
19826         * math/test-float-vlen8.h: Likewise.
19827         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19828         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19830         * sysdeps/x86_64/fpu/Versions: New versions added.
19831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19833         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19835         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19836         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19837         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19839         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19840         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19841         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19842         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19843         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19844         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19845         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19846         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19847         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19848         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19849         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19850         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19851         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19853         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19854         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19856         * NEWS: Mention addition of x86_64 vector sincos.
19857         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19858         * math/math.h (__MATHDECL_VEC): New macro.
19859         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19860         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19861         declaration under condition.
19862         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19863         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19864         TEST_VEC_LOOP change.
19865         * math/test-double-vlen4.h: Likewise.
19866         * math/test-double-vlen8.h: Likewise.
19867         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19868         * math/test-float-vlen4.h: Likewise.
19869         * math/test-float-vlen8.h: Likewise.
19870         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19871         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19872         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19873         * sysdeps/x86_64/fpu/Versions: New versions added.
19874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19875         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19876         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19878         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19882         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19883         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19884         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19885         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19886         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19887         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19888         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19889         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19890         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19891         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19892         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19893         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19894         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19895         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19896         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19897         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19900         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19901         redirections for powf.
19902         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19903         * sysdeps/x86_64/fpu/Versions: New versions added.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19905         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19906         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19907         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19910         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19912         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19914         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19915         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19916         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19917         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19918         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19919         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19920         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19921         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19922         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19923         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19924         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19925         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19926         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19927         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19928         * math/test-float-vlen16.h: Fixed 2 argument macro.
19929         * math/test-float-vlen4.h: Likewise.
19930         * math/test-float-vlen8.h: Likewise.
19931         * NEWS: Mention addition of x86_64 vector powf.
19933 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19935         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19936         and redefine.
19937         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19938         and redefine.
19939         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19943         [BZ #18553]
19944         * resource/getpriority.c (getpriority): Rename to __getpriority
19945         and define as weak alias of __getpriority.
19946         * resource/setpriority.c (setpriority): Rename to __setpriority
19947         and define as weak alias of __setpriority.
19948         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19949         __getpriority and define as weak alias of __getpriority.
19950         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19951         __setpriority and define as weak alias of __setpriority.
19952         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19953         strong name.
19954         (setpriority): Use __setpriority as strong name.
19955         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19956         __getpriority and define as weak alias of __getpriority.
19957         * include/sys/resource.h (__getpriority): Declare.  Use
19958         libc_hidden_proto.
19959         (__setpriority): Likewise.
19960         (getpriority): Don't use libc_hidden_proto.
19961         (setpriority): Likewise.
19962         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19963         getpriority.  Call __setpriority instead of setpriority.
19964         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19965         Remove variable.
19967         [BZ #18547]
19968         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19969         as weak alias of __getttynam.  Use prototype function definition.
19970         Call __setttyent, __getttyent and __endttyent instead of
19971         setttyent, getttyent and endttyent.
19972         (getttyent): Rename to __getttyent and define as weak alias of
19973         __getttyent.  Call __setttyent instead of setttyent.  Call
19974         __fgets_unlocked instead of fgets_unlocked.
19975         (setttyent): Rename to __setttyent and define as weak alias of
19976         __setttyent.
19977         (endttyent): Rename to __endttyent and define as weak alias of
19978         __endttyent.
19979         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19980         (__setttyent): Likewise.
19981         (__endttyent): Likewise.
19982         (getttyent): Don't use libc_hidden_proto.
19983         (setttyent): Likewise.
19984         (endttyent): Likewise.
19985         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19986         __endttyent instead of setttyent, getttyent and endttyent.
19987         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19988         Remove variable.
19990         [BZ #18546]
19991         * socket/recv.c (__recv): Use libc_hidden_def.
19992         * socket/socket.c (__socket): Likewise.
19993         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19994         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19995         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19996         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19997         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19998         libc_hidden_def.
19999         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20000         libc_hidden_weak.
20001         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20002         Use libc_hidden_proto.
20003         (__recv): Likewise.
20004         * socket/Versions (libc): Export __recv and __socket at version
20005         GLIBC_PRIVATE.
20006         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20007         instead of recv.
20008         (init_mq_netlink): Call __socket instead of socket.
20009         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20010         Remove variable.
20012         [BZ #18545]
20013         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20014         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20015         hidden_weak.
20016         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20017         define as alias of __mq_timedsend.  Use hidden_weak.
20018         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20019         __mq_timedsend as strong name.
20020         (mq_timedreceive): Use __mq_timedreceive as strong name.
20021         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20022         (__mq_timedreceive): Likewise.
20023         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20024         __mq_timedreceive instead of mq_timedreceive.
20025         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20026         instead of mq_timedsend.
20027         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20028         Remove variable.
20030         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20031         hidden_def and hidden_weak instead of libc_hidden_def and
20032         libc_hidden_weak.
20033         (top level): Refer to hidden_def in comment.
20034         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20035         macro.  Use it instead of libc_hidden_def.
20036         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20037         specify __GI_* name explicitly.
20038         (mq_timedreceive): Likewise.
20039         (mq_setattr): Likewise.
20041         [BZ #18544]
20042         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20043         __pthread_barrier_init and define as weak alias of
20044         __pthread_barrier_init.
20045         * sysdeps/sparc/nptl/pthread_barrier_init.c
20046         (pthread_barrier_init): Likewise.
20047         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20048         __pthread_barrier_wait and define as weak alias of
20049         __pthread_barrier_wait.
20050         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20051         (pthread_barrier_wait): Likewise.
20052         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20053         (pthread_barrier_wait): Likewise.
20054         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20055         (pthread_barrier_wait): Likewise.
20056         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20057         (pthread_barrier_wait): Likewise.
20058         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20059         __pthread_barrier_wait at version GLIBC_PRIVATE.
20060         * include/pthread.h (__pthread_barrier_init): Declare.
20061         (__pthread_barrier_wait): Likewise.
20062         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20063         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20064         (helper_thread): Likewise.
20065         (init_mq_netlink): Call __pthread_barrier_init instead of
20066         pthread_barrier_init.
20068         [BZ #18542]
20069         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20070         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20071         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20072         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20073         vswscanf.
20074         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20075         Remove variable.
20077         [BZ #18540]
20078         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20079         strong alias of _IO_fflush.  Use libc_hidden_def.
20080         * libio/iofflush_u.c (fflush_unlocked): Rename to
20081         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20082         Use libc_hidden_weak.
20083         * include/stdio.h (__fflush_unlocked): Declare.  Use
20084         libc_hidden_proto.
20085         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20086         fflush_unlocked.
20087         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20088         Remove variable.
20090         [BZ #18539]
20091         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20092         define as weak alias of __addseverity.
20093         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20094         Remove variable.
20095         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20096         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20097         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20099         [BZ #18536]
20100         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20101         (__tfind): Likewise.
20102         (__tdelete): Likewise.
20103         (__twalk): Likewise.
20104         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20105         __twalk to GLIBC_PRIVATE.
20106         * include/search.h (__tsearch): Use libc_hidden_proto.
20107         (__tfind): Likewise.
20108         (__tdelete): Likewise.
20109         (__twalk): Likewise.
20110         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20111         Call __tdelete instead of tdelete.
20112         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20113         tfind.  Call __tsearch instead of tsearch.
20114         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20115         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20116         Remove variable.
20117         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20119         [BZ #18534]
20120         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20121         (dprintf): Define as a weak alias of __dprintf, not a strong
20122         alias.
20123         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20124         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20125         dprintf.
20126         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20127         Remove variable.
20128         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20129         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20131         [BZ #18533]
20132         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20133         not a strong alias.
20134         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20135         Remove variable.
20137         [BZ #18532]
20138         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20139         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20140         (in6addr_loopback): Rename to __in6addr_loopback and define as
20141         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20142         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20143         libc_hidden_proto.
20144         (__in6addr_any): Likewise.
20145         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20146         in6addr_any.
20147         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20148         variable.
20149         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20151 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20153         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20154         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20155         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20156         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20157         redirections for pow.
20158         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20159         * sysdeps/x86_64/fpu/Versions: New versions added.
20160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20161         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20162         build of SSE, AVX2 and AVX512 IFUNC versions.
20163         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20164         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20167         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20168         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20169         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20170         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20171         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20172         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20173         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20174         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20175         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20176         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20177         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20178         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20180         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20181         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20182         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20183         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20184         * NEWS: Mention addition of x86_64 vector pow.
20186         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20187         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20188         redirections for expf.
20189         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20190         * sysdeps/x86_64/fpu/Versions: New versions added.
20191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20192         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20193         build of SSE, AVX2 and AVX512 IFUNC versions.
20194         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20200         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20201         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20202         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20203         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20204         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20205         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20206         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20207         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20208         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20209         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20210         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20211         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20212         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20213         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20214         * NEWS: Mention addition of x86_64 vector expf.
20216         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20217         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20219         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20220         redirections for exp.
20221         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20222         * sysdeps/x86_64/fpu/Versions: New versions added.
20223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20224         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20225         build of SSE, AVX2 and AVX512 IFUNC versions.
20226         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20227         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20228         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20229         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20230         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20232         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20233         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20234         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20235         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20236         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20237         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20238         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20239         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20241         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20242         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20243         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20244         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20245         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20246         * NEWS: Mention addition of x86_64 vector exp.
20248         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20249         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20250         redirections for logf.
20251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20252         * sysdeps/x86_64/fpu/Versions: New versions added.
20253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20254         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20255         build of SSE, AVX2 and AVX512 IFUNC versions.
20256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20257         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20258         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20259         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20260         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20261         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20262         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20263         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20264         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20265         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20266         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20267         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20268         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20269         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20270         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20271         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20273         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20274         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20275         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20276         * NEWS: Mention addition of x86_64 vector logf.
20278         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20279         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20281         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20282         redirections for log.
20283         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20284         * sysdeps/x86_64/fpu/Versions: New versions added.
20285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20286         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20287         build of SSE, AVX2 and AVX512 IFUNC versions.
20288         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20289         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20290         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20291         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20292         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20293         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20294         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20295         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20296         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20297         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20298         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20299         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20300         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20301         test.
20302         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20303         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20304         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20305         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20306         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20307         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20308         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20309         * NEWS: Mention addition of x86_64 vector log.
20311 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20313         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20314         cfi_adjust_cfa_offset argument.
20315         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20316         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20318         [BZ #18034]
20319         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20320         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20321         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20322         ordering using ldar.
20323         (_dl_tlsdesc_dynamic): Likewise.
20324         (_dl_tlsdesc_return_lazy): Likewise.
20325         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20326         relaxed atomics instead of volatile and synchronize with release store.
20327         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20328         volatile.
20329         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20331 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20334         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20336         * sysdeps/x86_64/fpu/Versions: New versions added.
20337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20338         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20339         build of SSE, AVX2 and AVX512 IFUNC versions.
20340         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20342         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20343         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20344         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20346         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20347         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20348         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20349         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20350         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20351         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20352         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20353         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20354         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20355         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20357         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20358         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20359         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20360         * NEWS: Mention addition of x86_64 vector sinf.
20362 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20364         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20365         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20366         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20367         Remove variable.
20368         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20369         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20371 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20373         [BZ #18530]
20374         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20375         strong alias of _IO_fputs.  Use libc_hidden_def.
20376         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20377         and define as weak alias of __fputs_unlocked.  Use
20378         libc_hidden_weak.
20379         * include/stdio.h (__fputs_unlocked): Declare.  Use
20380         libc_hidden_proto.
20381         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20382         fputs_unlocked.
20384         [BZ #18529]
20385         * resolv/netdb.h [__USE_POSIX]: Change condition to
20386         [__USE_XOPEN2K].
20387         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20388         not expect.
20389         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20390         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20391         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20392         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20393         [XPG4 || UNIX98] (AI_ALL): Likewise.
20394         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20395         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20396         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20397         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20398         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20399         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20400         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20401         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20402         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20403         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20404         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20405         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20406         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20407         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20408         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20409         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20410         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20411         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20412         [XPG4 || UNIX98] (gai_strerror): Likewise.
20413         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20414         [XPG4 || UNIX98] (getnameinfo): Likewise.
20416         [BZ #18528]
20417         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20418         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20419         __USE_XOPEN2K8].
20420         (getgrent): Likewise.
20421         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20422         expect.
20423         [XPG3 || POSIX2008] (endgrent): Likewise.
20424         [XPG3] (setgrent): Likewise.
20425         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20426         variable.
20427         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20429         [BZ #18527]
20430         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20431         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20432         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20433         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20434         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20435         * include/unistd.h (__getlogin_r): Declare.  Use
20436         libc_hidden_proto.
20437         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20438         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20439         variable.
20440         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20441         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20442         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20444 2015-06-12  Martin Sebor  <msebor@redhat.com>
20446         [BZ #18512]
20447         * Makerules (check-install-supported): New target.
20448         (install): Add check-install-supported as a dependency.
20449         * manual/install.texi (Installing the C Library): Document
20450         that overriding prefix and exec_prefix is not supported.
20451         Mention DESTDIR.
20452         * INSTALL: Regenerate from the above.
20454 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #18519]
20457         * posix/Versions (libc): Export __libc_pread at version
20458         GLIBC_PRIVATE.
20459         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20460         instead of pread.
20461         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20462         variable.
20464         [BZ #18522]
20465         * misc/efgcvt_r.c
20466         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20467         (cvt_symbol): Use weak_alias instead of strong_alias.
20468         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20469         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20470         Remove variable.
20471         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20472         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20474         [BZ #18520]
20475         * inet/herrno.c (h_errno): Rename to __h_errno.
20476         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20477         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20478         to __h_errno instead of h_errno.
20479         * nptl/herrno.c (h_errno): Rename to __h_errno.
20480         (__h_errno_location): Refer to __h_errno not h_errno.
20481         * resolv/Versions (h_errno): Rename to __h_errno.
20482         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20483         Remove variable.
20484         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20486 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20488         * configure.ac: More strict check for AVX512 assembler support.
20489         * configure: Regenerated.
20491         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20492         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20494         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20495         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20496         * sysdeps/x86_64/fpu/Versions: New versions added.
20497         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20498         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20499         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20500         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20501         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20502         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20503         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20504         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20505         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20506         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20507         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20508         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20509         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20510         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20511         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20512         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20513         test.
20514         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20515         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20516         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20517         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20518         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20519         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20520         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20521         * NEWS: Mention addition of x86_64 vector sin.
20523 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20525         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20526         comment.
20528 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20530         [BZ #18479]
20531         * nptl/pt-interp.c: New file.
20532         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20533         Add pt-interp.
20534         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20535         $(common-objpfx)runtime-linker.h.
20537 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20539         * Makeconfig (+interp): Remove unused variable.
20540         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20541         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20542         $(elf-objpfx)runtime-linker.h.
20543         ($(elf-objpfx)runtime-linker.h): Rename to
20544         $(common-objpfx)runtime-linker.h and move ...
20545         * Makerules [$(build-shared) = yes]: ... here.
20546         * elf/interp.c: Include <runtime-linker.h> instead of
20547         <elf/runtime-linker.h>.
20549 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20551         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20552         (__gettimeofday_syscall): Remove vsyscall fallback.
20553         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20554         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20555         Add syscall fallback function.
20556         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20557         if vDSO is not present.
20558         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20559         fallback function.
20560         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20561         present.
20562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20563         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20565 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #18497]
20568         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20569         of wcscmp.
20570         (wcscmp): Define as weak alias of WCSCMP.
20571         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20572         wcscoll.
20573         (USE_HIDDEN_DEF): Define.
20574         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20575         __wcscoll.  Don't use libc_hidden_weak.
20576         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20577         wcscmp.
20578         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20579         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20580         __GI_wcscmp.
20581         (weak_alias): Undefine and redefine.
20582         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20583         __wcscmp and define as weak alias of __wcscmp.
20584         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20585         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20586         (__wcscoll): Likewise.
20587         (wcscmp): Don't use libc_hidden_proto.
20588         (wcscoll): Likewise.
20589         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20590         wcscoll.
20591         * posix/regexec.c (check_node_accept_bytes): Likewise.
20592         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20593         variable.
20594         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20595         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20597         [BZ #18507]
20598         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20599         __fstatvfs and define as weak alias of __fstatvfs.  Use
20600         libc_hidden_weak.
20601         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20602         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20603         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20604         Define as alias of __fstatvfs, not fstatvfs.
20605         (fstatvfs64): Likewise.
20606         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20607         Define as alias of __statvfs, not statvfs.
20608         (statvfs64): Likewise.
20609         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20610         Remove variable.
20612 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20615         (HAVE_GETCPU_VSYSCALL): Define.
20616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20617         (HAVE_GETCPU_VSYSCALL): Likewise.
20618         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20619         * sysdeps/unix/sysv/linux/sched_getcpu.c
20620         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20621         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20622         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20623         prototype.
20624         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20625         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20626         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20628         Define.
20629         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20630         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20631         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20632         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20634 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20636         * sysdeps/x86_64/fpu/Makefile: New file.
20637         * sysdeps/x86_64/fpu/Versions: New file.
20638         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20639         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20640         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20641         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20642         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20643         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20644         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20646         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20650         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20652         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20653         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20654         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20655         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20656         * sysdeps/x86_64/configure: Regenerated.
20657         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20658         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20659         * manual/install.texi (Configuring and compiling): Document
20660         --disable-mathvec.
20661         * INSTALL: Regenerated.
20662         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20664         * math/Makefile: Added rules for vector tests.
20665         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20666         declaration under condition.
20667         * math/test-double-vlen2.h: New file.
20668         * math/test-double-vlen4.h: New file.
20669         * math/test-double-vlen8.h: New file.
20670         * math/test-vec-loop.h: Added initialization macro.
20671         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20673         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20674         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20675         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20676         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20677         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20678         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20679         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20680         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20681         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20684         * sysdeps/x86_64/fpu/Versions: New versions added.
20685         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20688         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20689         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20690         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20691         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20692         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20693         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20694         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20695         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20696         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20697         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20698         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20699         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20700         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20701         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20702         * NEWS: Mention addition of x86_64 vector cosf.
20704         * math/Makefile: Added CFLAGS for new tests.
20705         * math/test-float-vlen16.h: New file.
20706         * math/test-float-vlen4.h: New file.
20707         * math/test-float-vlen8.h: New file.
20708         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20709         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20710         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20711         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20712         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20713         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20714         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20715         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20717         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20718         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20720 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20722         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20723         * locale/programs/ld-ctype.c: Likewise.
20725 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20727         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20728         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20729         bit_ZMM16_31_state): New macro.
20730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20731         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20733 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20735         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20737 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20739         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20741 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20743         [BZ #18498]
20744         * libio/memstream.c (open_memstream): Rename to __open_memstream
20745         and define as weak alias of __open_memstream.
20746         * include/stdio.h (__open_memstream): Declare.  Use
20747         libc_hidden_proto.
20748         (open_memstream): Don't use libc_hidden_proto.
20749         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20750         open_memstream.
20751         * posix/getopt.c (_getopt_internal_r): Likewise.
20752         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20753         variable.
20754         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20755         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20756         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20758         [BZ #18496]
20759         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20760         instead of wcrtomb.
20762         [BZ #18483]
20763         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20764         [__USE_XOPEN2K8].  Remove redundant #endif.
20765         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20766         Remove redundant #if.
20767         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20768         Remove variable.
20769         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20770         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20772         [BZ #18495]
20773         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20774         (__iswlower): Likewise.
20775         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20776         (__iswlower): Likewise.
20777         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20778         instead of towlower.
20779         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20780         instead of iswlower.  Call __towupper instead of towupper.
20781         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20782         instead of iswalnum.
20784 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20786         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20787         errors to stderr.
20789 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20791         [BZ #15661]
20792         [BZ #17322]
20793         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20794         Check for overflow properly.  Check for O_APPEND.  Ignore large
20795         file system block sizes.  Add comments about problems.
20796         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20797         * manual/filesys.texi (Storage Allocation): New node.
20799 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20801         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20802         cancellable syscalls.
20803         (SYS_ify): Add guard to no redefine it.
20804         (INLINE_SYSCALL): Likewise.
20805         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20806         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20807         SYSCALL_CANCEL instead.
20808         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20809         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20810         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20811         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20812         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20813         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20814         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20815         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20816         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20817         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20818         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20819         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20820         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20821         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20822         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20826         (__libc_pread64): Likewise.
20827         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20828         (__libc_preadv): Likewise.
20829         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20830         (__libc_readv64): Likewise.
20831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20832         (__libc_pwrite): Likewise.
20833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20834         (__libc_pwrite64): Likewise.
20835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20836         (__libc_pwritev): Likewise.
20837         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20838         (__libc_pwritev64): Likewise.
20839         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20840         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20841         (sync_file_range): Likewise.
20842         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20847         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20848         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20849         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20850         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20851         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20852         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20853         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20855         Likewise.
20856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20857         (__libc_read64): Likewise.
20858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20859         Likewise.
20860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20861         Likewise.
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20863         Likewise.
20864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20865         Likewise.
20866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20867         (__libc_pread64): Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20869         Likewise.
20870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20871         (__libc_pwrite64): Likewise.
20872         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20873         (sync_file_range): Likewise.
20874         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20875         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20876         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20877         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20878         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20879         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20880         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20881         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20882         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20883         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20884         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20885         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20886         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20887         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20888         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20889         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20890         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20891         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20892         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20893         Likewise.
20894         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20895         Likewise.
20896         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20897         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20898         Likewise.
20899         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20900         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20901         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20902         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20903         Likewise.
20904         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20905         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20906         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20907         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20908         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20910 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20912         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20913         Include dl-vdso.
20914         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20915         Use VDSO routines for gettimeofday, clock_gettime if
20916         available.
20917         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20918         Declare VDSO symbols.
20919         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20920         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20921         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20922         * sysdeps/unix/sysv/linux/arm/Versions: Add
20923         __vdso_clock_gettime.
20925 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20927         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20928         be an inline implementation regardless of library is built within.
20929         (open_not_cancel_2): Likewise.
20930         (__read_nocancel): Likewise.
20931         (__write_nocancel): Likewise.
20932         (openat_not_cancel): Likewise.
20933         (openat_not_cancel_3): Likewise.
20934         (openat64_not_cancel): Likewise.
20935         (openat64_not_cancel_3): Likewise.
20936         (__close_nocancel): Likewise.
20937         (pause_not_cancel): Likewise.
20938         (nanosleep_not_cancel): Likewise.
20939         (sigsuspend_not_cancel): Likewise.
20941 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20943         [BZ #14958]
20944         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20945         wake-up.
20946         (__pthread_rwlock_rdlock_slow): Likewise.
20947         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20948         Likewise.
20949         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20950         Likewise.
20951         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20952         * nptl/tst-rwlock16.c: New file.
20953         * nptl/Makefile (tests): Add new test.
20955 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20957         [BZ #18324]
20958         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20959         missing wake-up of readers.
20960         * nptl/tst-rwlock15.c: New file.
20961         * nptl/Makefile (tests): Add new test.
20963 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20965         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20966         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20967         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20968         and __nacl_supply_interface_rtld.
20969         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20970         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20971         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20972         Add __nacl_supply_interface_rtld.
20973         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20975 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20977         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20978         isfinite.
20979         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20980         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20982 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20984         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20985         __signbit* with standard C99 macros.
20986         * math/e_exp10l.c: Likewise.
20987         * math/e_exp2l.c: Likewise.
20988         * math/e_scalb.c: Likewise.
20989         * math/e_scalbf.c: Likewise.
20990         * math/e_scalbl.c: Likewise.
20991         * math/s_ldexp.c: Likewise.
20992         * math/s_ldexpf.c: Likewise.
20993         * math/s_ldexpl.c: Likewise.
20994         * math/w_atan2.c: Likewise.
20995         * math/w_atan2f.c: Likewise.
20996         * math/w_atan2l.c: Likewise.
20997         * math/w_cosh.c: Likewise.
20998         * math/w_coshf.c: Likewise.
20999         * math/w_coshl.c: Likewise.
21000         * math/w_exp10.c: Likewise.
21001         * math/w_exp10f.c: Likewise.
21002         * math/w_exp10l.c: Likewise.
21003         * math/w_exp2.c: Likewise.
21004         * math/w_exp2f.c: Likewise.
21005         * math/w_exp2l.c: Likewise.
21006         * math/w_fmod.c: Likewise.
21007         * math/w_fmodf.c: Likewise.
21008         * math/w_fmodl.c: Likewise.
21009         * math/w_hypot.c: Likewise.
21010         * math/w_hypotf.c: Likewise.
21011         * math/w_hypotl.c: Likewise.
21012         * math/w_jnl.c: Likewise.
21013         * math/w_lgamma.c: Likewise.
21014         * math/w_lgamma_r.c: Likewise.
21015         * math/w_lgammaf.c: Likewise.
21016         * math/w_lgammaf_r.c: Likewise.
21017         * math/w_lgammal.c: Likewise.
21018         * math/w_lgammal_r.c: Likewise.
21019         * math/w_pow.c: Likewise.
21020         * math/w_powf.c: Likewise.
21021         * math/w_powl.c: Likewise.
21022         * math/w_remainder.c: Likewise.
21023         * math/w_remainderf.c: Likewise.
21024         * math/w_remainderl.c: Likewise.
21025         * math/w_scalb.c: Likewise.
21026         * math/w_scalbf.c: Likewise.
21027         * math/w_scalbl.c: Likewise.
21028         * math/w_scalbln.c: Likewise.
21029         * math/w_scalblnf.c: Likewise.
21030         * math/w_scalblnl.c: Likewise.
21031         * math/w_sinh.c: Likewise.
21032         * math/w_sinhf.c: Likewise.
21033         * math/w_sinhl.c: Likewise.
21034         * math/w_tgamma.c: Likewise.
21035         * math/w_tgammaf.c: Likewise.
21036         * math/w_tgammal.c: Likewise.
21037         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21038         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21039         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21040         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21041         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21043         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21044         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21045         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21046         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21047         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21048         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21049         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21050         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21051         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21052         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21053         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21054         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21055         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21056         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21058         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21061         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21062         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21064         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21065         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21067         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21068         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21069         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21070         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21071         * stdio-common/printf_fp.c: Likewise.
21072         * stdio-common/printf_fphex.c: Likewise.
21073         * stdio-common/printf_size.c: Likewise.
21075 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21077         [BZ #18470]
21078         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21079         strnlen.
21080         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21081         Remove variable.
21082         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21083         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21084         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21085         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21086         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21087         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21088         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21089         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21090         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21091         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21093         [BZ #18468]
21094         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21095         weak alias of __wmemchr.  Use libc_hidden_weak.
21096         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21097         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21098         instead of wmemchr.
21100 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21102         [BZ #18383]
21103         * elf/tst-tlsalign-extern.c: New file.
21104         * elf/tst-tlsalign-extern-static.c: New file.
21105         * elf/tst-tlsalign-vars.c: New file.
21106         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21107         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21108         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21109         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21110         (test-xfail-tst-tlsalign-extern-static): New variable.
21112 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21114         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21115         Use variable name _sc_err instead of err.
21116         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21117         instead of ret.
21118         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21119         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21120         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21121         (INLINE_SYSCALL): Likewise.
21123         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21124         * include/string.h (__strnlen): Use libc_hidden_proto.
21125         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21126         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21127         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21128         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21129         (libc_hidden_def): Undefine and redefine.
21130         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21131         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21132         __GI_strnlen.
21133         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21134         libc_hidden_def.
21135         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21137         [BZ #18469]
21138         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21139         weak alias of __towlower.  Use libc_hidden_weak.
21140         (towupper): Rename to __towupper and define as weak alias of
21141         __towupper.  Use libc_hidden_weak.
21142         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21143         (__towupper): Likewise.
21144         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21145         __towlower instead of towlower.
21147 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21149         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21150         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21152 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21154         * sysdeps/aarch64/libm-test-ulps: Update.
21156 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21158         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21159         Define.
21160         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21162         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21163         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21164         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21165         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21166         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21168 2015-06-01  Martin Sebor  <msebor@redhat.com>
21170         [BZ #18116]
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21172         (__setcontext): Use extended four-operand version of mtsf whenever
21173         possible.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21175         (__novec_swapcontext): Likewise.
21177 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21179         * benchtests/scripts/compare_bench.py: New file.
21180         * benchtests/scripts/import_bench.py (mean): New function.
21181         (split_list): Likewise.
21182         (do_for_all_timings): Likewise.
21183         (compress_timings): Likewise.
21185         * benchtests/scripts/import_bench.py: New file.
21186         * benchtests/scripts/validate_benchout.py: Import import_bench
21187         instead of jsonschema.
21188         (validate_bench): Remove function.
21189         (main): Use import_bench.
21191 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21193         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21194         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21196 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21200 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21202         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21203         set THREAD_SELF->tid to a magic value and futex-wake it.
21204         Pass its address to the thread_exit system call.
21205         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21206         bit is clear.
21207         * sysdeps/nacl/lowlevellock.h: New file.
21208         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21210         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21211         Add TIMEOUT to current time, don't subtract it.
21213 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21215         [BZ #2981]
21216         [BZ #18422]
21217         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21218         ($(objpfx)tst-audit2.out): Also depend on
21219         $(objpfx)tst-auditmod9b.so.
21220         * elf/tst-audit2.c: Include <dlfcn.h>.
21221         (calloc_called): New.
21222         (calloc): Allow to be called more than once.
21223         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21225 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21227         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21228         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21230 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21232         * stdlib/monetary.h: Fix comment.
21234 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21236         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21237         Avoid using variables in #defines that might cause shadowing.
21238         (INTERNAL_VSYSCALL_CALL): Likewise.
21240 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21242         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21244         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21245         * nptl/lll_timedlock_wait.c: ... to this new file.
21246         * nptl/Makefile (libpthread-routines): Add it.
21247         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21248         * nptl/lll_timedwait_tid.c: ... to this new file.
21249         * nptl/Makefile (libpthread-routines): Add it.
21250         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21251         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21252         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21253         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21254         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21255         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21256         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21257         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21258         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21259         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21261 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21263         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21264         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21265         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21267         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21269         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21271         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21272         * sysdeps/unix/sysv/linux/tile/sysdep.h
21273         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21274         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21275         using vDSO syscall macro.
21277 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21279         [BZ #17293]
21280         * uk_UA: Fix sorting order for Ukrainian locale
21282 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21284         * stdlib/monetary.h: Fix comment.
21286 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21288         [BZ #18234]
21289         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21290         st_mtim and st_ctim members.
21291         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21292         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21293         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21294         (struct stat64): Likewise.
21295         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21296         (struct stat64): Likewise.
21297         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21298         (struct stat64): Likewise.
21300 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21302         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21303         Define and include sysdep-vdso.h.
21304         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21305         Likewise.
21306         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21307         Likewise.
21308         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21309         Define with VDSO_SYMBOL and use PTR_MANGLE.
21310         (__vdso_clock_gettime): Likewise.
21311         (__vdso_clock_getres): Likewise.
21312         (_libc_vdso_platform_setup): Likewise.
21313         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21314         Likewise.
21315         (_libc_vdso_platform_setup): Likewise.
21316         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21317         Likewise.
21318         (__vdso_clock_gettime): Likewise.
21319         (__vdso_clock_getres): Likewise.
21320         (__vdso_get_tbfreq): Likewise.
21321         (__vdso_getcpu): Likewise.
21322         (__vdso_time): Likewise.
21323         (__vdso_sigtramp_rt64): Likewise.
21324         (__vdso_signtramp32): Likewise.
21325         (__vdso_sigtramp_rt32): Likewise.
21326         (_libc_vdso_platform_setup): Likewise.
21327         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21328         Likewise.
21329         (__vdso_clock_gettime): Likewise.
21330         (__vdso_clock_getres): Likewise.
21331         (_libc_vdso_platform_setup): Likewise.
21332         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21333         Likewise.
21334         (__vdso_clock_gettime): Likewise.
21335         (_libc_vdso_platform_setup): Likewise.
21336         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21337         Likewise.
21338         (__vdso_getcpu): Likewise.
21339         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21340         Use VDSO_SYMBOL macro to define.
21341         (__vdso_clock_gettime): Likewise.
21342         (__vdso_clock_getres): Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21344         Likewise.
21345         (__vdso_clock_gettime): Likewise.
21346         (__vdso_clock_getres): Likewise.
21347         (__vdso_get_tbfreq): Likewise.
21348         (__vdso_getcpu): Likewise.
21349         (__vdso_time): Likewise.
21350         (__vdso_sigtramp_rt64): Likewise.
21351         (__vdso_signtramp32): Likewise.
21352         (__vdso_sigtramp_rt32): Likewise.
21353         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21354         Likewise.
21355         (__vdso_clock_gettime): Likewise.
21356         (__vdso_clock_getres): Likewise.
21357         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21358         Likewise.
21359         (__vdso_clock_gettime): Likewise.
21360         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21361         Likewise.
21362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21363         macro.
21364         (INTERNAL_VSYSCALL): Likewise.
21365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21366         Remove macro.
21367         (INTERNAL_VSYSCALL): Likewise.
21368         (INTERNAL_VSYSCALL_NCS): Likewise.
21369         (INTERNAL_VSYSCALL_CALL): New macro.
21370         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21372         Likewise.
21373         (INTERNAL_VSYSCALL): Likewise.
21374         (INTERNAL_VSYSCALL_NCS): Likewise.
21375         (INTERNAL_VSYSCALL_CALL): New macro.
21376         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21378         (INLINE_VSYSCALL): Remove macro.
21379         (INTERNAL_VSYSCALL): Remove macro.
21380         (INTERNAL_VSYSCALL_NCS): Remove macro.
21381         (INTERNAL_VSYSCALL_CALL): New macro.
21382         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21383         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21384         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21385         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21386         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21388         (INLINE_VSYSCALL): Remove macro.
21389         (INTERNAL_VSYSCALL): Likewise.
21390         (INTERNAL_VSYSCALL_NCS): Likewise.
21391         (INTERNAL_VSYSCALL_CALL): New macro.
21392         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21393         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21394         PTR_DEMANGLE on vDSO pointer.
21395         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21396         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21397         macro.
21398         (INTERNAL_SYSCALL): Likewise.
21399         (INTERNAL_VSYSCALL_NCS): Remove macro.
21400         (INTERNAL_VSYSCALL_CALL): New macro.
21401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21402         Remove macro.
21403         (INTERNAL_VSYSCALL): Likewise.
21404         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21405         sysdep-vdso.h instead of libc-vdso.h.
21406         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21407         definition.
21408         (INLINE_VSYSCALL): Likewise.
21409         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21410         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21411         definition.
21412         (INLINE_VSYSCALL): Likewise.
21413         (INTERNAL_VSYSCALL): Likewise.
21414         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21415         * sysdeps/unix/sysv/linux/timespec_get.c
21416         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21417         (timespec_get): Use ANSI prototype.
21418         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21419         and definition for Linux.
21421 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21423         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21424         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21426 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21428         [BZ #2981]
21429         [BZ #18410]
21430         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21431         for missing DT_PLTRELSZ.
21433 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21435         Remove obsolete aliases that broke 'locale -a'
21436         [BZ #18412]
21437         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21438         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21439         breaking some applications that use 'locale -a' output.
21440         Change the encoding of this file from Latin-1 to ASCII to avoid
21441         other potential problems with people grepping this file.
21443 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21445         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21446         -fasynchronous-unwind-tables.
21447         (CFLAGS-sendto.c): Likewise.
21448         (CFLAGS-sendmsg.c): Likewise.
21449         (CFLAGS-connect.c): Likewise.
21450         (CFLAGS-recvmsg.c): Likewise.
21451         (CFLAGS-recvfrom.c): Likewise.
21452         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21453         (SOCKETCALL): New macro: non-cancellable socketcall.
21454         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21455         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21456         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21457         * sysdeps/unix/sysv/linux/accept.c: New file.
21458         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21459         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21460         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21461         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21462         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21463         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21464         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21465         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21466         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21467         * sysdeps/unix/sysv/linux/send.c: Likewise.
21468         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21469         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21470         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21471         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21472         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21473         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21474         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21475         prototype.
21476         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21477         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21478         instead of __internal_xxx function.
21479         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21480         prototype.
21481         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21482         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21483         instead of __internal_xxx function.
21484         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21485         prototype.
21486         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21487         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21488         instead of __internal_xxx function.
21489         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21490         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21491         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21492         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21493         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21494         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21495         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21496         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21497         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21498         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21499         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21500         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21501         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21502         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21503         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21504         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21505         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21506         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21507         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21508         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21511         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21512         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21513         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21514         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21515         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21516         * sysdeps/unix/sysv/linux/send.S: Likewise.
21517         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21518         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21519         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21520         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21521         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21522         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21523         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21524         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21525         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21526         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21527         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21528         socketcall is implemented in GLIBC.
21530 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21532         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21533         (__fma): Ignore uninitialized warnings around packing.
21534         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21535         (__fmaf): Ignore uninitialized warnings around packing.
21536         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21537         (__fmal): Ignore uninitialized warnings around packing.
21539         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21540         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21541         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21542         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21544         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21545         switch statement into default case.
21546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21548         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21549         a conditional in forcing "inexact".
21550         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21551         Likewise.
21553 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21555         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21556         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21557         for each INTERNAL_SYSCALL use.
21559 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21561         [BZ #438]
21562         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21563         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21564         variable.
21566         [BZ #18444]
21567         * string/basename.c (basename): Rename to __basename and define as
21568         weak alias of __basename.  Use libc_hidden_weak.
21569         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21570         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21571         __basename instead of basename.
21572         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21573         Remove variable.
21574         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21576 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21578         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21579         (_IO_JUMPS_FILE_plus): New.
21580         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21581         _IO_CAST_FIELD_ACCESS.
21582         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21583         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21584         * libio/freopen.c (freopen): Likewise.
21585         * libio/freopen64.c (freopen64): Likewise.
21586         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21587         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21588         * libio/iofwide.c (_IO_fwide): Likewise.
21589         * libio/memstream.c (open_memstream): Likewise.
21590         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21591         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21592         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21594 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21597         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21598         NADJ.
21599         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21600         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21601         NADJ.
21602         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21603         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21604         NADJ.
21606         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21607         (p == 4) case.
21609         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21610         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21611         Remove variable.
21612         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21613         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21614         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21616 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21618         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21619         Adjust jump table label generation macros.
21621 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21623         * stdio-common/vfprintf.c (vfprintf): Move local variables
21624         args_malloced, specs, specs_malloced, and the code after
21625         do_positional to the printf_positional function.
21626         (printf_positional): New function.
21628 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21630         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21631         function.
21632         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21633         STEP4_TABLE, process_arg): Move macro definitions
21634         out of the vfprintf function.  (Cosmetic change only.)
21636 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21638         * benchtests/Makefile (stdio-common-bench): Define.
21639         (benchset): Add stdio-common-bench.
21640         * sprintf-inputs: New file.
21641         * sprintf-source.c: New file.
21643 2015-05-21  Andreas Schwab  <schwab@suse.de>
21645         [BZ #13028]
21646         [BZ #17053]
21647         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21648         of struct __res_state.
21649         * resolv/res_send.c (__libc_res_nsend): Likewise.
21650         (get_nsaddr): New function.
21651         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21652         statp directly.
21654 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21656         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21657         -D_POSIX_C_SOURCE=199506L.
21659         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21661         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21662         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21663         Do not mention otherwise.
21664         [POSIX] (_XOPEN_VERSION): Do not expect.
21665         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21666         [POSIX] (_POSIX2_C_BIND): Likewise.
21667         [POSIX] (_POSIX2_VERSION): Likewise.
21668         [POSIX] (_XOPEN_XPG2): Likewise.
21669         [POSIX] (_XOPEN_XPG3): Likewise.
21670         [POSIX] (_XOPEN_XPG4): Likewise.
21671         [POSIX] (_XOPEN_UNIX): Likewise.
21672         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21673         [POSIX] (_POSIX_BARRIERS): Likewise.
21674         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21675         [POSIX] (_POSIX_CPUTIME): Likewise.
21676         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21677         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21678         [POSIX] (_POSIX_SHELL): Likewise.
21679         [POSIX] (_POSIX_SPAWN): Likewise.
21680         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21681         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21682         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21683         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21684         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21685         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21686         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21687         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21688         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21689         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21690         [POSIX] (_POSIX2_PBS): Likewise.
21691         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21692         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21693         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21694         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21695         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21696         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21697         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21698         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21699         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21700         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21701         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21702         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21703         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21704         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21705         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21706         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21707         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21708         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21709         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21710         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21711         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21712         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21713         [POSIX] (_SC_2_C_BIND): Likewise.
21714         [POSIX] (_SC_2_C_VERSION): Likewise.
21715         [POSIX] (_SC_2_PBS): Likewise.
21716         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21717         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21718         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21719         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21720         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21721         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21722         [POSIX] (_SC_BARRIERS): Likewise.
21723         [POSIX] (_SC_BASE): Likewise.
21724         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21725         [POSIX] (_SC_DEVICE_IO): Likewise.
21726         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21727         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21728         [POSIX] (_SC_FD_MGMT): Likewise.
21729         [POSIX] (_SC_FIFO): Likewise.
21730         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21731         [POSIX] (_SC_FILE_LOCKING): Likewise.
21732         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21733         [POSIX] (_SC_IOV_MAX): Likewise.
21734         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21735         [POSIX] (_SC_NETWORKING): Likewise.
21736         [POSIX] (_SC_PAGE_SIZE): Likewise.
21737         [POSIX] (_SC_PASS_MAX): Likewise.
21738         [POSIX] (_SC_PIPE): Likewise.
21739         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21740         [POSIX] (_SC_REGEXP): Likewise.
21741         [POSIX] (_SC_SHELL): Likewise.
21742         [POSIX] (_SC_SIGNALS): Likewise.
21743         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21744         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21745         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21746         [POSIX] (_SC_USER_GROUPS): Likewise.
21747         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21748         [POSIX] (_SC_STREAMS): Likewise.
21749         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21750         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21751         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21752         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21753         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21754         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21755         [POSIX] (_PC_FILESIZEBITS): Likewise.
21756         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21757         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21758         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21759         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21760         [POSIX] (uid_t): Likewise.
21761         [POSIX] (gid_t): Likewise.
21762         [POSIX] (off_t): Likewise.
21763         [POSIX] (pid_t): Likewise.
21764         [POSIX] (cuserid): Allow.
21765         (_SC_2_CHAR_TERM): Require constant.
21766         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21767         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21768         variable.
21770 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21772         * sysdeps/nacl/pthread-pids.h: New file.
21773         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21774         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21776         * nptl/pthread-pids.h: New file.
21777         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21778         * nptl/nptl-init.c: Include <pthread-pids.h>.
21779         (__pthread_initialize_minimal_internal):
21780         Call __pthread_initialize_pids instead of set_tid_address syscall.
21782         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21783         * sysdeps/posix/usleep.c: ... here.
21785 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21788         call_pselect6 object.
21789         [$(subdir) = io]: Remove call_sync_file_range object.
21790         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21791         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21792         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21793         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21795 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21797         * math/s_cproj.c: Add include "math_private.h".
21798         * math/s_cprojf.c: Likewise.
21799         * math/s_cprojl.c: Likewise.
21801 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21803         [BZ #18244]
21804         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21805         high mantissa bit when testing whether P is a NaN.
21806         * math/libm-test.inc (remainder_test_data): Add more tests.
21807         (remquo_test_data): Likewise.
21809         [BZ #18049]
21810         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21811         below -32, return the argument, with underflow if subnormal.
21812         * math/auto-libm-test-in: Add more tests of atanh.
21813         * math/auto-libm-test-out: Regenerated.
21815 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21817         [BZ #18434]
21818         * nptl/tst-sem15.c: New file.
21819         * nptl/Makefile (tests): Add it.
21820         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21821         s/<</>>/ to fix typo in EOVERFLOW check.
21822         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21824 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21826         * manual/strings.texi (envz_remove): Fix typo in safety
21827         annotations.
21829 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21830             Steve Ellcey  <sellcey@imgtec.com>
21832         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21833         in order to avoid strict alias warnings.
21834         (iruserok_af): Ditto for ra.
21836 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21838         [BZ #17581]
21839         * malloc/hooks.c
21840         (magicbyte): Convert to a function and avoid returning 0x01.
21841         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21842         (mem2chunk_check): Fix unsigned comparisons to zero.
21843         Hoist defs of sz and magic.
21845 2015-05-19  Richard Henderson  <rth@redhat.com>
21847         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21849         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21851 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21853         [BZ #16159]
21854         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21855         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21856         (reused_arena): Find a non-corrupt arena.
21857         (heap_trim): Pass arena to unlink.
21858         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21859         malloc_printerr.
21860         (top_check): Likewise.
21861         (free_check): Likewise.
21862         (realloc_check): Likewise.
21863         * malloc/malloc.c (malloc_printerr): Add arena argument.
21864         (unlink): Likewise.
21865         (munmap_chunk): Adjust.
21866         (ARENA_CORRUPTION_BIT): New macro.
21867         (arena_is_corrupt): Likewise.
21868         (set_arena_corrupt): Likewise.
21869         (sysmalloc): Use mmap if there are no usable arenas.
21870         (_int_malloc): Likewise.
21871         (__libc_malloc): Don't fail if arena_get returns NULL.
21872         (_mid_memalign): Likewise.
21873         (__libc_calloc): Likewise.
21874         (__libc_realloc): Adjust for additional argument to
21875         malloc_printerr.
21876         (_int_free): Likewise.
21877         (malloc_consolidate): Likewise.
21878         (_int_realloc): Likewise.
21879         (_int_memalign): Don't touch corrupt arenas.
21880         * malloc/tst-malloc-backtrace.c: New test case.
21882         * Makefile (summarize-tests): Fix return value on success.
21884         * manual/string.texi (Envz Functions): Add envz_remove.
21886 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21888         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21889         (invalid_name): New function, broken out of ...
21890         (__opendirat): ... here.  Call it.
21891         (need_isdir_precheck): New function, broken out of ...
21892         (__opendirat): ... here.  Call it.
21893         Use __fxstatat64, not __xstatat64.
21894         (opendir_oflags): New function, broken out of ...
21895         (__opendirat): ... here.  Call it.
21896         (opendir_tail): New function, broken out of ...
21897         (__opendirat): ... here.  Call it.
21898         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21899         opendir_tail, rather than punting to __opendirat.
21900         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21902 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21904         * .gitignore: Ignore generated *.pyc.
21906 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21908         * include/stdio.h: Define __need_wint_t.
21909         * test-skeleton.c: Avoid `for' loop initial declaration.
21910         * nptl/tst-initializers1.c: Use test-skeleton.c.
21912 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21914         [BZ #18418]
21915         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21917 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21919         [BZ #16352]
21920         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21921         (__ieee754_atanh): Force underflow exception for results with
21922         small absolute value.
21923         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21924         (__ieee754_atanhf): Force underflow exception for results with
21925         small absolute value.
21926         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21927         (__ieee754_atanh): Force underflow exception for results with
21928         small absolute value.
21929         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21930         (__ieee754_atanhf): Force underflow exception for results with
21931         small absolute value.
21932         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21933         (__ieee754_atanhl): Force underflow exception for results with
21934         small absolute value.
21935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21936         (__ieee754_atanhl): Force underflow exception for results with
21937         small absolute value.
21938         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21939         (__ieee754_atanhl): Force underflow exception for results with
21940         small absolute value.
21941         * math/auto-libm-test-in: Do not allow missing underflow
21942         exceptions from atanh.
21943         * math/auto-libm-test-out: Regenerated.
21945         [BZ #18221]
21946         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21947         2**-28 as threshold for returning x or +/- 1/x.
21948         * math/auto-libm-test-in: Add more tests of tan.
21949         * math/auto-libm-test-out: Regenerated.
21951         [BZ #18220]
21952         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21953         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21954         * math/auto-libm-test-in: Add another test of lgamma.
21955         * math/auto-libm-test-out: Regenerated.
21957 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21959         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21960         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21961         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21962         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21963         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21964         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21965         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21966         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21967         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21968         (log1): Use fabs.  (my_log2): Use fabs.
21969         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21970         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21971         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21972         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21974         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21975         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21976         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21977         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21978         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21979         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21981 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21983         [BZ #18217]
21984         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21985         as threshold for returning 1 - x.
21986         * math/auto-libm-test-in: Add more tests of erfc.
21987         * math/auto-libm-test-out: Regenerated.
21989 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21991         [BZ #18196]
21992         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21993         threshold for large arguments.
21994         * math/auto-libm-test-in: Add another test of atan.
21995         * math/auto-libm-test-out: Regenerated.
21997         [BZ #16339]
21998         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21999         (__log1p): Force underflow exception for results with small
22000         absolute value.
22001         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22002         (__log1pf): Force underflow exception for results with small
22003         absolute value.
22004         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22005         (__log1p): Force underflow exception for results with small
22006         absolute value.
22007         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22008         (__log1pf): Force underflow exception for results with small
22009         absolute value.
22010         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22011         (__log1pl): Force underflow exception for results with small
22012         absolute value.
22013         * math/auto-libm-test-in: Do not allow missing underflow
22014         exceptions from log1p.
22015         * math/auto-libm-test-out: Regenerated.
22017 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22018             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22020         [BZ #16704]
22021         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22023 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22025         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22026         (libmvec): New variable.
22027         * configure.ac: Added option for mathvec build.
22028         * configure: Regenerated.
22029         * mathvec/Depend: New file.
22030         * mathvec/Makefile: New file.
22031         * shlib-versions: Added libmvec.
22032         * math/Makefile: Added rule for libm.so installation.
22034         * bits/math-vector.h: New file.
22035         * bits/libm-simd-decl-stubs.h: New header.
22036         * math/Makefile (headers): Added new header
22037         libm-simd-decl-stubs.h.
22038         * math/math.h (__MATHCALL_VEC): New macro.
22040         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22041         for conditions in testing functions.
22042         * math/Makefile: Added call of libm-have-vector-test.sh.
22043         * math/libm-test.inc (HAVE_VECTOR): New macros.
22045         * math/libm-test.inc: START refactored.
22046         * math/test-double.c (TEST_MATHVEC): Add define.
22047         * math/test-float.c: Likewise.
22048         * math/test-idouble.c: Likewise.
22049         * math/test-ifloat.c: Likewise.
22050         * math/test-ildoubl.c: Likewise.
22051         * math/test-ldouble.c: Likewise.
22052         * sysdeps/generic/math-tests-arch.h
22053         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22054         architecture check.
22056         * math/test-double.c (FUNC_TEST): New macro.
22057         * math/test-float.c: Likewise.
22058         * math/test-idouble.c: Likewise.
22059         * math/test-ifloat.c: Likewise.
22060         * math/test-ildoubl.c: Likewise.
22061         * math/test-ldouble.c: Likewise.
22062         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22064 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22066         * sysdeps/nacl/fdopendir.c: New file.
22068         * dirent/scandir-tail.c: New file.
22069         * dirent/scandir64-tail.c: New file.
22070         * dirent/Makefile (routines): Add them.
22071         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22072         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22073         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22074         [!SCANDIR] (SCANDIR_TAIL): New macro.
22075         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22076         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22077         (SCANDIRAT): Macro removed.
22078         (SCANDIR_TAIL): New macro.
22079         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22080         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22081         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22082         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22083         (READDIR): Macro removed.
22084         (SCANDIR_TAIL): New macro.
22085         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22086         (SCANDIR_TAIL): New macro.
22088         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22089         * dirent/scandir-cancel.c: ... to this new file.
22090         * dirent/Makefile (routines): Add it.
22091         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22092         * sysdeps/unix/sysv/linux/i386/scandir64.c
22093         (SKIP_SCANDIR_CANCEL): Macro removed.
22094         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22096         * dirent/tst-scandir.c: New file.
22097         * dirent/tst-scandir64.c: New file.
22098         * dirent/Makefile (tests): Add them.
22100 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22102         [BZ #18409]
22103         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22105 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22107         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22108         list.
22110 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22112         * benchtests/bench-strcoll.c: New benchmark.
22113         * benchtests/Makefile: Generate locales and run benchmark.
22114         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22115         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22116         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22117         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22118         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22119         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22120         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22121         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22122         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22123         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22124         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22125         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22126         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22127         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22128         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22129         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22130         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22131         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22132         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22133         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22134         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22135         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22136         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22137         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22139 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22141         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22142         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22144 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22146         * posix/uname-values.h: New file.
22147         * posix/uname.c: Include that instead of <config-name.h>.
22148         * sysdeps/nacl/uname-values.h: New file.
22149         * sysdeps/arm/nacl/uname-values.h: New file.
22151 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22153         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22154         splitting into fields.
22156 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22158         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22159         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22160         * locale/localeinfo.h: Add enum collation_encoding_type.
22161         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22162         * programs/ld-collate.c (collate_output): Add encoding type info.
22163         * string/strcoll_l.c (STRDIFF): New function.
22164         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22165         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22167 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #18397]
22170         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22171         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22172         <fpu_control.h> instead of <math/fpu_control.c>.
22173         * sysdeps/mips/mips32/fpu/Makefile: New file.
22175 2015-05-11  Andreas Schwab  <schwab@suse.de>
22177         [BZ #18007]
22178         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22179         nss_endgrent.
22180         (_nss_compat_endgrent): Call nss_endgrent.
22181         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22182         nss_endpwent.
22183         (_nss_compat_endpwent): Call nss_endpwent.
22184         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22185         needent, call nss_setspent only if non-zero.
22186         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22187         (internal_endspent): Don't call nss_endspent.
22188         (_nss_compat_endspent): Call nss_endspent.
22189         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22190         Remove.  All uses removed.
22191         (internal_setent): Remove parameter stayopen, add parameter
22192         stream.  Use it instead of global variable.
22193         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22194         (internal_endent, internal_getent): Add parameter stream.  Use it
22195         instead of global variable.
22196         (CONCAT(_nss_files_end,ENTNAME))
22197         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22198         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22199         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22200         uses removed.
22201         (internal_setent, internal_endent): Add parameter stream.  Use it
22202         instead of global variable.
22203         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22204         stream.
22205         (get_next_alias): Add parameter stream.
22206         (_nss_files_getaliasent_r): Pass global stream.
22207         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22208         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22209         (_nss_files_gethostbyname4_r): Pass local stream to
22210         internal_setent, internal_getent and internal_endent.  Remove
22211         locking.
22213 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22215         * tst-strfmon1.c (tests): Update expected currency symbol.
22217 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22219         * sysdeps/nacl/gethostname.c: New file.
22221 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22223         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22224         and sinh.
22225         * math/auto-libm-test-out: Regenerated.
22226         * sysdeps/i386/fpu/libm-test-ulps: Update.
22227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22229 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22231         [BZ #18125]
22232         * stdlib/tst-setcontext3.c: New file.
22233         * stdlib/tst-setcontext3.sh: New file.
22234         * stdlib/Makefile (tests): Add tst-setcontext3.
22235         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22236         to verify test program created output file.
22237         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22238         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22239         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22240         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22242 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22244         [BZ #18383]
22245         * elf/tst-tlsalign.c: New file.
22246         * elf/tst-tlsalign-static.c: New file.
22247         * elf/tst-tlsalign-lib.c: New file.
22248         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22249         (tests-static): Add tst-tlsalign-static.
22250         (modules-names): Add tst-tlsalign-lib.
22251         (test-xfail-tst-tlsalign): New variable.
22252         (test-xfail-tst-tlsalign-static): New variable.
22254         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22255         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22257 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22259         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22260         csqrt, erfc, sin and sincos.
22261         * math/auto-libm-test-out: Regenerated.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22267         * sysdeps/aarch64/libm-test-ulps: Update.
22269 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22271         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22272         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22273         * math/auto-libm-test-out: Regenerated.
22274         * sysdeps/i386/fpu/libm-test-ulps: Update.
22275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22277 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22279         [BZ #18265]
22280         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22281         (wcsncpy): Likewise.
22283 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22285         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22286         Assume __ASSUME_FALLOCATE is always true.
22287         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22288         (__posix_fallocate64_l64): Likweise.
22289         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22290         (posix_fallocate): Likewise.
22291         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22292         (__posix_fallocate64_l64): Likewise.
22293         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22294         [!__ASSUME_FALLOCATE]: Add comment.
22296 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22298         * sysdeps/unix/sysv/linux/i386/Makefile
22299         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22300         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22301         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22302         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22303         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22304         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22305         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22307 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22309         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22310         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22311         tgamma.
22312         * math/auto-libm-test-out: Regenerated.
22313         * sysdeps/i386/fpu/libm-test-ulps: Update.
22314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22316 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22318         * math/auto-libm-test-in: Add more tests of tgamma.
22319         * math/auto-libm-test-out: Regenerated.
22320         * sysdeps/i386/fpu/libm-test-ulps: Update.
22321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22323         * math/auto-libm-test-in: Add more tests of tanh.
22324         * math/auto-libm-test-out: Regenerated.
22325         * sysdeps/i386/fpu/libm-test-ulps: Update.
22326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328         * math/auto-libm-test-in: Add more tests of tan.
22329         * math/auto-libm-test-out: Regenerated.
22330         * sysdeps/i386/fpu/libm-test-ulps: Update.
22331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22334         * math/auto-libm-test-out: Regenerated.
22335         * sysdeps/i386/fpu/libm-test-ulps: Update.
22336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22338         * math/auto-libm-test-in: Add another test of pow.
22339         * math/auto-libm-test-out: Regenerated.
22340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22342         * math/auto-libm-test-in: Add more tests of lgamma.
22343         * math/auto-libm-test-out: Regenerated.
22344         * sysdeps/i386/fpu/libm-test-ulps: Update.
22345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22347         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22348         log1p.
22349         * math/auto-libm-test-out: Regenerated.
22350         * sysdeps/i386/fpu/libm-test-ulps: Update.
22351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22353 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22355         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22356         Elf64_Chdr structs and ELFCOMPRESS constants.
22358 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22360         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22361         expm1.
22362         * math/auto-libm-test-out: Regenerated.
22363         * sysdeps/i386/fpu/libm-test-ulps: Update.
22364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22366         * math/auto-libm-test-in: Add more tests of erf and erfc.
22367         * math/auto-libm-test-out: Regenerated.
22368         * sysdeps/i386/fpu/libm-test-ulps: Update.
22369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22371 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22373         * config.h.in (HAVE_AARCH64_BE): Add.
22375 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22377         * math/auto-libm-test-in: Add more tests of csqrt.
22378         * math/auto-libm-test-out: Regenerated.
22379         * sysdeps/i386/fpu/libm-test-ulps: Update.
22380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22383         * math/auto-libm-test-out: Regenerated.
22384         * sysdeps/i386/fpu/libm-test-ulps: Update.
22385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22387         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22389 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22391         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22392         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22394         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22395         (euidaccess, eaccess): Define as weak aliases.
22397         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22398         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22399         but __suseconds_t is often 'long int' so some sources assume that
22400         type is being used (e.g. they use %ld to print tv_usec).
22402 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22404         [BZ #18007]
22405         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22406         (CVE-2014-8121)
22407         * nss/tst-nss-getpwent.c: New file.
22408         * nss/Makefile (tests): Add new test.
22410 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22412         [BZ #18346]
22413         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22414         exponents less than 48 as cases where high part of mantissa needs
22415         examining to determine whether argument is integral.
22416         * math/libm-test.inc (round_test_data): Add more tests.
22418 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22420         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22422 2015-04-27  David S. Miller  <davem@davemloft.net>
22424         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22425         __tls_get_addr.
22426         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22428 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22430         [BZ#18333]
22431         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22433 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22435         [BZ#18333]
22436         * time/tzset.c (parse_tzname): Return error on memory allocation
22437         failure.
22438         * test-skeleton.c (struct temp_name_list): Change type of name
22439         member to non-const.
22440         (add_temp_file): Create a copy of the file name.
22441         (delete_temp_files): Deallocate memory.
22442         (create_temp_file): Add comment.
22444 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22446         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22447         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22449 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22451         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22452         * sysdeps/arm/configure: Regenerated.
22454 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22456         [BZ #17715]
22457         * time/tzfile.c (__tzfile_read): Check for large values of
22458         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22459         * time/tzset.c (__tzstring_len): New function, based on the old
22460         __tzstring function.
22461         (__tzstring): Call __tzstring_len.
22462         (parse_tzname): New helper function extracted from
22463         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22464         the input string.
22465         (parse_offset): New helper function extracted from
22466         __tzset_parse_tz.  Replace switch with fallthrough with
22467         initialization before sscanf.
22468         (parse_rule): Likewise.
22469         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22470         new-style function definition.
22471         * timezone/Makefile (tests): Add tst-tzset.
22472         (tst-tzset.out): Dependencies on time zone files.
22473         (tst-tzset-ENV): Set TZDIR.
22474         (testdata/XT%): Copy crafted time zone files.
22475         * timezone/README: Mention crafted time zone files.
22476         * timezone/testdata/XT1, timezone/testdata/XT2,
22477         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22478         files.
22479         * timezone/tst-tzset.c: New test.
22481 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22483         * Makeconfig (+gccwarn): Remove -Winline.
22485 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22487         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22489 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22491         * NEWS: Mention sysconf() cache information support for s390.
22492         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22494 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22496         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22497         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22498         (__nearbyint): Likewise.
22499         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22500         (copysignl): Likewise.
22502 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22504         [BZ #18287]
22505         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22506         based on padding.  (CVE-2015-1781)
22508 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22510         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22511         libc-vdso.h.
22512         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22513         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22514         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22515         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22516         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22517         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22518         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22520         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22521         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22522         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22523         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22524         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22525         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22526         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22527         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22528         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22530         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22531         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22532         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22533         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22534         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22536 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22538         * stdlib/setenv.c (__add_to_environ):
22539         Dump core quickly if setenv (..., NULL, ...) is called.
22540         This time, do it the right way, and pacify GCC with a pragma.
22542 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22544         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22545         IMAP->l_prev cannot be null, and #if out the code for the contrary
22546         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22547         believe that NS (&_dl_ns[NSID]) could point outside the array.
22549         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22550         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22551         before using NSID as an index.
22553 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22555         [BZ #17825]
22556         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22557         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22558         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22560 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22562         Add preliminary port to Google Native Client on ARM.
22563         * abi-tags (.*-.*-nacl.*): New entry.
22564         * sysdeps/arm/nacl: New directory.
22565         * sysdeps/nacl: New directory.
22567 2015-04-16  David S. Miller  <davem@davemloft.net>
22569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22570         lowlevellock-futex.h
22572 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22574         * sysdeps/tile/configure.ac: New file.
22575         * sysdeps/tile/configure: Regenerated.
22577 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22579         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22580         conditionals for weak_alias and libc_hidden_weak.
22581         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22582         libc_hidden_weak and weak_alias.
22583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22584         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22585         and weak_alias for static one.
22587 2015-04-15  David S. Miller  <davem@davemloft.net>
22589         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22591 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22593         [BZ #18206]
22594         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22595           Use signed comparision instead of substraction to avoid
22596           overflow bug.
22597         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22598           Take the sign of ret.
22599         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22600           Do not expect precise return values. Only the sign matters.
22601         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22602         * wcsmbs/test-wcsncmp.c: New File.
22603         * string/test-strncmp.c: Add wcsncmp support.
22605 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22607         [BZ #6792]
22608         * math/w_log1p.c: New file.
22609         * math/w_log1pf.c: Likewise.
22610         * math/w_log1pl.c: Likewise.
22611         * math/Makefile (libm-calls): Add w_log1p.
22612         * math/s_log1pl.c (log1pl): Remove weak_alias.
22613         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22614         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22615         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22616         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22617         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22618         [NO_LONG_DOUBLE] (log1pl): Likewise.
22619         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22620         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22621         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22622         (log1p): Remove long_double_symbol.
22623         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22624         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22625         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22626         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22627         remove weak_alias for corresponding log1p function.
22628         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22629         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22630         * sysdeps/ia64/fpu/w_log1p.c: New file.
22631         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22632         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22633         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22635 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22637         [BZ #18247]
22638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22639         decimal exponent by 1.
22640         * stdlib/tst-strtod-round-data: Add more tests.
22641         * stdlib/tst-strtod-round.c (tests): Regenerated.
22643 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22645         * math/auto-libm-test-in: Add more tests of clog and clog10.
22646         * math/auto-libm-test-out: Regenerated.
22647         * sysdeps/i386/fpu/libm-test-ulps: Update.
22648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22650 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22652         * Makeconfig (module-cppflags): Exclude all .v.i files.
22653         (skip-module-cppflags): Variable removed.
22655         * configure.ac (libc_config_ok): Initialize before reading
22656         preconfigure scripts, not after.
22657         * configure: Regenerated.
22659         * test-skeleton.c (TIMEOUT): Move #define to top level.
22660         (main): Grok environment variable TEST_DIRECT.  If set, print
22661         test expectation details into that file and then behave as if
22662         given --direct.
22664 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22666         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22667         warning on 32-bit.
22669 2015-04-08  David S. Miller  <davem@davemloft.net>
22671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22673 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22675         * math/auto-libm-test-in: Add more tests of atanh.
22676         * math/auto-libm-test-out: Regenerated.
22677         * sysdeps/i386/fpu/libm-test-ulps: Update.
22678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680         * math/auto-libm-test-in: Add more tests of atan.
22681         * math/auto-libm-test-out: Regenerated.
22682         * sysdeps/i386/fpu/libm-test-ulps: Update.
22683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22687         * elf/pldd.c (main): Rewrite to use struct
22688         scratch_buffer instead of extend_alloca.
22689         * elf/pldd-xx.c (find_maps): Likewise.
22690         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22691         <alloca.h>.
22692         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22693         scratch_buffer instead of extend_alloca.
22694         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22695         grp/compat-initgroups.c.
22696         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22697         Rewrite to use struct scratch_buffer instead of extend_alloca.
22698         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22699         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22701 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22703         * math/auto-libm-test-in: Add more tests of cbrt.
22704         * math/auto-libm-test-out: Regenerated.
22705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22707         * math/auto-libm-test-in: Add more tests of cabs.
22708         * math/auto-libm-test-out: Regenerated.
22709         * sysdeps/i386/fpu/libm-test-ulps: Update.
22710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22712         [BZ #18210]
22713         [BZ #18211]
22714         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22715         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22716         computations.
22717         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22718         clog10.
22719         * math/auto-libm-test-out: Regenerated.
22720         * sysdeps/i386/fpu/libm-test-ulps: Update.
22721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22723         [BZ #18197]
22724         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22725         (atan): Set FE_TONEAREST mode for internal computations.
22726         * math/auto-libm-test-in: Add more tests of atan.
22727         * math/auto-libm-test-out: Regenerated.
22729 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22731         [BZ #17930]
22732         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22734 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22736         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22738 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22740         * include/scratch_buffer.h: New file.
22741         * malloc/scratch_buffer_grow.c: Likewise.
22742         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22743         * malloc/scratch_buffer_set_array_size.c: Likewise.
22744         * malloc/tst-scratch_buffer.c: Likewise.
22745         * malloc/Makefile (routines): Add scratch_buffer_grow.
22746         (tests): Add test case.
22747         * malloc/Versions (GLIBC_PRIVATE): Export
22748         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22749         __libc_scratch_buffer_set_array_size.
22751 2015-04-06  Richard Henderson  <rth@redhat.com>
22753         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22754         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22756         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22757         unsigned int before printing.
22759 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22761         [BZ #17596]
22762         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22763         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22765 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22767         * include/libc-internal.h (libc_max_align_t): Define.
22769 2015-04-02  Andreas Schwab  <schwab@suse.de>
22771         [BZ #16850]
22772         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22774 2015-04-02  Mel Gorman  <mgorman@suse.de>
22776         [BZ #17195]
22777         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22778         as well as the main arena.
22780 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22782         [BZ #18185]
22783         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22784         sharing L2 cache to 2 for Silvermont/Knights Landing.
22786 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22788         [BZ #17711]
22789         * config.make.in (have-protected-data): New.
22790         * configure.ac: Check linker support for protected data symbol.
22791         * configure: Regenerated.
22792         * elf/Makefile (modules-names): Add tst-protected1moda and
22793         tst-protected1modb if $(have-protected-data) is yes.
22794         (tests): Add tst-protected1a and tst-protected1b if
22795         $(have-protected-data) is yes.
22796         ($(objpfx)tst-protected1a): New.
22797         ($(objpfx)tst-protected1b): Likewise.
22798         (tst-protected1modb.so-no-z-defs): Likewise.
22799         * elf/tst-protected1a.c: New file.
22800         * elf/tst-protected1b.c: Likewise.
22801         * elf/tst-protected1mod.h: Likewise.
22802         * elf/tst-protected1moda.c: Likewise.
22803         * elf/tst-protected1modb.c: Likewise.
22805 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22807         [BZ #17711]
22808         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22809         indicates it is called from do_lookup_x on relocation against
22810         protected data, skip the data definion in the executable from
22811         copy reloc.
22812         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22813         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22814         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22815         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22816         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22817         otherwise to 0.
22818         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22819         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22820         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22821         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22822         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22823         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22825 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22827         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22828         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22830 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22832         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22833         THREAD_SETMEM_NC.
22834         * sysdeps/x86_64/nptl/tls.h: Ditto.
22836 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22838         * dlfcn/tststatic.c (main): Converted to ...
22839         (do_test): ... this.
22840         (TEST_FUNCTION): New macro.
22841         Include test-skeleton.c.
22843 2015-03-26  Alan Modra  <amodra@gmail.com>
22845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22846         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22847         zero for undefined weak.
22848         (elf_machine_plt_conflict): Similarly.
22850 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22852         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22853         atanh.
22854         * math/auto-libm-test-out: Regenerated.
22855         * sysdeps/i386/fpu/libm-test-ulps: Update.
22856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22858         * math/auto-libm-test-in: Add another test of asin.
22859         * math/auto-libm-test-out: Regenerated.
22860         * sysdeps/i386/fpu/libm-test-ulps: Update.
22861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22863         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22864         Remove macro.
22865         (LLL_EBX_REG): Likewise.
22866         (LLL_ENTER_KERNEL): Likewise.
22868         * math/auto-libm-test-in: Add more tests of asin.
22869         * math/auto-libm-test-out: Regenerated.
22870         * sysdeps/i386/fpu/libm-test-ulps: Update.
22871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22873         [BZ #18138]
22874         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22875         libc_do_syscall_args): New structure.
22876         (INTERNAL_SYSCALL_MAIN_0): New macro.
22877         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22878         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22879         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22880         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22881         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22882         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22883         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22884         Replace conditional definitions by conditional definitions of ....
22885         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22886         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22887         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22888         (libpthread-sysdep_routines): Add libc-do-syscall.
22889         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22890         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22891         to __NR_futex not 240.
22893 2015-03-25  Alan Modra  <amodra@gmail.com>
22895         * NEWS: Advertise TLS optimization.
22896         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22897         (DT_PPC_NUM): Increment.
22898         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22899         (CHECK_STATIC_TLS): Use here.
22900         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22901         TLS descriptors.
22902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22903         * sysdeps/powerpc/dl-tls.c: New file.
22904         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22905         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22906         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22907         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22912 2015-03-25  Alan Modra  <amodra@gmail.com>
22914         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22915         for overlapping .opd entries" to "support...".
22916         * sysdeps/powerpc/powerpc64/configure: Regenerate
22918 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22920         * math/auto-libm-test-in: Add more tests of acos.
22921         * math/auto-libm-test-out: Regenerated.
22922         * sysdeps/i386/fpu/libm-test-ulps: Update.
22923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925         * math/auto-libm-test-in: Add more tests of expm1.
22926         * math/auto-libm-test-out: Regenerated.
22927         * sysdeps/i386/fpu/libm-test-ulps: Update.
22928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22930 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22932         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22933         * math/auto-libm-test-out: Regenerated.
22934         * sysdeps/i386/fpu/libm-test-ulps: Update.
22935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22937         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22940         * math/auto-libm-test-in: Add more tests of log2.
22941         * math/auto-libm-test-out: Regenerated.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22945 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22947         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22948         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22949         _IO_IS_APPENDING bit in READ_WRITE instead.
22951 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22953         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22954         (__determine_cpumask_size): Replace extend_alloca with a
22955         variable-length array.  Do not treat res == 0 as an error.
22957 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22959         [BZ #18100]
22960         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22961         and integer overflow.
22962         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22963         (main): Add integer overflow tests.
22964         * manual/pattern.texi (Calling Wordexp): Document additional use
22965         for WRDE_SYNTAX.
22967 2015-03-23  Alan Modra  <amodra@gmail.com>
22969         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22970         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22971         and false branch of conditional.
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22973         Likewise.
22975 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22977         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22978         libc-modules.h
22979         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22980         unused declaration of _hurd_intr_rpc_msg_in_trap.
22981         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22982         defined instead of whether it is non-zero.
22983         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22984         input constraint instead of both input and output constraint.  Use ecx
22985         clobber instead of %ecx.
22986         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22987         mutex_unlock): Use a statement expression instead of an expression list.
22988         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22989         type to vm_size_t instead of vm_address_t.
22990         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22991         defined instead of whether it is non-zero.
22992         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22993         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22994         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22995         comparisons with mapaddr.
22996         * nscd/nscd-client.h: Include <time.h>.
22997         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22998         9th parameter to __vm_region instead of int.
22999         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23000         * scripts/check-local-headers.sh (exclude): Add device/,
23001         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23002         cthreads.h.
23004 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23006         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23007         to account for alignment padding.
23008         * sysdeps/arm/memmove.S: Likewise.
23010 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23012         * sysdeps/unix/sysv/linux/generic/README: New file.
23014 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23016         [BZ #18138]
23017         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23018         (futex_abstimed_wait)
23019         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23020         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23021         of lll_futex_timed_wait.
23023 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23025         [BZ #17542]
23026         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23028 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23030         [BZ #17090]
23031         [BZ #17620]
23032         [BZ #17621]
23033         [BZ #17628]
23034         * NEWS: Update.
23035         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23036         entries with Static TLS too.  Skip entries past the end of the
23037         allocated DTV, from Alan Modra.
23038         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23039         Static TLS DTV entry set up from...
23040         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23041         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23042         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23043         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23044         for Static TLS.
23045         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23046         that the slot we find is associated with the given map before
23047         using its generation count.
23048         * nptl_db/db_info.c: Include ldsodefs.h.
23049         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23050         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23051         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23052         (link_map::l_tls_offset): New struct field.
23053         (dtv_t::counter): Likewise.
23054         (rtld_global): New struct.
23055         (_rtld_global): New rtld variable.
23056         (dl_tls_dtv_slotinfo_list): New rtld global field.
23057         (dtv_slotinfo_list): New struct.
23058         (dtv_slotinfo): Likewise.
23059         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23060         (td_lookup): Rename to...
23061         (td_mod_lookup): ... this.  Use new mod parameter instead of
23062         LIBPTHREAD_SO.
23063         * nptl_db/td_thr_tlsbase.c: Include link.h.
23064         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23065         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23066         addresses even if the DTV is out of date or missing them.
23067         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23068         index zero-length arrays.
23069         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23070         (td_lookup): Make it a macro implemented in terms of...
23071         (td_mod_lookup): ... this declaration.
23072         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23073         (DB_MAIN_VARIABLE): Likewise.
23075 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23077         [BZ #18134]
23078         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23080 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23082         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23084 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23086         [BZ #18128]
23087         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23088         (atomic_add, atomic_increment_and_test)
23089         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23091 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23093         * stdlib/setenv.c (__add_to_environ):
23094         Dump core quickly if setenv (..., NULL, ...) is called.
23096 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23098         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23099         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23100         all the necessary asm magic in one place.
23101         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23102         using those.
23104 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23106         [BZ #14906]
23107         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23108         traced file mtime. Use consistent log message.
23109         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23110         (register_traced_file): Call install_watches. Always set mtime.
23111         (invalidate_cache): Iterate over all trace files. Call install_watches.
23112         (inotify_check_files): Don't inline. Handle watching parent
23113         directories and configuration file movement in and out.
23114         (handle_inotify_events): New function.
23115         (main_loop_poll): Call handle_inotify_events.
23116         (main_loop_epoll): Likewise.
23117         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23118         (struct traced_file): Use array of inotify fds. Add parent directory,
23119         and basename.
23120         (struct database_dyn): Remove unused file_mtime.
23121         (init_traced_file): New inline function.
23122         (define_traced_file): New macro.
23123         * nss/nss_db/db-init.c: Use define_traced_file.
23124         (_nss_db_init): Use init_traced_file.
23125         * nss/nss_files/files-init.c: Use define_traced_file.
23126         (_nss_files_init): Use init_traced_file.
23128 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23130         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23131         [_LIBC]: Do not include <stdlib.h>.
23132         [!_LIBC] (abort): Remove declaration.
23133         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23134         _FP_STATIC_ASSERT instead of conditionally calling abort.
23135         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23136         (_FP_EXTEND_CNAN): Likewise.
23137         (FP_TRUNC): Likewise.
23138         (__FP_CLZ): Likewise.
23139         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23141 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23143         * manual/string.texi (XPG basename): Fix prototype.
23145 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23147         [BZ #18080]
23148         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23149         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23150         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23151         (__setcontext): Likewise.
23152         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23153         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23154         Call rt_sigprocmask syscall one time to set new signal mask
23155         and retrieve the current signal mask instead of two calls.
23156         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23157         (__swapcontext): Likewise.
23158         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23159         * stdlib/tst-setcontext2.c: New file.
23161 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23163         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23165 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23167         [BZ #18093]
23168         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23169         the wrong size.
23171 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23173         [BZ #18043]
23174         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23176 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23178         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23179         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23180         Remove define.
23181         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23182         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23183         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23184         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23185         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23186         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23187         define.
23188         * nptl_db/td_symbol_list.c (td_lookup): Remove
23189         HAVE_ASM_GLOBAL_DOT_NAME code.
23190         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23191         HAVE_ASM_GLOBAL_DOT_NAME check.
23192         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23193         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23194         (DOT_LABEL): Remove define.
23195         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23196         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23197         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23198         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23199         (__TLS_GET_ADDR): Likewise.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23201         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23203 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23205         [BZ #18111]
23206         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23207         (_FPU_SETCW): Initialize cw from fpsr before storing.
23208         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23209         (fesetexceptflag): Rewrite using fpu_control.h.
23210         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23212 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23214         [BZ #18110]
23215         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23216         asms.
23217         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23219 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23221         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23222         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23223         abort.
23224         (_FP_FMA): Likewise.
23225         (_FP_DIV): Likewise.
23227 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23229         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23230         with 0 in that case.
23231         * Makefile (summarize-tests): New canned sequence, factored out of
23232         commands for targets tests and xtests.  Display summary lines that
23233         don't start with PASS: or XFAIL: rather than ones that do start with
23234         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23235         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23236         do start with ERROR: or FAIL:.
23237         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23238         (except for [$(build-shared) = yes]).
23239         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23240         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23241         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23242         * nptl/Makefile: Revert 2015-03-04 changes.
23243         [$(CXX) empty] (tests-unsupported): New variable.
23244         * debug/Makefile: Likewise.
23246         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23247         gnulib file.  Replace __attribute with __attribute__ throughout.
23249 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23251         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23253 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23255         [BZ #18104]
23256         * math/auto-libm-test-in: Add another test of pow.
23257         * math/auto-libm-test-out: Regenerated.
23259 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23261         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23262         $(config-cflags-nofma).
23264 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23266         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23267         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23268         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23269         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23270         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23271         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23272         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23273         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23274         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23275         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23276         Add comment on closing #endif.
23278 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23280         * posix/wordexp.c (CHAR_IN_SET): New macro.
23281         (parse_param): Use it.
23283 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23285         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23287 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23289         [BZ #18043]
23290         * posix/wordexp.c (parse_param): Fix buffer overflow.
23291         * posix/wordexp-test.c (test_case): Add test case.
23293 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23295         [BZ #18042]
23296         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23297         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23299 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23301         [BZ #18043]
23302         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23303         (do_bz18043): Delete.
23304         (at_page_end): New.
23305         (testit): Refactor to have words at the edge of unreadable page.
23307 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23309         [BZ #16734]
23310         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23311         Cleanup read-only streams as well.
23312         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23314 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23316         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23317         <bits/libc-lockP.h>
23319 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23321         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23322         on [__KERNEL__].
23323         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23324         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23325         * soft-fp/op-common.h (_FP_DECL): Likewise.
23327 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23329         * elf/ifuncdep2.c (global): Replace
23330         __attribute__((visibility("protected"))) with
23331         asm (".protected global").
23332         * elf/ifuncmod1.c (global): Likewise.
23333         * elf/ifuncmod5.c (global): Likewise.
23335 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23337         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23338         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23340 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23342         * manual/install.texi (Configuring and compiling):
23343         Document test-wrapper-env-only.
23344         * INSTALL: Regenerated.
23346 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23348         [BZ #18043]
23349         * posix/wordexp.c (parse_param): Fix buffer overflow.
23350         * posix/wordexp-test.c (do_bz18043): Add test case.
23352 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23354         * time/tst-strptime2.c (do_test): Ensure failing tests are
23355         reported correctly.
23356         * time/tst-strptime3.c (do_test): Likewise.
23358 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23360         Fix aio_error thread-safety.
23361         * sysdeps/pthread/aio_error.c: New file
23362         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23363         synchronization.
23365 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23367         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23368         (group_number, vfprintf): Use it.
23369         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23370         (JUMP, REF): Use it.
23371         (WORK_BUFFER_SIZE): New enum constant.
23372         (process_arg, vfprintf): Use it.
23374 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23376         * manual/errno.texi (Error Messages): Complete example function
23377         by adding missing #define.
23378         (program_invocation_name): Add statement indicating GNU
23379         extension and reference which header file declares the variable.
23380         (program_invocation_short_name): Likewise.
23382 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23384         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23385         compatibility note.
23387 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23389         * Makeconfig (test-wrapper-env-only): New variable.
23390         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23391         then use that with $(test-wrapper-env-only) rather than using
23392         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23394 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23396         [BZ #18082]
23397         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23398         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23399         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23400         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23401         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23402         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23403         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23404         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23405         Likewise.
23406         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23407         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23408         Likewise.
23409         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23410         Likewise.
23411         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23412         Likewise.
23413         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23414         Likewise.
23415         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23416         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23417         Likewise.
23418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23419         Likewise.
23420         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23421         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23423 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23425         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23426         (ETH_ALEN): New macro.
23427         (struct ether_addr): Use it for length of ether_addr_octet.
23429         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23430         (setdb): Don't call __nss_configure_lookup for "rpc".
23431         (do_test): Don't call test_rpc.
23432         (output_rpcent, test_rpc): Functions moved ...
23433         * sunrpc/test-rpcent.c: ... to this new file.
23434         * sunrpc/Makefile (tests): Add it.
23436         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23437         __xpg_sigpause.
23438         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23439         * nptl/tst-signal6.c: Likewise.
23440         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23441         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23443         * configure.ac (libc_cv_cxx_link_ok): New check.
23444         Reset CXX to empty if it fails to link.
23445         * configure: Regenerated.
23446         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23447         bug-atexit3-lib only if $(CXX) is nonempty.
23448         * nptl/Makefile (tests): Likewise for tst-cancel24.
23449         (tests, tests-static): Likewise for tst-cancel24-static.
23450         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23451         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23452         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23453         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23455 2015-03-04  Andreas Schwab  <schwab@suse.de>
23457         [BZ #17631]
23458         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23459         for non-GCC compilers.
23460         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23461         Likewise.
23463 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23465         [BZ #17776]
23466         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23467         integer before bitwise and assembly operations.
23468         (feclearexcept): Likewise.
23469         * math/test-fenvinline.c: New file.
23470         * math/Makefile: Add test-fenvinline test.
23472 2015-03-03  Alan Modra  <amodra@gmail.com>
23474         [BZ #16512]
23475         * scripts/localplt.awk: Strip off symbol version.
23476         * NEWS: Mention bug fix.
23478 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23480         * sysdeps/pthread/timer_routines.c
23481         (timer_free_list, thread_free_list, thread_active_list): Make static.
23483 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23485         [BZ #17779]
23486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23487         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23488         Undefine.
23489         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23490         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23491         Likewise.
23492         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23493         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23494         Likewise.
23496 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23498         [BZ #18036]
23499         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23500         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23502 2015-03-02  Andreas Schwab  <schwab@suse.de>
23504         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23505         variable name.
23507 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23509         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23510         Return error status.
23512 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23514         [BZ #15969]
23515         * locale/findlocale.c (_nl_find_locale): Introduce const
23516         version of loc_name and drop unsafe type casts.
23518 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23520         * dlfcn/tststatic2.c (main): Converted to ...
23521         (do_test): ... this.
23522         (TEST_FUNCTION): New macro.
23523         Include test-skeleton.c.
23525 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23527         [BZ #17711]
23528         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23529         (tests-pie): Add vismain.
23530         (CFLAGS-vismain.c): New.
23531         * elf/vismain.c: Add comments for PIE requirement.
23533 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23535         [BZ #18046]
23536         [BZ #18047]
23537         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23538         0x1p-56L as threshold for just returning the argument.
23539         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23540         0x1p-32L as threshold for just returning the argument.
23541         * math/auto-libm-test-in: Add more tests of atanh.
23542         * math/auto-libm-test-out: Regenerated.
23543         * sysdeps/i386/fpu/libm-test-ulps: Update.
23544         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23546 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23548         * string/bcopy.c (bcopy): Call memmove for performance.
23550 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23552         * string/bzero.c (__bzero): Call memset for performance.
23554 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23556         [BZ #18068]
23557         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23558         to 00100000.
23560 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23562         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23564 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23566         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23567         (__kernel_standard): Use CSTR macro when setting exc.name.
23568         * sysdeps/ieee754/Makefile [$(subdir) = math]
23569         (CFLAGS-k_standard.c): Remove variable.
23571         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23572         setting p and q from "else if" to "else".
23573         (qzero): Likewise.
23574         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23575         (qone): Likewise.
23576         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23577         (qzerof): Likewise.
23578         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23579         (qonef): Likewise.
23580         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23581         (qzero): Likewise.
23582         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23583         (qone): Likewise.
23585         [BZ #18038]
23586         [BZ #18039]
23587         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23588         return pi/2 for arguments below 0x1p-113L.
23589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23590         return pi/2 for arguments below 0x1p-106L.
23591         * math/auto-libm-test-in: Add more tests of acos.
23592         * math/auto-libm-test-out: Regenerated.
23594         [BZ #16351]
23595         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23596         (MO): New macro.
23597         (__ieee754_asin): Force underflow exception for results with small
23598         absolute value.
23599         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23600         (MO): New macro.
23601         (__ieee754_asinf): Force underflow exception for results with
23602         small absolute value.
23603         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23604         (__ieee754_asin): Force underflow exception for results with small
23605         absolute value.
23606         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23607         (__ieee754_asinf): Force underflow exception for results with
23608         small absolute value.
23609         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23610         (__ieee754_asinl): Force underflow exception for results with
23611         small absolute value.
23612         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23613         (__ieee754_asinl): Force underflow exception for results with
23614         small absolute value.
23615         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23616         (__ieee754_asinl): Force underflow exception for results with
23617         small absolute value.
23618         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23619         Include <math.h>.
23620         * math/auto-libm-test-in: Do not mark underflow exceptions as
23621         possibly missing for bug 16351.
23622         * math/auto-libm-test-out: Regenerated.
23624         [BZ #18030]
23625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23626         of power of 2 down when low part has opposite sign.
23627         * math/libm-test.inc (logb_test_data): Add more tests.
23629 2015-02-26  Andreas Schwab  <schwab@suse.de>
23631         [BZ #18032]
23632         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23633         over collating symbol inside a bracket expression.  Minor cleanup.
23634         * posix/tst-fnmatch3.c (do_test): Add test case.
23636 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23638         [BZ #18029]
23639         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23640         Adjust exponent of power of 2 down when low part has opposite
23641         sign.
23642         * math/libm-test.inc (ilogb_test_data): Add more tests.
23644 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23646         [BZ #15969]
23647         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23648         the previous change.
23650         [BZ #15969]
23651         * locale/findlocale.c (_nl_find_locale): Retry archive search
23652         after alias expansion.
23654 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23656         * iconv/tst-iconv3.c (main): Converted to ...
23657         (do_test): ... this.
23658         (TEST_FUNCTION): New macro.
23659         Include test-skeleton.c.
23661         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23662         (convert): Make function static.
23663         (test_unalign): Likewise.  Add const to argument pointee types.
23664         (main): Replace with static function do_test.
23665         Print "Succeeded." only if RET is zero.
23666         (TEST_FUNCTION): New macro.
23667         Include test-skeleton.c.
23669         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23670         returns a null pointer.
23672 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23674         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23675         to __memcpy_ppc only for static builds.
23677 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23679         [BZ #18020]
23680         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23681         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23682         * math/auto-libm-test-in: Add more tests of asinh.
23683         * math/auto-libm-test-out: Regenerated.
23684         * sysdeps/i386/fpu/libm-test-ulps: Update.
23685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23687 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23689         [BZ #15850]
23690         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23691         and ip6_mtuinfo definitions here.
23692         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23693         in this define too.  Update comment.
23695 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23697         * elf/sprof.c (load_shobj): Tweak error message to match others.
23699 2015-02-24  Kevin Easton  <kevin@guarana.org>
23701         [BZ #16145] (partial fix)
23702         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23703         to reduce lock contention.
23705 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23707         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23708         (struct timex): Update time comment.
23709         (ADJ_SETOFFSET): Define.
23711 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23713         [BZ #18019]
23714         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23715         2**56 not 2**28 as threshold for log (2x) formula.
23716         * math/auto-libm-test-in: Add more tests of acosh.
23717         * math/auto-libm-test-out: Regenerated.
23718         * sysdeps/i386/fpu/libm-test-ulps: Update.
23719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23721 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23723         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23724         parenthesis around the buf assignment.
23725         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23727 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23729         [BZ #16783]
23730         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23731         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23732         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23733         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23734         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23735         * math/libm-test.inc (scalb_test_data): Add more tests.
23737 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23739         [BZ #17916]
23740         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23741         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23743 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23745         [BZ #17523]
23746         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23747         * io/bits/fcntl2.h (open): Use it.
23748         (openat): Likewise.
23749         * io/open.c (__libc_open): Likewise.
23750         * io/open64.c (__libc_open64): Likewise.
23751         * io/open64_2.c (__open64_2): Likewise.
23752         * io/open_2.c (__open_2): Likewise.
23753         * io/openat.c (__openat): Likewise.
23754         * io/openat64.c (__openat64): Likewise.
23755         * io/openat64_2.c (__openat64_2): Likewise.
23756         * io/openat_2.c (__openat_2): Likewise.
23757         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23758         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23759         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23760         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23761         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23762         (__open_nocancel): Likewise.
23763         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23764         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23765         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23767 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23769         [BZ #14841]
23770         * resolv/gethnamaddr.c (getanswer): Skip logging if
23771         RES_USE_DNSSEC is set.
23772         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23774 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23776         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23778 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23780         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23781         201304L, for Unicode 7.
23783 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23785         [BZ #17836]
23786         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23787         shared library.  Add gmon-start.os otherwise.
23788         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23789         $(objpfx)gmon-start.os if builing shared library.
23790         ($(objpfx)g$(static-start-installed-name)): Likewise.
23792 2015-02-23  Andreas Schwab  <schwab@suse.de>
23794         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23796 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23798         [BZ #17269]
23799         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23800         (enlarge_userbuf): Likewise.
23802 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23804         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23805         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23806         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23807         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23809 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23811         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23812         expression inside statement expression.
23814 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23816         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23817         <sysdeps/nptl/lowlevellock.h> and remove macros and
23818         functions that are now defined there.
23819         (SYS_futex): Remove.
23820         (lll_compare_and_swap): Remove.
23821         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23823 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23825         [BZ #17999]
23826         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23827         instead of scandirat.
23828         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23829         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23830         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23831         __scandirat.
23832         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23833         (__scandirat): Declare.  Use libc_hidden_proto.
23834         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23835         Remove variable.
23836         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23838 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23840         [BZ #15319]
23841         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23842         (MO): New macro.
23843         (__ieee754_atan2): For results with small absolute value, force
23844         underflow exception and remove excess range and precision from
23845         return value.
23846         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23847         (MO): New macro.
23848         (__ieee754_atan2f): For results with small absolute value, force
23849         underflow exception and remove excess range and precision from
23850         return value.
23851         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23852         (MO): New macro.
23853         (__atan): For results with small absolute value, force underflow
23854         exception and remove excess range and precision from return value.
23855         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23856         (MO): New macro.
23857         (__atanf): For results with small absolute value, force underflow
23858         exception and remove excess range and precision from return value.
23859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23860         <math.h>.
23861         (__ieee754_atan2): Force underflow exception for results with
23862         small absolute value.
23863         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23864         <math_private.h>.
23865         (atan): Force underflow exception for results with small absolute
23866         value.
23867         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23868         (__atanf): Force underflow exception for results with small
23869         absolute value.
23870         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23871         <math.h>.
23872         (__atanl): Force underflow exception for results with small
23873         absolute value.
23874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23875         (__atanl): Force underflow exception for results with small
23876         absolute value.
23877         * sysdeps/x86/fpu/bits/mathinline.h
23878         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23879         (__ieee754_atan2): Only define inline for long double.
23880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23881         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23882         * math/auto-libm-test-in: Do not mark underflow exceptions as
23883         possibly missing for bug 15319.  Add more tests of atan2.
23884         * math/auto-libm-test-out: Regenerated.
23885         * math/libm-test.inc (casin_test_data): Do not mark underflow
23886         exceptions as possibly missing for bug 15319.
23887         (casinh_test_data): Likewise.
23888         * sysdeps/i386/fpu/libm-test-ulps: Update.
23890 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23892         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23893         * sysdeps/mips/bits/endian.h: Fix comments.
23895 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23897         [BZ #17996]
23898         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23899         (hdestroy_r): Likewise.
23900         (hsearch_r): Likewise.
23901         (__hcreate_r): Declare and use libc_hidden_proto.
23902         (__hdestroy_r): Likewise.
23903         (__hsearch_r): Likewise.
23904         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23905         (hcreate): Call __hcreate_r instead of hcreate_r.
23906         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23907         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23908         as weak alias of __hcreate_r.
23909         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23910         __hdestroy_r.
23911         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23912         __hsearch_r.
23913         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23914         Remove variable.
23915         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23916         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23917         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23918         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23920 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23922         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23923         arena_lock into a single arena_get.
23925 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23927         * dl-reloc.c: Inlucde libc-internal.h.
23928         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23929         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23930         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23931         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23932         (grow_heap): Likewise.
23933         * malloc/malloc.c: Include libc-internal.h.
23934         (do_check_malloc): Call powerof2.
23935         (sysmalloc): Use pagesize. Call ALIGN_UP.
23936         (systrim): Use pagesize.
23937         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23938         (__libc_valloc): Use pagesize.
23939         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23941 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23943         [BZ #17991]
23944         * include/sys/resource.h (__getrlimit64): Declare.  Use
23945         libc_hidden_proto.
23946         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23947         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23948         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23949         getrlimit64.
23950         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23951         __getrlimit64.
23952         [!getrlimit64] (getrlimit64): Define as weak alias of
23953         __getrlimit64.  Use libc_hidden_weak.
23954         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23955         using __getrlimit64 not __new_getrlimit64.
23956         (__GI_getrlimit64): Likewise.
23957         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23958         Likewise.
23959         (__GI_getrlimit64): Likewise.
23960         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23962         (getrlimit): Add __getrlimit64 alias.
23963         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23964         Likewise.
23965         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23966         Remove variable.
23967         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23968         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23970 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23972         * libio/fileops.c: Add missing sys/mman.h
23973         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23975 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23977         * manual/math.texi (Errors in Math Functions): Clarify goals
23978         regarding inexact and underflow exceptions.
23980 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23982         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23983         * sysdeps/mips/memset.S: Ditto.
23985 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23987         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23989 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23991         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23992         (__v1longjmp): Remove versioned symbol.
23993         (__v1siglongjmp): Remove alias and versioned symbol.
23994         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23995         (__v2siglongjmp): Likewise.
23997 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24001 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24003         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24005 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24007         [BZ #17987]
24008         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24009         zero result does not depend on the sign resulting from
24010         subtraction.
24011         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24012         Likewise.
24013         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24014         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24015         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24016         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24017         * math/libm-test.inc (remquo_test_data): Add more tests.
24019 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24021         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24022         Problem reported by J William Piggott.
24024 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24026         [BZ #17978]
24027         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24028         products 4 * y and 2 * y where those would overflow.
24029         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24030         Likewise.
24031         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24032         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24033         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24034         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24035         * math/libm-test.inc (remquo_test_data): Add more tests.
24037         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24039         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24040         [defined _COMPILING_NEWLIB].
24041         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24042         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24044         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24045         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24047 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24049         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24050         acquired.
24052 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24054         [BZ #17792]
24055         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24056         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24057         HOST_STACK_END_ADDR): Likewise.
24059 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24061         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24062         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24063         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24065 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24067         * sysdeps/generic/c++-types.data: New file.
24068         * sysdeps/generic/ld.abilist: New file.
24069         * sysdeps/generic/libBrokenLocale.abilist: New file.
24070         * sysdeps/generic/libanl.abilist: New file.
24071         * sysdeps/generic/libc.abilist: New file.
24072         * sysdeps/generic/libcrypt.abilist: New file.
24073         * sysdeps/generic/libdl.abilist: New file.
24074         * sysdeps/generic/libm.abilist: New file.
24075         * sysdeps/generic/libpthread.abilist: New file.
24076         * sysdeps/generic/libresolv.abilist: New file.
24077         * sysdeps/generic/librt.abilist: New file.
24079 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24081         [BZ #17569]
24082         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24083         Compute absolute value of x as modified by fmod, not original
24084         value of x.
24085         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24086         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24087         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24088         RUN_TEST_ffI_f1_mod8.
24089         (remquo_test_data): Add more tests.
24091 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24093         * sysdeps/init_array/pt-crti.S: New file.
24095 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #17967]
24098         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24099         __builtin_fmaf instead of relying on contraction of a * b + c.
24101 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24103         [BZ #17969]
24104         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24105         node.
24107 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24109         [BZ #17964]
24110         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24111         __builtin_fma instead of relying on contraction of a * b + c.
24113 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24115         * Makeconfig (ASFLAGS): Add -Werror=undef.
24116         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24117         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24118         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24120         * Makeconfig (after-link): New variable.
24121         (+link-pie, +link-pie-tests): Use it.
24122         (+link-static, +link-static-tests): Likewise.
24123         (+link, +link-tests): Likewise.
24124         * Makerules (build-module, build-module-asneeded): Likewise.
24125         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24126         Likewise.
24127         * elf/Makefile ($(objpfx)ld.so): Likewise.
24129 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24131         [BZ #17965]
24132         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24133         both struct timeval and struct timespec.
24135 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24137         [BZ #16560]
24138         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24139         and redefine.
24140         (__ieee754_exp2l): Do not multiply small fractional parts by
24141         M_LN2l.
24142         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24143         small argument.
24144         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24145         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24146         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24147         * math/auto-libm-test-in: Add more tests of exp2.
24148         * math/auto-libm-test-out: Regenerated.
24150 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24152         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24153         unaligned path.
24155 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24158         little endian.
24160 2015-02-12  Andreas Schwab  <schwab@suse.de>
24162         [BZ #15790]
24163         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24164         Filter out elision flags from value returned in kind.
24165         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24166         * nptl/tst-pthread-mutexattr.c: New file.
24168 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24170         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24171         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24172         into gnu-gnu, and update comment to refer to abi-tags.
24174 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24176         [BZ #15467]
24177         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24178         (__sincos): Set errno to EDOM for infinite argument.
24179         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24180         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24181         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24182         (__sincosl): Set errno to EDOM for infinite argument.
24183         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24184         (__sincosl): Set errno to EDOM for infinite argument.
24185         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24186         (__sincosl): Set errno to EDOM for infinite argument.
24187         * math/libm-test.inc (sincos_test_data): Test errno setting.
24189 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24191         * string/strxfrm_l.c: Remove #define STRCMP.
24192         * string/strcoll_l.c: Remove #define STRLEN.
24193         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24194         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24196 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24198         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24199         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24200         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24201         * sysdeps/mips/mips64/Makefile: ... here.
24202         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24203         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24204         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24205         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24206         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24207         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24208         * sysdeps/mips/mips64/n64/Implies: Likewise.
24210 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24212         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24213         <sys/time.h>, <string.h>, and <errno.h>.
24214         (dest_offset, dest_address, value, zero): Remove unused variables.
24215         (ldouble): Remove typedef.
24216         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24217         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24218         1).  Fix code style.
24219         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24220         (check): Function removed.
24221         (CHECK): New macro.
24222         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24223         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24224         Don't call set_sigaction_FP and remove_sigaction_FP here.
24225         (ldouble_test): Just use 'long double' as macro argument, no need for
24226         the 'ldouble' typedef.
24227         (do_test): Set up SIGFPE handler at start, using plain signal rather
24228         than sigaction.  Fix code style.
24230 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24232         [BZ #17949]
24233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24234         jump label.
24236 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24238         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24239         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24241         * sysdeps/powerpc/configure.ac: Remove file.
24242         * sysdeps/powerpc/configure: Likewise.
24244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24245         [sysdep_routines]: Remove wordcopy-power6 object.
24246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24247         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24248         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24249         (__memmove_ppc32): Likewise.
24250         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24251         file.
24252         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24253         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24254         Remove preprocessor.
24256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24257         [sysdep_routines]: Remove wide chars objects.
24258         [wcsmbs]: New rule for wide char objects.
24260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24261         Remove wordcopy-power6 obejct.
24262         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24263         Use local call for wordcopy and memcpy symbols.
24264         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24266         implementation for loader.
24267         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24269         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24270         Remove wordcopy-power7 object.
24271         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24272         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24273         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24274         (_wordcopy_fwd_dest_aligned): Likewise.
24275         (_wordcopy_bwd_aligned): Likewise.
24276         (_wordcopy_bwd_dest_aligned): Likewise.
24278         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24279         Rewrite to call __memmove_ppc instead of include default
24280         implementation.
24282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24283         Remove wide chars objects.
24284         [wcsmbs]: New rule for wide char objects.
24286 2015-02-09  Andreas Schwab  <schwab@suse.de>
24288         [BZ #17912]
24289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24290         in terms of __O_DIRECTORY.
24292 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24294         * time/getdate.c: Include <stdbool.h>.
24295         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24296         call PTR_MANGLE.
24297         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24298         PTR_DEMANGLE.
24300 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24302         Add ersatz _Static_assert on older C hosts
24303         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24304         pre-C11 C platform that is not known to support _Static_assert.
24306 2015-02-07  Richard Braun  <rbraun@sceen.net>
24308         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24309         sigstate.
24310         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24312 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24314         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24315         priority against unexistent AIO_PRIO_DELTA_MAX.
24316         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24317         instead of int.
24318         * misc/fchflags.c (fchflags): Likewise.
24319         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24320         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24321         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24322         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24323         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24324         Declare macros.
24325         [__USE_MISC] (chflags, fchflags): Declare functions.
24326         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24327         EINVAL when nfds is greater than FD_SETSIZE.
24328         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24329         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24330         45.
24331         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24332         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24333         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24334         MACH_RCV_TIMED_OUT.
24335         * hurd/hurd/signal.h (_hurd_self_sigstate,
24336         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24337         Explicit casts from void *.
24338         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24339         * abi-tags: Rename gnu-gnu os into gnu.
24341         [BZ #4719]
24342         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24343         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24344         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24345         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24346         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24347         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24349         [BZ #17944]
24350         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24351         duplicates ADDR->sun_path with sockaddr LEN limitation.
24352         * sysdeps/mach/hurd/connect.c: Include <string.h>
24353         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24354         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24355         * sysdeps/mach/hurd/sendto.c: Likewise.
24356         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24357         implementing it by hand.
24359 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24361         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24362         Use sfi_breg on ldr.
24363         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24364         Likewise.
24366         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24367         it's defined.
24368         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24369         Test SIGSETXID only if it's defined.
24371         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24373         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24374         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24376         * nptl/tst-align2.c: Moved ...
24377         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24378         * nptl/Makefile (tests): Remove tst-align2.
24379         * sysdeps/unix/sysv/linux/Makefile
24380         [$(subdir) = nptl] (tests): Add tst-align-clone.
24381         * nptl/tst-getpid1.c: Moved ...
24382         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24383         * nptl/tst-getpid2.c: Moved ...
24384         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24385         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24386         * sysdeps/unix/sysv/linux/Makefile
24387         [$(subdir) = nptl] (tests): ... here.
24388         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24389         * sysdeps/unix/sysv/linux/Makefile
24390         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24392         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24393         Drop trailing \n from perror argument.  Use return rather than exit.
24395         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24396         on [SA_SIGINFO].
24397         * nptl/tst-cancel21.c (do_test): Likewise.
24398         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24399         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24400         [!SA_SIGINFO]: Make it a stub test.
24402         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24403         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24405         * posix/tst-getlogin.c: Move to ...
24406         * login/tst-getlogin.c: ... here.
24407         * posix/Makefile (tests): Move tst-getlogin to ...
24408         * login/Makefile (tests): ... here.
24410         * libio/tst-atime.c (do_test): Move local variables SV and E
24411         inside [ST_NOATIME] conditional.
24413         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24415         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24417         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24418         (wait_code): New function replaces macro.
24419         Call nanosleep rather than syscall.
24421         * nptl/pt-system.c: Rewritten.  Put everything under
24422         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24423         Use IFUNC to redirect when possible.
24425         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24426         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24427         Use IFUNC to redirect when possible.
24429         * nptl/pt-fork.c: Rewritten.  Put everything under
24430         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24431         Use IFUNC to redirect when possible.
24432         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24435         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24436         unconditionally nowadays.  This included the only reference to
24437         __vdso_clock_gettime that appears outside libc proper.
24438         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24439         Remove version set (containing only __vdso_clock_gettime).
24440         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24441         Add attribute_hidden.
24442         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24443         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24444         libc_hidden_data_def.
24445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24446         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24448         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24449         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24450         setrpcent, and getrpcport to ...
24451         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24452         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24453         getrpcbynumber_r, and getrpcent_r to ...
24454         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24455         * inet/getrpcbyname.c: Moved ...
24456         * sunrpc/getrpcbyname.c: ... here.
24457         * inet/getrpcbyname_r.c: Moved ...
24458         * sunrpc/getrpcbyname_r.c: ... here.
24459         * inet/getrpcbynumber.c: Moved ...
24460         * sunrpc/getrpcbynumber.c: ... here.
24461         * inet/getrpcbynumber_r.c: Moved ...
24462         * sunrpc/getrpcbynumber_r.c: ... here.
24463         * inet/getrpcent.c: Moved ...
24464         * sunrpc/getrpcent.c: ... here.
24465         * inet/getrpcent_r.c: Moved ...
24466         * sunrpc/getrpcent_r.c: ... here.
24467         * inet/Makefile (routines): Move those to ...
24468         * sunrpc/Makefile (routines): ... here.
24469         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24470         the $(subdirs) list.
24471         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24472         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24473         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24474         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24476         * elf/Makefile (routines): Include $(all-dl-routines), not just
24477         $(dl-routines).
24478         (rtld-routines): Likewise.  Use = rather than :=.
24479         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24480         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24481         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24482         * sysdeps/arm/Makefile: Likewise.
24483         * sysdeps/i386/Makefile: Likewise.
24484         * sysdeps/x86_64/Makefile: Likewise.
24485         * sysdeps/hppa/Makefile [$(subdir) = elf]
24486         (sysdep_routines, sysdep-rtld-routines): Don't add
24487         $(sysdep-dl-routines) to these.
24488         * sysdeps/ia64/Makefile: Likewise.
24489         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24490         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24491         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24492         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24493         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24494         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24495         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24496         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24497         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24498         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24499         these; sysdep-dl-routines alone is enough.
24501 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24503         [BZ #17932]
24504         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24505         where multiplication results in zero and third argument is finite
24506         and nonzero.
24507         * math/auto-libm-test-in: Add more tests of fma.
24508         * math/auto-libm-test-out: Regenerated.
24510         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24511         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24512         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24513         (_FP_CMP_EQ): Likewise.
24514         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24516         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24517         extra argument CHECK_NAN.  Redefine as wrapper around
24518         _FP_EXTEND_CNAN.
24520 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24522         * version.h (RELEASE): Set to "stable".
24523         (VERSION): Set to "2.21"
24524         * include/features.h (__GLIBC_MINOR__): Set to 21.
24526         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24528 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24529             Paul Eggert  <eggert@cs.ucla.edu>
24531         [BZ #16618]
24532         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24533         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24534         size in bytes. Store needed elements in wpmax. Use needed size
24535         in bytes for extend_alloca.
24537 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24539         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24540         binutls 2.25, and texinfo 5.2.
24541         * INSTALL: Regenerate.
24542         * sysdeps/nios2/configure: Regenerate.
24543         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24544         * manual/contrib.texi: Update.
24545         * po/be.po: Update.
24546         * po/bg.po: Update.
24547         * po/ca.po: Update.
24548         * po/cs.po: Update.
24549         * po/da.po: Update.
24550         * po/de.po: Update.
24551         * po/el.po: Update.
24552         * po/eo.po: Update.
24553         * po/es.po: Update.
24554         * po/fi.po: Update.
24555         * po/fr.po: Update.
24556         * po/gl.po: Update.
24557         * po/hr.po: Update.
24558         * po/hu.po: Update.
24559         * po/ia.po: Update.
24560         * po/id.po: Update.
24561         * po/it.po: Update.
24562         * po/ja.po: Update.
24563         * po/ko.po: Update.
24564         * po/lt.po: Update.
24565         * po/nb.po: Update.
24566         * po/nl.po: Update.
24567         * po/pl.po: Update.
24568         * po/pt_BR.po: Update.
24569         * po/ru.po: Update.
24570         * po/rw.po: Update.
24571         * po/sk.po: Update.
24572         * po/sl.po: Update.
24573         * po/sv.po: Update.
24574         * po/tr.po: Update.
24575         * po/uk.po: Update.
24576         * po/vi.po: Update.
24577         * po/zh_CN.po: Update.
24578         * po/zh_TW.po: Update.
24580         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24581         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24582         * sysdeps/hppa/dl-irel.h: Remove #warning.
24583         * sysdeps/hppa/entry.h: Provide prototype for
24584         __canonicalize_funcptr_for_compare and cast argument.
24585         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24586         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24587         * sysdeps/hppa/sotruss-lib.c: New file.
24588         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24589         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24590         (atomic_compare_and_exchange_bool_acq): Likewise.
24591         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24592         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24594         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24595         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24596         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24598 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24600         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24601         called function in non-PIC case.
24603 2015-01-31  David S. Miller  <davem@davemloft.net>
24605         * sysdeps/sparc/sparc32/bits/atomic.h
24606         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24607         unlock not after it.
24608         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24609         volatile register usage warnings from the compiler.
24611         * sysdeps/sparc/nptl/sem_init.c: Delete.
24612         * sysdeps/sparc/nptl/sem_post.c: Delete.
24613         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24614         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24615         * sysdeps/sparc/sparc32/sem_init.c: New file.
24616         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24617         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24618         padding explicitly initialized.
24619         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24620         padding for in-semaphore spinlock.
24621         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24622         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24623         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24624         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24625         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24626         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24627         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24628         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24629         version.
24630         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24631         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24633 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24635         [BZ #17801]
24636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24637         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24638         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24639         New.
24640         (index_AVX_Fast_Unaligned_Load): Likewise.
24641         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24642         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24643         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24644         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24645         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24646         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24647         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24648         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24649         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24651 2015-01-29  Andreas Schwab  <schwab@suse.de>
24653         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24655 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24657         [BZ #17892]
24658         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24660 2015-01-28  Martin Sebor  <msebor@redhat.com>
24662         * math/README.libm-test: Clarify. Add "How to read the test output."
24664 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24666         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24667         Define to 0.
24669 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24671         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24672         (__HAVE_64B_ATOMICS): Define to 0.
24674 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24676         [BZ #17885]
24677         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24678         value to set as new flag.
24680         [BZ #16576]
24681         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24682         and use _ARCH_PPCSQ instead.
24683         (__ieee754_sqrt): Likewise.
24684         (__ieee754_sqrtf): Likewise.
24685         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24686         _ARCH_PPCSQ is defined.
24687         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24688         fsqrt instruction.
24689         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24690         _ARCH_PPCSQ is defined.
24691         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24692         fsqrts instruction.
24693         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24695 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24697         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24698         bug (GCC BZ #64739).
24700 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24703         Mark _retval as used.
24704         (lll_futex_wake_unlock): Likewise.
24705         (lll_futex_timed_wait_requeue_pi): Likewise.
24707         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24708         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24709         register variables.
24711         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24712         libm_hidden_def.
24714         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24715         (__bswap_64): Mark as __always_inline.
24717 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24719         [BZ #15378]
24720         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24721         when none of the search directories exist.
24723 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24725         [BZ #17869]
24726         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24727         power8 in .machine directive.
24729         [BZ #17868]
24730         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24731         set dependency from opd value.
24733 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24736         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24737         architecture.
24739 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24741         [BZ #17870]
24742         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24743         with uint64_t.
24744         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24745         (uint64_t) 1.
24746         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24747         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24748         Replace 1UL with (uint64_t) 1.
24749         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24750         int with uint64_t.
24752 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24754         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24755         (if_freenameindex): Likewise.
24757         * resource/getrlimit64.c: Add missing libc_hidden_def.
24759 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24761         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24762         __label__.
24763         (_FP_FMA): Likewise.
24764         (_FP_TO_INT_ROUND): Likewise.
24765         (_FP_FROM_INT): Likewise.
24767 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24769         [BZ #16418]
24770         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24771         Make code racy and cancel safe.
24773 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24775         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24776         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24777         attribution.
24779         * pwd/tst-getpw.c: Rewrite.
24781         [BZ #17702]
24782         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24783         (modules-names): Add moddummy1 and moddummy2.
24784         ($(objpfx)tst-rec-dlopen): Define.
24785         * dlfcn/moddummy1.c: New file.
24786         * dlfcn/moddummy2.c: New file.
24787         * dlfcn/tst-rec-dlopen.c: New file.
24788         * elf/dl-cache.c (_dl_load_cache_lookup):
24789         Return char*. Copy result with alloca/strcpy/strdup.
24790         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24791         returns char*. Free cached. If not saving realname
24792         free cached.
24793         * elf/dl-open.c (dl_open_worker): Do not assert that
24794         _r_debug->r_state is RT_CONSISTENT.
24795         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24796         returns char*.
24798 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24799             Carlos O'Donell  <carlos@redhat.com>
24801         [BZ #12674]
24802         * nptl/sem_waitcommon.c: New file.
24803         * nptl/sem_wait.c: Include sem_waitcommon.c.
24804         (__sem_wait_cleanup, do_futex_wait): Remove.
24805         (__new_sem_wait): Adapt.
24806         (__new_sem_trywait): New function.
24807         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24808         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24809         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24810         (sem_timedwait): Adapt.
24811         * nptl/sem_post.c (__new_sem_post): Adapt.
24812         (futex_wake): New function.
24813         (__old_sem_post): Add release MO fence.
24814         * nptl/sem_open.c (sem_open): Adapt.
24815         * nptl/sem_init.c (__new_sem_init): Adapt.
24816         (futex_private_if_supported): New function.
24817         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24818         (__old_sem_getvalue): Add using previous code.
24819         * sysdeps/nptl/internaltypes.h: Adapt.
24820         * nptl/tst-sem13.c (do_test): Adapt.
24821         * nptl/tst-sem11.c (main): Adapt.
24822         * nptl/sem_trywait.c: Remove.
24823         * nptl/DESIGN-sem.txt: Remove.
24824         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24825         (gen-as-const-headers): Remove structsem.sym.
24826         * nptl/structsem.sym: Remove.
24827         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24828         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24829         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24830         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24831         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24832         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24833         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24834         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24835         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24836         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24837         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24838         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24839         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24840         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24841         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24842         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24843         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24844         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24845         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24846         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24847         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24848         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24850 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24852         * INSTALL: Regenerated.
24854         * po/libc.pot: Regenerated.
24856 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24857             Sandra Loosemore  <sandra@codesourcery.com>
24858             Andrew Jenner  <andrew@codesourcery.com>
24859             Joseph Myers  <joseph@codesourcery.com>
24860             Nathan Sidwell  <nathan@codesourcery.com>
24862         * NEWS: Mention new Nios II port.
24863         * sysdeps/nios2/Implies: New file.
24864         * sysdeps/nios2/Makefile: New file.
24865         * sysdeps/nios2/Subdirs: New file.
24866         * sysdeps/nios2/Versions: New file.
24867         * sysdeps/nios2/__longjmp.S: New file.
24868         * sysdeps/nios2/abort-instr.h: New file.
24869         * sysdeps/nios2/backtrace.c: New file.
24870         * sysdeps/nios2/bits/endian.h: New file.
24871         * sysdeps/nios2/bits/fenv.h: New file.
24872         * sysdeps/nios2/bits/link.h: New file.
24873         * sysdeps/nios2/bits/setjmp.h: New file.
24874         * sysdeps/nios2/bsd-_setjmp.S: New file.
24875         * sysdeps/nios2/bsd-setjmp.S: New file.
24876         * sysdeps/nios2/configure: New generated file.
24877         * sysdeps/nios2/configure.ac: New file.
24878         * sysdeps/nios2/crti.S: New file.
24879         * sysdeps/nios2/crtn.S: New file.
24880         * sysdeps/nios2/dl-init.c: New file.
24881         * sysdeps/nios2/dl-machine.h: New file.
24882         * sysdeps/nios2/dl-sysdep.h: New file.
24883         * sysdeps/nios2/dl-tls.h: New file.
24884         * sysdeps/nios2/dl-trampoline.S: New file.
24885         * sysdeps/nios2/gccframe.h: New file.
24886         * sysdeps/nios2/gmp-mparam.h: New file.
24887         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24888         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24889         * sysdeps/nios2/ldsodefs.h: New file.
24890         * sysdeps/nios2/libc-tls.c: New file.
24891         * sysdeps/nios2/libm-test-ulps: New file.
24892         * sysdeps/nios2/machine-gmon.h: New file.
24893         * sysdeps/nios2/math-tests.h: New file.
24894         * sysdeps/nios2/math_private.h: New file.
24895         * sysdeps/nios2/memusage.h: New file.
24896         * sysdeps/nios2/nptl/Makefile: New file.
24897         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24898         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24899         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24900         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24901         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24902         * sysdeps/nios2/nptl/tls.h: New file.
24903         * sysdeps/nios2/preconfigure: New file.
24904         * sysdeps/nios2/s_fma.c: New file.
24905         * sysdeps/nios2/s_fmaf.c: New file.
24906         * sysdeps/nios2/setjmp.S: New file.
24907         * sysdeps/nios2/sfp-machine.h: New file.
24908         * sysdeps/nios2/sotruss-lib.c: New file.
24909         * sysdeps/nios2/stackguard-macros.h: New file.
24910         * sysdeps/nios2/stackinfo.h: New file.
24911         * sysdeps/nios2/start.S: New file.
24912         * sysdeps/nios2/sysdep.h: New file.
24913         * sysdeps/nios2/tls-macros.h: New file.
24914         * sysdeps/nios2/tst-audit.h: New file.
24915         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24916         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24917         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24918         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24919         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24920         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24921         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24922         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24923         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24924         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24925         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24926         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24927         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24928         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24929         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24930         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24931         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24932         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24933         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24934         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24935         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24936         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24937         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24938         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24939         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24940         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24941         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24942         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24943         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24944         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24945         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24946         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24947         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24948         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24949         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24950         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24951         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24952         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24953         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24954         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24955         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24956         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24957         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24958         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24960 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24962         [BZ #17844]
24963         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24964         (getutent): Use weak_alias in non SHARED case
24965         and default_symbol_version in SHARED case.
24966         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24967         (getutent_r, pututline): Likewise.
24968         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24969         (getutid): Likewise.
24970         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24971         (getutid_r): Likewise.
24972         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24973         (getutline): Likewise.
24974         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24975         (getutline_r): Likewise.
24976         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24977         (updwtmp): Likewise.
24979 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24981         [BZ #17848]
24982         * sysdeps/s390/s390-32/memcmp.S
24983         (memcmp_g5): Rename to __memcmp_g5.
24984         * sysdeps/s390/s390-32/memcpy.S
24985         (memcpy_g5): Rename to __memcpy_g5.
24986         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24987         (memcpy_mvcle) Rename to __memcpy_mvcle.
24988         * sysdeps/s390/s390-32/memset.S
24989         (memset_g5): Rename to __memset_g5.
24990         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24991         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24992         and use prefixed functions.
24993         * sysdeps/s390/s390-32/multiarch/memcmp.S
24994         (memcmp_z196): Rename to __memcmp_z196.
24995         (memcmp_z10): Rename to __memcmp_z10.
24996         (memcmp): Set alias to __memcmp_g5.
24997         (bcmp): Set alias to __memcmp_g5.
24998         * sysdeps/s390/s390-32/multiarch/memcpy.S
24999         (memcpy_z196): Rename to __memcpy_z196.
25000         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25001         (memcpy_z10): Rename to __memcpy_z10.
25002         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25003         (memcpy): Set alias to __memcpy_g5.
25004         * sysdeps/s390/s390-32/multiarch/memset.S
25005         (memset_z196): Rename to __memset_z196.
25006         Jump to __memset_mvcle instead of memset_mvcle.
25007         (memset_z10): Rename to __memset_z10.
25008         Jump to __memset_mvcle instead of memset_mvcle.
25009         (memset_mvcle) Rename to __memset_mvcle.
25010         (memset): Set alias to __memset_g5.
25011         * sysdeps/s390/s390-64/memcmp.S
25012         (memcmp_z900): Rename to __memcmp_z900.
25013         * sysdeps/s390/s390-64/memcpy.S
25014         (memcpy_z900): Rename to __memcpy_z900.
25015         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25016         (memcpy_mvcle) Rename to __memcpy_mvcle.
25017         * sysdeps/s390/s390-64/memset.S
25018         (memset_z900): Rename to __memset_z900.
25019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25020         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25021         and use prefixed functions.
25022         * sysdeps/s390/s390-64/multiarch/memcmp.S
25023         (memcmp_z196): Rename to __memcmp_z196.
25024         (memcmp_z10): Rename to __memcmp_z10.
25025         (memcmp): Set alias to __memcmp_z900.
25026         (bcmp): Set alias to __memcmp_z900.
25027         * sysdeps/s390/s390-64/multiarch/memcpy.S
25028         (memcpy_z196): Rename to __memcpy_z196.
25029         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25030         (memcpy_z10): Rename to __memcpy_z10.
25031         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25032         (memcpy): Set alias to __memcpy_z900.
25033         * sysdeps/s390/s390-64/multiarch/memset.S
25034         (memset_z196): Rename to __memset_z196.
25035         Jump to __memset_mvcle instead of memset_mvcle.
25036         (memset_z10): Rename to __memset_z10.
25037         Jump to __memset_mvcle instead of memset_mvcle.
25038         (memset_mvcle) Rename to __memset_mvcle.
25039         (memset): Set alias to __memset_z900.
25041 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25043         [BZ #17748]
25044         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25045         __fesetenv instead of fesetenv.
25047 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25049         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25050         macro.
25052 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25055         regression on LE.
25057         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25058         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25060         strncmp-power8 object.
25061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25062         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25063         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25064         * NEWS: Update.
25066 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25067             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25069         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25070         trailing byte check.
25072 2015-01-13  David S. Miller  <davem@davemloft.net>
25074         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25076 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25078         * login/logout.c (logout): Use memset rather than bzero.
25079         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25080         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25081         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25082         (_gethtbyaddr): Likewise.
25083         * locale/programs/simple-hash.c (bcopy): Macro removed.
25085 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25087         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25088         Add strcmp-power8 object.
25089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25090         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25091         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25092         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25093         __strcmp_power8 implementation.
25094         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25095         * NEWS: Update.
25097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25098         Add strncpy-power8 and stpncpy-power8 objects.
25099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25100         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25101         implementations.
25102         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25103         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25104         __stpncpy_power8 implementation.
25105         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25106         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25107         __strncpy_power8 implementation.
25108         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25109         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25110         * NEWS: Update.
25112         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25113         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25114         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25117         strncat-power8 object.
25118         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25119         __strcat_power8 implementation.
25120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25121         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25122         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25123         optimized strcat for power8.
25125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25126         strcpy-power8 and stpcpy-power8 objects.
25127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25128         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25129         implementations.
25130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25131         multiarch stpcpy implementation for POWER8.
25132         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25133         multiarch strcpy implementation for POWER8.
25134         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25135         __strcpy_power8 function.
25136         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25137         stpcpy for POWER8.
25138         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25139         strcpy for POWER8.
25140         * NEWS: Update.
25142 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25144         [BZ #16009]
25145         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25146         weights and rules. Use do_xfrm_cached if data fits in cache,
25147         do_xfrm otherwise.  Moved former main loop to...
25148         * (do_xfrm_cached): New function.
25149         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25150         find_idx, find_position and stack_push.
25151         * (find_idx): New function.
25152         * (find_position): Likewise.
25153         * localedata/sort-test.sh: Added test run for do_xfrm.
25154         * localedata/xfrm-test.c (main): Added command line option
25155         -nocache to run the test with strings that are too large for
25156         the STRXFRM cache.
25158 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25160         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25161         variable to lll_futex_wake call, not the value itself.
25163 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25165         [BZ #17803]
25166         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25167         twom64.  Adjust value to 0x1p-64L.
25168         (__scalblnl): Only return standard underflowing result for K <=
25169         -64 not K <= -63; adjust exponent for underflowing result by 64
25170         not 63.
25171         * math/libm-test.inc (scalbn_test_data): Add more tests.
25172         (scalbln_test_data): Likewise.
25174         [BZ #17834]
25175         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25176         0x1p63L.
25177         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25178         not HX.
25179         * math/libm-test.inc (scalbn_test_data): Add more tests.
25180         (scalbln_test_data): Likewise.
25182 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25183             Stefani Seibold  <stefani@seibold.net>
25185         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25186         (sysdep_routines): Add dl-vdso here, ...
25187         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25188         (sysdep_routines): ... not here.
25189         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25190         fallback when vDSO is not presented.
25191         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25192         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25193         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25194         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25195         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25196         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25197         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25198         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25199         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25200         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25201         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25202         fallback configurable symbol when vDSO is not available.
25203         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25204         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25205         be able to redefine fallback symbol when vDSO is not available.
25206         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25207         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25209 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25211         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25212         (TLS_INIT_TP): Add tm_capable initialization.
25213         (TLS_DEFINE_INIT_TP): Likewise.
25214         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25215         TCB.
25216         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25217         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25218         calculation.
25219         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25220         transactoion is lock elision is built and TCB tm_capable is set.
25221         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25223         (INTERNAL_SYSCALL_NCS): Likewise.
25224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25225         (INTERNAL_SYSCALL_NCS): Likewise.
25226         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25228         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25229         for powerpc.
25230         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25231         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25232         and remove it for 32 bits case.
25233         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25235         initialization.
25236         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25237         Disable lock elision with rdlocks if elision is not available.
25239         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25240         (sysdep_routines): Add lock elision objects.
25241         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25242         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25243         [pthread_mutex_t] (__elision): Add field.
25244         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25245         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25246         elision definitions for powerpc.
25247         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25248         implementation of lock elision for powerpc.
25249         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25250         implementation of timed lock elision for powerpc.
25251         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25252         implementation of trylock with lock elision for powerpc.
25253         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25254         implementaion of unlock for lock elision for powerpc.
25255         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25256         automatic enable lock elision for mutexes.
25257         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25258         transaction execution definitions for powerpc.
25259         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25260         definitions.
25261         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25262         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25264         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25265         * NEWS: Update.
25267 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25269         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25270         for #include of <shm-directory.h>.
25272 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25274         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25275         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25277 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25279         [BZ #17791]
25280         * NEWS: Mention bug fix.
25281         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25282         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25283         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25285 2015-01-09  Torvald Riegel <triegel@redhat.com>
25287         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25289 2015-01-09  Torvald Riegel <triegel@redhat.com>
25291         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25293 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25295         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25296         pointer and cast to uintptr_t.
25298 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25300         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25301         removed.
25302         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25304 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25306         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25307         of 0.
25309 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25311         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25312         <nptl/pthreadP.h> instead.
25313         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25315         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25316         already defined.
25317         [__SIGRTMIN] (init): Function removed.
25318         [__SIGRTMIN] (initialized): Variable removed.
25319         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25320         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25321         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25322         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25323         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25324         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25325         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25326         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25327         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25328         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25329         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25330         * sysdeps/nptl/allocrtsig.c: New file.
25331         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25332         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25333         * sysdeps/generic/testrtsig.h: File removed.
25335         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25336         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25338         * nptl/nptl-init.c (pthread_functions): Conditionalize
25339         .ptr__nptl_setxid initialization on [SIGSETXID].
25341         * sysdeps/nptl/sys/procfs.h: New file.
25342         * nptl_db/Makefile (headers): Add it.
25343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25345         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25346         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25347         * nptl/pthread_attr_setaffinity.c: Include it.
25348         * nptl/pthread_setattr_default_np.c: Likewise.
25349         * nptl/check-cpuset.h: New file.
25351 2015-01-08  Richard Henderson  <rth@redhat.com>
25353         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25354         (CFLAGS-tst-execstack-prog.c): Likewise.
25355         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25357 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25358             Sandra Loosemore  <sandra@codesourcery.com>
25359             Andrew Jenner  <andrew@codesourcery.com>
25360             Joseph Myers  <joseph@codesourcery.com>
25361             Nathan Sidwell  <nathan@codesourcery.com>
25363         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25364         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25365         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25366         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25367         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25368         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25369         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25370         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25371         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25372         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25373         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25374         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25375         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25376         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25377         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25378         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25379         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25381 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25383         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25384         timespec struct member in syscall macro.
25385         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25386         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25387         first timeval struct member in syscall macro.
25388         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25390 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25392         [BZ #17748]
25393         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25394         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25395         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25396         __feupdateenv and define as weak alias of __feupdateenv.  Use
25397         libm_hidden_weak.
25398         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25399         libm_hidden_def.
25400         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25401         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25402         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25403         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25404         libm_hidden_def.
25405         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25406         __feupdateenv and define as weak alias of __feupdateenv.  Use
25407         libm_hidden_weak.
25408         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25409         libm_hidden_def.
25410         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25411         __feupdateenv and define as weak alias of __feupdateenv.  Use
25412         libm_hidden_weak.
25413         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25414         libm_hidden_def.
25415         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25416         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25417         (__feupdateenv): Likewise.
25418         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25419         __feupdateenv and define as weak alias of __feupdateenv.  Use
25420         libm_hidden_weak.
25421         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25422         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25423         libm_hidden_def.
25424         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25425         function.
25426         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25427         libm_hidden_def.
25428         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25429         __feupdateenv instead of feupdateenv.
25430         (default_libc_feupdateenv_test): Likewise.
25431         (libc_feresetround_ctx): Likewise.
25433 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25435         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25436         prototype.
25438 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25440         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25441         COLL_SYM in a couple of places to avoid uninitialized variable
25442         wanings on tilegx gcc 4.8.2.
25444 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25446         * sysdeps/aarch64/strcpy.S: New file.
25447         * sysdeps/aarch64/stpcpy.S: New file.
25448         * NEWS: Updated.
25450 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25452         * sysdeps/aarch64/strrchr.S: New file.
25453         * NEWS: Updated.
25455 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25457         [BZ #17658]
25458         * stdlib/setenv.c: Fix memory leak when setting large,
25459         duplicate string.
25461 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25463         [BZ #17273]
25464         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25465         and tabs from buffer before parsing fstab entry.
25466         * misc/tst-mntent.c (main): Add test for mount entry with
25467         trailing spaces and tabs.
25469 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25471         [BZ #17748]
25472         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25473         * math/fesetround.c (fesetround): Rename to __fesetround and
25474         define as weak alias of __fesetround.  Use libm_hidden_weak.
25475         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25476         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25477         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25478         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25479         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25480         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25481         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25482         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25483         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25484         __fesetround_inline.
25485         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25486         __fesetround_inline instead of __fesetround.
25487         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25488         __fesetround and define as weak alias of __fesetround.  Use
25489         libm_hidden_weak.  Call __fesetround_inline instead of
25490         __fesetround.
25491         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25492         __fesetround and define as weak alias of __fesetround.  Use
25493         libm_hidden_weak.
25494         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25495         Likewise.
25496         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25497         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25498         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25499         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25500         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25501         __fesetround and define as weak alias of __fesetround.  Use
25502         libm_hidden_weak.
25503         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25504         __fesetround instead of fesetround.
25505         (default_libc_feholdexcept_setround): Likewise.
25506         (libc_feholdsetround_ctx): Likewise.
25507         (libc_feholdsetround_noex_ctx): Likewise.
25509         [BZ #17748]
25510         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25511         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25512         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25513         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25514         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25515         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25516         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25517         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25518         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25519         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25520         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25521         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25522         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25523         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25524         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25525         libm_hidden_def.
25526         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25528         Likewise.
25529         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25530         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25531         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25532         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25533         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25534         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25535         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25536         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25537         __fesetenv instead of fesetenv.
25538         (libc_feresetround_noex_ctx): Likewise.
25539         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25540         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25541         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25542         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25543         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25544         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25545         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25546         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25547         (__feupdateenv): Likewise.
25548         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25549         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25550         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25551         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25553 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25555         [BZ #17806]
25556         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25557         addresses have been freed.
25559 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25561         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25562         and nservall.
25564 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25566         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25567         Clean up check_pf allocation pattern. addresses
25569 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25571         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25572         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25573         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25574         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25575         * nptl/pthread_join.c (pthread_join): Likewise.
25576         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25577         * sysdeps/posix/waitid.c (__waitid): Likewise.
25578         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25579         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25580         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25581         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25582         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25583         Likewise.
25584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25585         (__libc_pread64): Likewise.
25586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25587         (__libc_pwrite): Likewise.
25588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25589         (__libc_pwrite64): Likewsie.
25590         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25591         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25592         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25593         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25594         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25595         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25596         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25598         Likewise.
25599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25600         (__libc_pread64): Likewise.
25601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25602         Likewise.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25604         (__libc_pwrite64): Likewise.
25605         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25606         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25607         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25608         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25609         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25610         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25611         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25612         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25613         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25614         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25615         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25616         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25617         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25618         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25619         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25620         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25621         Likewise.
25623 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25625         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25626         (CFLAGS-test-double.c): Likewise.
25627         (CFLAGS-test-ldouble.c): Likewise.
25628         (CPPFLAGS-test-ifloat.c): Likewise.
25629         (CPPFLAGS-test-idouble.c): Likewise.
25630         (CPPFLAGS-test-ildoubl.c): Likewise.
25631         (CFLAGS-test-test-fenv.c): Remove variable.
25632         (CFLAGS-test-misc.c): Likewise.
25634 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25636         [BZ #17797]
25637         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25638         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25639         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25640         CLOCKS_PER_SEC == 1000000.
25641         * time/clocktest.c (main): Replace %ld with %jd and cast to
25642         intmax_t.
25644 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25646         * sysdeps/generic/unwind-resume.h: New file.
25647         * sysdeps/gnu/unwind-resume.c: Include it.
25648         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25649         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25650         argument list.
25651         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25652         global rather than static.
25653         (_Unwind_Resume): Update user.
25654         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25655         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25656         rather than static.  Add __attribute__ ((cold)).
25657         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25658         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25659         * sysdeps/arm/arm-unwind-resume.S: New file.
25660         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25661         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25662         * sysdeps/arm/Makefile [$(subdir) = csu]
25663         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25664         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25665         Add rt-arm-unwind-resume.
25666         [$(subdir) = nptl]
25667         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25668         Add pt-arm-unwind-resume.
25669         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25670         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25672 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25674         [BZ #17748]
25675         * include/fenv.h (__feholdexcept): Declare.  Use
25676         libm_hidden_proto.
25677         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25678         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25679         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25680         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25681         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25682         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25683         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25684         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25685         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25686         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25687         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25688         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25689         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25690         (feholdexcept): Likewise.
25691         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25692         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25693         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25694         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25695         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25696         __feholdexcept instead of feholdexcept.
25697         (default_libc_feholdexcept_setround): Likewise.
25699 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25701         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25702         to avoid using stl/str to align destination.
25704 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25706         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25708 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25710         [BZ #17796]
25711         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25712         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25713         Define as weak alias not strong alias.
25715 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25717         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25718         bltzal with addiupc.
25719         (RTLD_START): Ditto.
25721 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25723         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25724         for __vdso_* functions in declarations.
25725         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25726         definitions.
25727         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25728         INTERNAL_VSYSCALL): Use struct return types to check for error.
25730         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25731         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25732         function with cast from llround().
25733         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25734         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25735         Define.
25737 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25739         [BZ #17793]
25740         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25741         Define as weak alias not strong alias.
25743         [BZ #17635]
25744         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25745         ...
25746         * ctype/ctype-extn.c: ... here.
25747         (__isblank_l): Move to ...
25748         * ctype/ctype-c99_l.c: ... here.  New file.
25749         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25750         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25751         Remove variable.
25752         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25753         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25754         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25755         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25756         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25758         [BZ #17777]
25759         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25760         (posix_fadvise64): Define as weak alias not strong alias.
25761         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25762         (posix_fallocate64): Likewise.
25763         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25764         Remove variable.
25765         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25766         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25767         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25768         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25769         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25771 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25773         [BZ #16191]
25774         * NEWS: Mention bug fix.
25775         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25776         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25777         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25778         (HOST_STACK_END_ADDR): Likewise.
25780 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25782         [BZ #17748]
25783         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25784         * math/fegetround.c (fegetround): Rename to __fegetround and
25785         define as weak alias of __fegetround.  Use libm_hidden_weak.
25786         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25787         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25788         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25789         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25790         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25791         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25792         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25793         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25794         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25795         Undefine after rather than before function definition; use
25796         parentheses around function name in definition.
25797         (__fegetround): Also undefine macro after function definition.
25798         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25799         __fegetround and define as weak alias of __fegetround.  Use
25800         libm_hidden_weak.  Do not undefine as macro.
25801         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25802         Likewise.
25803         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25804         __fegetround and define as weak alias of __fegetround.  Use
25805         libm_hidden_weak.
25806         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25807         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25808         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25809         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25810         __fegetround and define as weak alias of __fegetround.  Use
25811         libm_hidden_weak.
25812         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25813         __fegetround instead of fegetround.
25815         [BZ #17782]
25816         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25817         Condition macro definition on [__USE_MISC].
25819         [BZ #17781]
25820         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25821         (struct sigaction): Change type of sa_flags field to int.
25823         [BZ #17780]
25824         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25825         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25826         __glibc_reserved0.
25828         * nptl/version.c (banner): Use single year in copyright notice.
25830         * NEWS: Update copyright dates.
25831         * catgets/gencat.c (print_version): Likewise.
25832         * csu/version.c (banner): Likewise.
25833         * debug/catchsegv.sh: Likewise.
25834         * debug/pcprofiledump.c (print_version): Likewise.
25835         * debug/xtrace.sh (do_version): Likewise.
25836         * elf/ldconfig.c (print_version): Likewise.
25837         * elf/ldd.bash.in: Likewise.
25838         * elf/pldd.c (print_version): Likewise.
25839         * elf/sotruss.sh: Likewise.
25840         * elf/sprof.c (print_version): Likewise.
25841         * iconv/iconv_prog.c (print_version): Likewise.
25842         * iconv/iconvconfig.c (print_version): Likewise.
25843         * locale/programs/locale.c (print_version): Likewise.
25844         * locale/programs/localedef.c (print_version): Likewise.
25845         * login/programs/pt_chown.c (print_version): Likewise.
25846         * malloc/memusage.sh (do_version): Likewise.
25847         * malloc/memusagestat.c (print_version): Likewise.
25848         * malloc/mtrace.pl: Likewise.
25849         * manual/libc.texinfo: Likewise.
25850         * nptl/version.c (banner): Likewise.
25851         * nscd/nscd.c (print_version): Likewise.
25852         * nss/getent.c (print_version): Likewise.
25853         * nss/makedb.c (print_version): Likewise.
25854         * posix/getconf.c (main): Likewise.
25855         * scripts/test-installation.pl: Likewise.
25856         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25858 2015-01-02  Will Newton  <will.newton@linaro.org>
25860         * sysdeps/arm/armv7/configure: Removed.
25861         * sysdeps/arm/armv7/configure.ac: Likewise.
25863 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25865         * All files with FSF copyright notices: Update copyright dates
25866         using scripts/update-copyrights.
25867         * intl/plural.c: Regenerated.
25868         * locale/programs/charmap-kw.h: Likewise.
25869         * locale/programs/locfile-kw.h: Likewise.
25871 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25873         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25875 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25877         [BZ #17748]
25878         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25879         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25880         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25881         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25882         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25883         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25884         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25885         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25886         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25887         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25888         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25889         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25890         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25891         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25892         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25893         libm_hidden_def.
25894         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25895         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25896         Likewise.
25897         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25898         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25899         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25900         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25901         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25902         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25903         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25904         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25905         __fegetenv instead of fegetenv.
25906         (libc_feholdsetround_noex_ctx): Likewise.
25908 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25910         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25911         (Elf_MIPS_ABIFlags_v0): New structure.
25912         (EF_MIPS_FP64): Define.
25913         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25914         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25915         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25916         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25917         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25918         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25919         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25920         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25921         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25922         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25923         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25924         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25925         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25926         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25927         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25928         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25929         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25930         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25931         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25932         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25933         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25934         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25935         field.
25936         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25937         EF_MIPS_FP64.
25938         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25939         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25940         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25941         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25942         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25943         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25944         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25945         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25946         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25947         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25948         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25949         record the current FP ABI extension.
25950         (mips-mode-switch): Define to show if kernel headers support mode
25951         switching.
25952         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25953         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25954         supported SYSV ABI version to 3.
25955         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25956         feature.
25958 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25959             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25961         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25962         path.
25963         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25965 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25967         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25968         __fegetround and redefine to call __fegetround.  Remove condition
25969         on [!__NO_MATH_INLINES].
25970         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25971         function.
25972         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25973         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25974         Remove macro.
25975         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25976         instead of <fenv_libc.h>.
25977         (__llrintl): Call fegetround instead of __fegetround.
25978         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25979         instead of <fenv_libc.h>.
25980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25981         (__lrintl): Call fegetround instead of __fegetround.
25982         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25983         instead of <fenv_libc.h>.
25984         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25985         (__rintl): Call fegetround instead of __fegetround.
25987 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25989         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25990         arrays.
25992 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25994         [BZ #17775]
25995         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25996         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25997         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25999 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26001         * sysdeps/i386/tls-macros.h: Include <features.h>.
26002         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26003         (TLS_IE): Likewise.
26004         (TLS_LD): Likewise.
26005         (TLS_GD): Likewise.
26006         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26007         define for GCC >= 5.0.
26009 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26011         * math/test-fenv.c (test_single_exception, set_single_exc,
26012         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26013         feexcp_mask_test, feenable_test, fe_single_test): Add
26014         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26015         case where they are not used.
26016         * math/libm-test.inc: Likewise.
26017         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26018         unused in the absence of FP rounding/exception support.
26019         * stdio-common/tst-printf-round.c: Likewise.
26020         * stdlib/tst-strtod-round.c: Likewise.
26021         * stdlib/tst-strtod-underflow.c: Likewise.
26023 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26025         [BZ #17723]
26026         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26027         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26028         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26029         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26030         libm_hidden_weak.
26031         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26032         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26033         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26034         libm_hidden_def.
26035         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26036         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26037         libm_hidden_weak.
26038         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26039         Likewise.
26040         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26041         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26042         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26043         libm_hidden_weak.
26044         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26045         libm_hidden_def.
26046         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26047         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26048         (__feraiseexcept): Likewise.
26049         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26050         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26051         libm_hidden_weak.
26052         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26053         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26054         libm_hidden_def.
26055         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26056         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26057         Use libm_hidden_def.
26058         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26059         libm_hidden_def.
26060         (feraiseexcept): Define as weak not strong alias.  Use
26061         libm_hidden_weak.
26062         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26063         New inline function.  Factored out of ...
26064         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26065         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26066         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26067         feraiseexcept.
26068         * math/w_acos.c (__acos): Likewise.
26069         * math/w_asin.c (__asin): Likewise.
26070         * math/w_ilogb.c (__ilogb): Likewise.
26071         * math/w_j0.c (y0): Likewise.
26072         * math/w_j1.c (y1): Likewise.
26073         * math/w_jn.c (yn): Likewise.
26074         * math/w_log.c (__log): Likewise.
26075         * math/w_log10.c (__log10): Likewise.
26076         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26077         * sysdeps/aarch64/fpu/math_private.h
26078         (libc_feupdateenv_test_aarch64): Likewise.
26079         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26080         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26081         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26082         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26083         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26084         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26085         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26086         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26087         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26088         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26090 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26092         [BZ #17732]
26093         * io/test-utime.c (main): Replace %ld with %jd and cast to
26094         intmax_t.
26095         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26096         * nptl/tst-mutex5.c: Include <stdint.h>.
26097         (do_test): Replace %ld with %jd and cast to intmax_t.
26098         * posix/tst-regex.c (run_test): Likewise.
26099         (run_test_backwards): Likewise.
26100         * rt/tst-clock.c: Include <stdint.h>.
26101         (clock_test): Replace %ld with %jd and cast to intmax_t.
26102         * rt/tst-cpuclock1.c: Include <stdint.h>.
26103         (do_test): Replace %lu with %ju and cast to uintmax_t.
26104         * rt/tst-cpuclock2.c: Include <stdint.h>.
26105         (do_test): Replace %lu with %ju and cast to uintmax_t.
26106         * rt/tst-mqueue1.c: Include <stdint.h>.
26107         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26108         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26109         intmax_t.
26110         * rt/tst-mqueue4.c (do_test): Likewise.
26111         * rt/tst-timer4.c: Include <stdint.h>.
26112         (check_ts): Replace %ld with %jd and cast to intmax_t.
26113         (do_test): Likewise.
26114         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26115         and cast to intmax_t.
26116         * sysdeps/pthread/tst-timer.c (main): Likewise.
26117         * time/clocktest.c (main): Likewise.
26118         * time/tst-posixtz.c (do_test): Likewise.
26119         * timezone/tst-timezone.c (main): Likewise.
26121 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26122             H.J. Lu  <hongjiu.lu@intel.com>
26124         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26125         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26126         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26127         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26128         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26129         version if bit_Fast_Unaligned_Load is set.
26130         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26131         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26132         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26135         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26137         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26138         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26139         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26140         to 4.
26141         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26142         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26143         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26144         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26146 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26148         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26149         instead of #if to avoid a Wundef warning.
26150         * stdlib/tst-limits.c (do_test): Likewise.
26152         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26153         parallel other exception macros.
26154         (fegetenv): Convert from macro to extern inline so that it applies
26155         retroactively to inline functions already seen by the compiler.
26156         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26158         * posix/Makefile (before-compile): Use $(objpfx) for
26159         posix-conf-vars-def.h.
26161 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26163         * posix/getconf.c (main): Use size_t for type of I.
26164         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26165         NSPEC.
26167         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26168         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26169         * posix/posix-envs.def: Likewise.
26170         * sysdeps/posix/sysconf.c: Likewise.
26171         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26172         (specs): Remove array.
26173         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26174         array.
26176         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26177         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26178         (__sysconf): Use CONF_IS_* macros.
26180         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26181         ($(objpfx)posix-conf-vars-def.h): New target.
26182         * posix/posix-conf-vars.list: New file.
26183         * posix/posix-conf-vars.h: New file.
26184         * posix/confstr.c: Include posix-conf-vars.h.
26185         (confstr): Use CONF_IS_* macros.
26186         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26187         CONF_IS_* macros.
26188         * scripts/gen-posix-conf-vars.awk: New file.
26190 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26192         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26193         fegetround): Add no-op macros to avoid linknamespace issues.
26195         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26196         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26198         * sysdeps/unix/sysv/linux/tile/sysdep.h
26199         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26200         assembly-specific section to avoid a redefinition warning.
26202         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26203         long before casting to pointer to avoid a cast warning.
26205 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26207         * sysdeps/tile/tilegx/Implies: New file.
26209 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26211         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26213 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26215         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26217 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26220         not define.
26221         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26222         <kernel-features.h>.
26223         (__utimes) [__NR_utimes]: Make code unconditional.
26224         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26225         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26226         (__ASSUME_UTIMES): Do not undefine.
26227         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26228         (__ASSUME_UTIMES): Likewise.
26229         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26230         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26231         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26232         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26234 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26236         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26238 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26240         [BZ #17747]
26241         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26242         alias to weak alias for j0l, y0l.
26243         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26244         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26246         [BZ #17746]
26247         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26248         conversion.
26250 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26252         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26253         to zero if not already defined.
26255 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26257         [BZ #17724]
26258         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26259         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26260         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26261         (char *) casts added.
26262         * sysdeps/ieee754/k_standardf.c: New file.
26263         * sysdeps/ieee754/k_standardl.c: Likewise.
26264         * math/Makefile (libm-support): Remove k_standard.
26265         (libm-calls): Add k_standard.
26267 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26269         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26270         Optimize to avoid an unnecessary FPCR read.
26272 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26274         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26275         Optimize to reduce FPCR/FPSR accesses.
26277 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26279         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26280         Call libc_fetestexcept_aarch64.
26282 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26284         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26285         Call libc_fesetround_aarch64.
26287 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26289         [BZ #17733]
26290         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26291         (__bind): Do not define as weak alias.
26292         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26293         define.
26294         (__getsockname): Do not define as weak alias.
26296 2014-12-22  Will Newton  <will.newton@linaro.org>
26298         * manual/install.texi: Document that we require bison 2.7
26299         or above.
26300         * INSTALL: Regenerate.
26301         * configure.ac: Use AC_CHECK_PROG_VER instead of
26302         AC_PATH_PROG when checking for bison and check for
26303         version 2.7 or above.
26304         * configure: Regenerate.
26306 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26308         [BZ #17745]
26309         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26310         * sysdeps/tile/ffsll.c (ffsll): To here.
26312         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26314 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26316         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26317         if not defined.
26318         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26319         definition.
26320         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26321         hidden ___tls_get_addr.
26322         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26323         hidden __tls_get_addr.
26324         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26325         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26326         Likewise.
26328 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26330         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26331         _dl_init call.
26333 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26335         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26336         from "call _dl_init@PLT".
26337         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26339 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26341         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26342         guarantees.
26344 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26346         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26348 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26350         [BZ #17744]
26351         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26352         strnlen.
26354 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26356         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26357         of multu on MIPSr6.
26358         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26359         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26360         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26361         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26362         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26364 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26366         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26367         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26368         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26369         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26370         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26371         mips32r6/mips64r6.
26372         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26374 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26376         * string/strncat.c (STRNCAT): Simplify implementation.
26378 2014-12-19  David S. Miller  <davem@davemloft.net>
26380         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26381         access the quad as both a long double and as a series of 4 words.
26383         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26384         link_map->l_info array access.
26386 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26388         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26390         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26391         * math/atest-exp2.c (TIMEOUT): Likewise.
26392         * math/atest-sincos.c (TIMEOUT): Likewise.
26394 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26396         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26397         -Wno-error with -fno-builtin-lround.
26399 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26401         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26402         Contains futex constants and functions moved over from ...
26403         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26404         <lowlevellock-futex.h>.
26405         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26406         (lll_timedwait_tid): Add comments and parentheses around macro
26407         arguments.
26409 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26412         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26413         (__lll_private_flag): Remove.
26414         (lll_futex_wait): Likewise.
26415         (lll_futex_timed_wait): Likewise.
26416         (lll_futex_wake): Likewise.
26417         (lll_futex_requeue): Likewise.
26418         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26419         (__lll_timedwait_tid): Spell out argument names.
26420         (lll_timedwait_tid): Add comments and parentheses around macro
26421         arguments.
26422         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26423         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26425 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26427         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26428         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26429         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26430         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26431         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26432         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26433         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26434         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26435         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26436         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26437         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26438         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26439         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26440         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26441         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26442         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26443         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26444         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26445         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26447 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26449         * sysdeps/x86_64/x32/Makefile: New file.
26451 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26453         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26454         1L with (mp_limb_t) 1.
26456 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26458         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26459         * nptl/libc_pthread_init.c: ... here.
26460         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26461         * nptl/register-atfork.c: ... here.
26463         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26464         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26465         Use assert_perror to check its return value.
26466         (__gai_create_helper_thread): Likewise.
26468         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26470         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26472 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26474         [BZ #17725]
26475         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26476         __profil_counter.
26477         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26478         Likewise.
26479         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26480         Likewise.
26481         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26482         Likewise.
26483         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26484         (profil_counter): Likewise.
26485         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26486         (profil_counter): Likewise.
26487         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26488         Likewise.
26489         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26490         Likewise.
26491         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26492         (profil_counter): Likewise.
26493         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26494         Likewise.
26495         [!__profil_counter] (profil_counter): Define as weak alias of
26496         __profil_counter.
26497         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26498         (profil_counter): Rename to __profil_counter.
26499         [!__profil_counter] (profil_counter): Define as weak alias of
26500         __profil_counter.
26501         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26502         (profil_counter): Rename to __profil_counter.
26503         [!__profil_counter] (profil_counter): Define as weak alias of
26504         __profil_counter.
26505         * sysdeps/posix/profil.c: Update comment referring to
26506         profil_counter.
26507         (__profil): Use __profil_counter instead of profil_counter.
26508         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26509         __profil_counter.  Use __profil_counter_ushort and
26510         __profil_counter_uint in definitions.
26511         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26512         instead of profil_counter_uint and profil_counter_ushort.
26514         [BZ #17722]
26515         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26516         define as weak alias of __inet_makeaddr.
26517         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26518         as weak alias of __inet_addr.
26519         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26520         as weak alias of __inet_pton.  Use libc_hidden_weak.
26521         * include/arpa/inet.h (__inet_pton): Declare.  Use
26522         libc_hidden_proto.
26523         (inet_makeaddr): Don't use libc_hidden_proto.
26524         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26525         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26526         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26527         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26528         Remove variable.
26529         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26530         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26532 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26534         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26536 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26538         * stdio-common/bug-vfprintf-nargs.c (do_test):
26539         Cast value to intptr_t to avoid format warning
26540         for usage with PRIdPTR printing macro.
26542 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26544         * libio/tst-widetext.c (do_test):
26545         Use format type %td instead of %Zd for ptrdiff_t
26546         in order to avoid format warning.
26548 2014-12-17  Andreas Schwab  <schwab@suse.de>
26550         * nscd/mem.c (gc): Add size_t cast to match printf format.
26552 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26554         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26555         (init): Apply PTR_MANGLE to pointers before storing them.
26556         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26557         before using them.
26559 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26561         [BZ #17719]
26562         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26563         define as weak alias of __memrchr.
26564         (__memrchr): Do not define as strong alias of memrchr.
26565         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26566         Remove variable.
26567         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26568         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26569         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26571         [BZ #17717]
26572         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26573         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26574         (if_indextoname): Rename to __if_indextoname and define as weak
26575         alias of __if_indextoname.  Use libc_hidden_weak.
26576         (if_freenameindex): Rename to __if_freenameindex and define as
26577         weak alias of __if_freenameindex.
26578         (if_nameindex): Rename to __if_nameindex and define as weak alias
26579         of __if_nameindex.
26580         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26581         __if_nametoindex and define as weak alias of __if_nametoindex.
26582         Use libc_hidden_weak.
26583         (if_freenameindex): Rename to __if_freenameindex and define as
26584         weak alias of __if_freenameindex.
26585         (if_nameindex): Rename to __if_nameindex and define as weak alias
26586         of __if_nameindex.
26587         (if_indextoname): Rename to __if_indextoname and define as weak
26588         alias of __if_indextoname.  Use libc_hidden_weak.
26589         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26590         __if_nametoindex and define as weak alias of __if_nametoindex.
26591         Use libc_hidden_weak.
26592         (if_freenameindex): Rename to __if_freenameindex and define as
26593         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26594         (if_nameindex_netlink): Use __if_freenameindex instead of
26595         if_freenameindex.
26596         (if_nameindex): Rename to __if_nameindex and define as weak alias
26597         of __if_nameindex.  Use libc_hidden_weak.
26598         (if_indextoname): Rename to __if_indextoname and define as weak
26599         alias of __if_indextoname.  Use libc_hidden_weak.
26600         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26601         libc_hidden_proto.
26602         [!_ISOMAC] (__if_freenameindex): Likewise.
26603         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26604         if_nametoindex.
26605         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26606         variable.
26607         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26608         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26609         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26610         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26611         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26612         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26613         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26615         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26616         Remove variable.
26617         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26618         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26620 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26622         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26623         subscript above bounds'
26625         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26626         bounds.
26628 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26630         * libio/tst-fopenloc.c: Use test-skeleton.c.
26632         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26633         (entry): Rename to ITEM.
26634         (do_test, comp): Adjust.
26636         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26638 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26640         * string/tester.c: Include <libc-internal.h>.
26641         (test_memset): Ignore -Wmemset-transposed-args.
26643 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26645         * misc/tst-mntent2.c (do_test): Fix warning.
26647 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26649         * elf/tst-unique4lib.cc(a): Mark as used.
26651 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26653         [BZ #17630]
26654         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26655         names.
26657 2014-12-16  Allan McRae  <allan@archlinux.org>
26659         * stdio-common/Makefile (tests): Re-add bug26.
26661 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26663         [BZ #17657]
26664         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26665         static array.
26667 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26669         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26670         (__lll_lock_wait): Likewise.
26671         (__lll_timedlock_wait): Likewise.
26672         (__lll_timedwait_tid): Likewise.
26673         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26674         (__lll_robust_timedlock_wait): Likewise.
26675         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26676         (lll_cond_trylock): Likewise.
26677         (__lll_lock): Likewise.
26678         (__lll_robust_lock): Likewise.
26679         (__lll_cond_lock): Likewise.
26680         (lll_robust_cond_lock): Likewise.
26681         (__lll_timedlock): Likewise.
26682         (__lll_robust_timedlock): Likewise.
26683         (__lll_unlock): Likewise.
26684         (__lll_robust_unlock): Likewise.
26685         (lll_wait_tid): Likewise.
26686         (lll_timedwait_tid): Likewise.
26688 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26690         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26692 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26694         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26696 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26698         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26699         * stdio-common/tst-sprintf.c: Likewise.
26701 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26703         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26705 2014-12-15  Jeff Law  <law@redhat.com>
26707         [BZ #16617]
26708         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26709         on the heap.  (CVE-2012-3406)
26710         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26711         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26712         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26714 2014-12-15  Will Newton  <will.newton@linaro.org>
26716         * manual/install.texi: Bump required version of texinfo
26717         to 4.7 from 4.5.
26718         * INSTALL: Regenerated.
26719         * configure.ac: Check for makeinfo version 4.7 and above.
26720         * configure: Regenerated.
26722 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26724         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26725         PREFIX, string constant to insert between directory and name.
26726         * sysdeps/posix/shm_open.c: Update caller.
26727         * sysdeps/posix/shm_unlink.c: Likewise.
26728         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26729         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26730         (SEM_SHM_PREFIX): New macro.
26731         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26732         [$(have-thread-library) = no].
26733         * nptl/Makefile (libpthread-routines): Add shm-directory.
26734         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26735         * sysdeps/nptl/shm-directory.h: New file.
26736         * sysdeps/posix/shm-directory.c
26737         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26738         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26739         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26740         INTERNAL_SYSCALL.
26741         (__where_is_shmfs): Function removed.
26742         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26743         Variables removed.
26744         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26745         Use SHM_GET_NAME.
26746         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26748         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26749         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26750         unconditional for use inside libpthread.
26751         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26753 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26755         * nptl/pthread_getaffinity.c: New file.
26756         * nptl/pthread_setaffinity.c: New file.
26757         * nptl/pthread_getname.c: New file.
26758         * nptl/pthread_setname.c: New file.
26760         * nptl/pthread_create.c (START_THREAD_DEFN)
26761         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26763 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26764             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26766         * resolv/res_send.c (send_vc): Disable warning resplen may
26767         be used uninitialized.
26769 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26771         * nptl/tst-mutex6.c
26772         (ATTR_NULL): New define checks ATTR against NULL.
26773         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26774         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26776 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26778         [BZ #17581]
26779         * malloc/hooks.c
26780         (mem2mem_check): Revert my previous change.
26781         (malloc_check_get_size): Revert my previous change.
26782         (mem2chunk_check): Revert my previous change.
26784 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26786         * sysdeps/posix/shm-directory.c: New file.
26787         * sysdeps/posix/shm-directory.h: New file.
26788         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26789         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26790         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26791         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26792         Transmute EPERM to EACCES.
26793         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26794         from ...
26795         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26796         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26798 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26800         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26801         pointer and cast to uintptr_t.
26802         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26803         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26804         Add cast to avoid warning.
26805         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26807 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26809         * nptl/semaphore.h: Move to ...
26810         * sysdeps/pthread/semaphore.h: ... here.
26811         * Makefile (installed-headers): Change nptl/semaphore.h to
26812         sysdeps/pthread/semaphore.h.
26814 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26816         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26817         generated error format strings.
26819         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26820         -Wformat-extra-args warnings for scanf formats.
26821         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26822         test of zero-length format (duh).
26823         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26824         corner-case scanf format test.
26825         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26826         generated fprintf format string.
26827         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26828         corner-case sprintf format tests.
26829         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26830         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26831         -Wformat-extra-args warnings throughout.
26832         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26833         (CFLAGS-scanf4.c): Likewise.
26834         (CFLAGS-scanf7.c): Likewise.
26835         (CFLAGS-tst-sprintf.c): Likewise.
26836         (CFLAGS-tst-printf.c): Likewise.
26837         (CFLAGS-tst-printfsz.c): Likewise.
26839 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26841         * include/cpio.h: New file.
26842         * include/fmtmsg.h: Likewise.
26844         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26845         corresponding format argument to size_t.
26846         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26847         arguments.
26848         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26849         corresponding format argument to size_t.
26850         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26851         arguments.
26852         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26853         corresponding format argument to size_t.
26854         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26855         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26856         (CFLAGS-tst-mbswcs2.c): Likewise.
26857         (CFLAGS-tst-mbswcs3.c): Likewise.
26858         (CFLAGS-tst-mbswcs4.c): Likewise.
26859         (CFLAGS-tst-mbswcs5.c): Likewise.
26860         (CFLAGS-tst-trans.c): Likewise.
26862 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26864         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26865         rather than assuming they won't contain any '%'s.
26867 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26869         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26870         inhibit_loop_to_libcall to avoid recursive calls.
26871         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26872         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26874 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26876         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26877         prototype.
26879 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26881         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26882         integer value instead of boolean.
26884 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26886         * malloc/malloc.c: Fix powerof2 check.
26888 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26890         * locale/programs/locfile.h (maybe_swap_uint32):
26891         Remove inline and add unused attribute.
26893 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26896         Truncating assembler expression to a .long expression.
26898 2014-12-11  Andreas Schwab  <schwab@suse.de>
26900         * elf/rtld.c (struct map_args): Constify str member.
26901         (do_preload): Constify fname argument.
26903 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26906         constants definition.
26908 2014-12-11  Andreas Schwab  <schwab@suse.de>
26910         [BZ #16657]
26911         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26912         FORCE_ELISION instead of DO_ELISION.
26913         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26914         Remove.
26915         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26916         Likewise.
26918         * iconvdata/gconv-modules: Remove duplicate entry.
26920 2014-12-11  Will Newton  <will.newton@linaro.org>
26922         Merge gettext 0.19.3 into intl/.
26924         This involves a number of cosmetic changes to comments
26925         and ANSI function definitions and prototypes throughout
26926         all the files. The gettext copyright header is used but
26927         with the date ranges taken from the glibc copy.
26929         * NEWS: Add gettext merge to 2.21.
26930         * intl/bindtextdom.c: Switch to gettext copyright.
26931         Use ANSI definitions and prototypes.
26932         Use gl_* locking primitives rather than __libc_* ones.
26933         Use __builtin_expect rather than __glibc_likely/unlikely.
26934         * intl/dcgettext.c: Switch to gettext copyright.
26935         Use ANSI definitions and prototypes.
26936         * intl/dcigettext.c: Switch to gettext copyright.
26937         Use ANSI definitions and prototypes.
26938         (INTDIV0_RAISES_SIGFPE): New define.
26939         Use gl_* locking primitives rather than __libc_* ones.
26940         Include eval-plural.h instead of plural-eval.c.
26941         Use __builtin_expect rather than __glibc_likely/unlikely.
26942         * intl/dcngettext.c: Switch to gettext copyright.
26943         Use ANSI definitions and prototypes.
26944         * intl/dgettext.c: Likewise.
26945         * intl/dngettext.c: Likewise.
26946         * intl/plural-eval.c: Renamed to...
26947         * intl/eval-plural.h: ...this.
26948         * intl/explodename.c: Switch to gettext copyright.
26949         Use ANSI definitions and prototypes.
26950         (_nl_explode_name): Use strchr instead of __rawmemchr.
26951         * intl/finddomain.c: Switch to gettext copyright.
26952         Use ANSI definitions and prototypes.
26953         Use gl_* locking primitives rather than __libc_* ones.
26954         (_nl_find_domain): Use malloc rather than alloca for
26955         allocation of temporary locale name.
26956         * intl/gettext.c: Switch to gettext copyright.
26957         Use ANSI definitions and prototypes.
26958         * intl/gettextP.h: Switch to gettext copyright.
26959         Use ANSI definitions and prototypes.
26960         Use gl_* locking primitives rather than __libc_* ones.
26961         * intl/gmo.h: Switch to gettext copyright.
26962         (struct sysdep_string): Move struct segment_pair outside of
26963         struct definition.
26964         * intl/hash-string.c: Use ANSI definitions and prototypes.
26965         * intl/hash-string.h: Switch to gettext copyright.
26966         Use ANSI definitions and prototypes.
26967         * intl/l10nflist.c: Switch to gettext copyright.
26968         Use ANSI definitions and prototypes.
26969         (_nl_normalize_codeset): Avoid integer overflow.
26970         * intl/loadinfo.h: Switch to gettext copyright.
26971         Use ANSI definitions and prototypes.
26972         (LIBINTL_DLL_EXPORTED): New define.
26973         (PATH_SEPARATOR): New define.
26974         * intl/loadmsgcat.c: Switch to gettext copyright.
26975         * intl/localealias.c: Switch to gettext copyright.
26976         Use ANSI definitions and prototypes.
26977         (_nl_expand_alias): Use PATH_SEPARATOR.
26978         * intl/ngettext.c: Switch to gettext copyright.
26979         Use ANSI definitions and prototypes.
26980         * intl/plural-exp.c: Likewise.
26981         * intl/plural-exp.h: Switch to gettext copyright.
26982         Use ANSI definitions and prototypes.
26983         (struct expression): Move definition of enum operator outside
26984         of struct definition.
26985         * intl/plural.c: Regenerate.
26986         * intl/plural.y: Switch to gettext copyright.
26987         Use ANSI definitions and prototypes.
26988         Port to bison 3.0.
26989         * intl/textdomain.c: Switch to gettext copyright.
26990         Use ANSI definitions and prototypes.
26991         Use gl_* locking primitives rather than __libc_* ones.
26993 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26995         * debug/warning-nop.c: Add used atrribute.
26997 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26999         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27001         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27002         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27003         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27005 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27006             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27008         [BZ #17634]
27009         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27010         Undefine after defining function.  Define as weak alias of
27011         __wcschr.  Use libc_hidden_weak.
27012         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27013         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27014         (libc_hidden_def): Also define __GI___wcschr alias.
27015         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27016         __wcschr and define as weak alias of __wcschr.
27017         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27018         __wcschr.
27019         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27020         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27021         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27022         libc_hidden_weak.  Do not use libc_hidden_def.
27023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27024         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27025         __GI___wcschr alias.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27027         [IS_IN (libc)] (wcschr): Define as macro expanding to
27028         __redirect_wcschr.
27029         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27030         [IS_IN (libc)] (__wcschr_power6): Likewise.
27031         [IS_IN (libc)] (__wcschr_power7): Likewise.
27032         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27033         instead of wcschr.
27034         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27035         __libc_wcschr.
27036         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27037         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27038         __wcschr and define as weak alias of __wcschr.  Use
27039         libc_hidden_builtin_def.
27040         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27041         as weak alias of __wcschr.  Use libc_hidden_weak.
27042         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27043         wcschr.
27044         * time/era.c (_nl_init_era_entries): Likewise.
27045         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27046         variable.
27047         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27048         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27050 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27052         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27053         format for long int variable.
27055 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27057         [BZ #10672]
27058         * manual/search.texi: (Array Sort Function): Remove claim how to make
27059         qsort stable.
27061 2014-12-10  Andreas Schwab  <schwab@suse.de>
27063         [BZ #12847]
27064         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27065         user-controlled locks.
27067 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27069         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27070         register.
27072 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27074         * configure.ac (--disable-werror): New configure option.
27075         (enable_werror): New AC_SUBST.
27076         * configure: Regenerated.
27077         * config.make.in (enable-werror): New variable.
27078         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27079         -Wno-error=undef.
27080         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27081         * manual/install.texi (Configuring and compiling): Document
27082         --disable-werror.
27083         * INSTALL: Regenerated.
27084         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27085         (CFLAGS-tst-chk2.c): Likewise.
27086         (CFLAGS-tst-chk3.c): Likewise.
27087         (CFLAGS-tst-chk4.cc): Likewise.
27088         (CFLAGS-tst-chk5.cc): Likewise.
27089         (CFLAGS-tst-chk6.cc): Likewise.
27090         (CFLAGS-tst-lfschk1.c): Likewise.
27091         (CFLAGS-tst-lfschk2.c): Likewise.
27092         (CFLAGS-tst-lfschk3.c): Likewise.
27093         (CFLAGS-tst-lfschk4.cc): Likewise.
27094         (CFLAGS-tst-lfschk5.cc): Likewise.
27095         (CFLAGS-tst-lfschk6.cc): Likewise.
27097         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27098         (main): Disable -Wdeprecated-declarations around calls to
27099         register_printf_function.
27101         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27102         (do_test): Disable -Wdiv-by-zero around some calls to
27103         fwrite_unlocked and fread_unlocked.
27105         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27106         (DIAG_POP_NEEDS_COMMENT): Likewise.
27107         (_DIAG_STR1): Likewise.
27108         (_DIAG_STR): Likewise.
27109         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27110         * stdio-common/bug21.c: Include <libc-internal.h>.
27111         (do_test): Disable -Wformat around call to sscanf.
27112         * stdio-common/scanf14.c: Include <libc-internal.h>.
27113         (main): Disable -Wformat around some calls to scanf functions.
27115 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27117         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27119 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27121         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27122         stack variable alignment.
27124 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27126         [BZ #17682]
27127         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27128         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27129         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27130         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27131         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27132         __getrlimit instead of getrlimit.
27133         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27134         __gettimeofday instead of gettimeofday.
27135         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27136         Likewise.
27137         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27138         Likewise.
27139         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27140         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27141         Remove variable.
27142         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27143         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27145 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27147         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27148         for wide-character tests.
27150 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27152         * io/openat64.c: #include <libc-internal.h>
27153         (__openat64): Prototypify.  Use ignore_value on MODE.
27154         * io/openat.c: Likewise.
27155         * misc/reboot.c: #include <libc-internal.h>
27156         (reboot): Prototypify.  Use ignore_value on HOWTO.
27157         * misc/ptrace.c: #include <libc-internal.h>
27158         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27160 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27162         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27163         XPG4, UNIX98 and XOPEN2K.
27164         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27165         Remove variable.
27166         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27168 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27170         * libio/fileops.c: Use ISO C style for function definitions.
27171         * libio/iofopen.c: Likewise.
27172         * libio/wfileops.c: Likewise.
27174         [BZ #17653]
27175         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27176         offset on EOF.
27177         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27178         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27179         (fgets_func): Function pointer to fgets and fgetws.
27180         (do_ftell_test): Add test to verify ftell value after read
27181         EOF.
27182         (do_test): Set fgets_func.
27184         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27185         O_TRUNC flag for w and w+ modes.
27186         (do_rewind_test): Likewise.
27187         (do_ftell_test): Likewise.
27188         (do_write_test): Likewise.
27190         [BZ #17647]
27191         * libio/fileops.c (do_ftell): Seek only when there are
27192         unflushed writes.
27193         * libio/wfileops.c (do_ftell_wide): Likewise.
27194         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27195         test case.
27196         (do_one_test): Call it.
27198 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27200         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27201         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27202         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27203         Remove variable.
27204         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27205         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27206         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27208 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27210         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27211         Remove variable.
27212         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27214         [BZ #17668]
27215         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27216         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27217         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27218         __freeifaddrs.  Use libc_hidden_weak.
27219         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27220         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27221         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27222         __freeifaddrs.  Use libc_hidden_weak.
27223         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27224         __getifaddrs and define as weak alias of __getifaddrs.  Use
27225         libc_hidden_weak.
27226         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27227         __freeifaddrs.  Use libc_hidden_weak.
27228         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27229         Remove variable.
27230         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27231         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27233 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27235         [BZ #17601]
27236         * sysdeps/mips/start.S (__start): Use indirect jump to call
27237         __libc_start_main.
27239 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27241         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27243         * nptl/tst-mutex1.c: Include <stdbool.h>.
27244         [!ATTR] (ATTR_NULL): New macro.
27245         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27246         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27247         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27249         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27250         to char *.
27252         [BZ #17665]
27253         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27254         Change conditional to [__USE_MISC].
27256         [BZ #17664]
27257         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27258         fgets_unlocked.
27259         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27260         __fgets_unlocked.
27261         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27262         fgets_unlocked.
27263         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27264         Remove variable.
27265         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27266         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27267         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27268         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27269         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27270         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27271         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27272         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27273         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27275         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27277 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27279         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27280         Remove strpbrk objects.
27281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27282         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27283         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27284         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27285         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27286         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27289         Remove strcspn objects.
27290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27291         (__libc_ifunc_impl_list): Remove strcspn implementation.
27292         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27293         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27294         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27295         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27297         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27298         Remove strspn objetcs.
27299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27300         (__libc_ifunc_impl_list): Remove strspn implementation.
27301         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27302         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27303         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27304         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27306 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27308         [BZ #17581]
27309         * malloc/hooks.c
27310         (mem2mem_check): Add a terminator to the chain of checking blocks.
27311         (malloc_check_get_size): Use it here.
27312         (mem2chunk_check): Ditto.
27314 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27316         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27317         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27319 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27321         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27323         * nptl/nptl-init.c: Include libc-internal.h.
27324         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27326         * elf/ldconfig.c (search_dir): Expand comment.
27328 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27330         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27331         variable.
27332         (linknamespace-symlist-stdlibs-tests): Likewise.
27333         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27334         instead of $(objpfx)symlist-stdlibs.
27335         (linknamespace-libs-isoc): New variable.
27336         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27337         (linknamespace-libs-ISO): New variable.
27338         (linknamespace-libs-ISO99): Likewise.
27339         (linknamespace-libs-ISO11): Likewise.
27340         (linknamespace-libs-XPG3): Likewise.
27341         (linknamespace-libs-XPG4): Likewise.
27342         (linknamespace-libs-POSIX): Likewise.
27343         (linknamespace-libs-UNIX98): Likewise.
27344         (linknamespace-libs-XOPEN2K): Likewise.
27345         (linknamespace-libs-POSIX2008): Likewise.
27346         (linknamespace-libs-XOPEN2K8): Likewise.
27347         ($(objpfx)symlist-stdlibs): Replace by
27348         $(linknamespace-symlist-stdlibs-tests).  Use
27349         $(linknamespace-libs-$*) as set of libraries.
27350         ($(linknamespace-header-tests)): Update dependencies.  Use
27351         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27352         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27353         * conform/linknamespace.pl: Remove comment about considering
27354         definitions of symbols from irrelevant libraries.
27356 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27358         [BZ #13862]
27359         * elf/dl-tls.c: Include <atomic.h>.
27360         (oom): Remove #ifdef SHARED/#endif.
27361         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27362         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27363         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27364         big enough.
27365         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27366         * nptl/Makefile (tests): Add tst-stack4.
27367         (modules-names): Add tst-stack4mod.
27368         ($(objpfx)tst-stack4): New.
27369         (tst-stack4mod.sos): Likewise.
27370         ($(objpfx)tst-stack4.out): Likewise.
27371         ($(tst-stack4mod.sos)): Likewise.
27372         (clean): Likewise.
27373         * nptl/tst-stack4.c: New file.
27374         * nptl/tst-stack4mod.c: Likewise.
27376 2014-11-27  J. Brown  <jb999@gmx.de>
27378         * sysdeps/x86/bits/string.h: Add recent CPUs.
27380 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27382         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27383         sigblock.
27385         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27386         feof.
27388         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27389         variable.
27391 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27393         * nscd/connections.c: Include libc-internal.h because of macro
27394         usage ignore_value.
27396 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         * string/bits/string3.h (__warn_memset_zero_len): Don't
27399         declare for gcc newer than 5.0.
27400         (memset): Don't test for zero-length __LEN for gcc newer than
27401         5.0.
27403 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27405         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27406         size_t for %zu format.
27408         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27409         difference, not %ju.
27411 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27413         * include/libc-internal.h (ignore_value): New macro.
27414         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27415         with ignore_value.
27417         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27418         definition.
27420         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27421         pthread_cleanup_push to void *.
27423         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27424         Undefine.
27426         [BZ #16619]
27427         [BZ #16740]
27428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27429         instead of 1L << 52.
27431         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27432         * libio/bug-rewind2.c (do_test): Likewise.
27434         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27435         * debug/test-strcpy_chk-ifunc.c: Likewise.
27436         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27437         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27438         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27439         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27440         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27441         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27442         * Rules [$(multi-arch) = no] (tests): Do not filter out
27443         $(tests-ifunc).
27444         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27445         * debug/Makefile (tests-ifunc): Remove variable.
27446         (tests): Do not add $(tests-ifunc).
27447         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27448         (tests): Do not add $(tests-ifunc).
27449         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27450         [TEST_IFUNC]: Remove conditionals.
27451         * string/test-string.h (TEST_IFUNC): Remove macro.
27452         [TEST_IFUNC]: Remove conditionals.
27454         * string/test-strchr.c [!WIDE] (L): New macro.
27455         [WIDE] (L): Likewise.
27456         (check1): Use CHAR instead of char.  Use L on string and character
27457         constants.
27459 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27461         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27462         tests.
27463         * sysdeps/powerpc/bits/atomic.h
27464         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27465         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27466         (atomic_exchange_and_add_acq): Likewise.
27467         (atomic_exchange_and_add_rel): Likewise.
27468         * sysdeps/powerpc/powerpc32/bits/atomic.h
27469         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27470         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27471         * sysdeps/powerpc/powerpc64/bits/atomic.h
27472         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27473         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27475 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27477         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27478         Change synchronization of __sched_fifo_min_prio and
27479         __sched_fifo_max_prio.
27480         * nptl/pthread_mutexattr_getprioceiling.c
27481         (pthread_mutexattr_getprioceiling): Likewise.
27482         * nptl/pthread_mutexattr_setprioceiling.c
27483         (pthread_mutexattr_setprioceiling): Likewise.
27484         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27485         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27486         Likewise.
27488 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27490         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27491         void.
27493 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27495         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27496         third argument const.
27498 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27500         fnmatch: work around GCC compiler warning bug with uninit var
27501         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27502         This works around a bug with x86-64 GCC 4.9.2 and earlier
27503         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27504         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27505         used uninitialized in this function [-Wmaybe-uninitialized]".
27507 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27509         * posix/bug-regex31.c (main): Return RES not 0.
27511 2014-11-25  Anton Blanchard <anton@samba.org>
27513         * sysdeps/powerpc/bits/atomic.h
27514         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27516 2014-11-24  Sterling Augustine  <saugustine@google.com>
27518         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27520 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27522         [BZ #17608]
27523         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27525 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27527         [BZ #17633]
27528         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27529         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27530         variable.
27531         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27532         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27534 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27536         * string/strncpy.c (strncpy): Improve performance by using memset.
27538 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27540         * string/strcpy.c (strcpy):
27541         Improve performance by using strlen and memcpy.
27543 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27545         * string/strcoll_l.c (get_next_seq): __always_inline.
27546         * string/strcoll_l.c (do_compare): __always_inline.
27548 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27550         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27551         defined.
27552         * include/mqueue.h: Likewise.
27553         * include/stdlib.h: Likewise.
27555         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27556         (get_null_defines): Adjust.
27557         * sunrpc/Makefile: Adjust comment.
27558         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27559         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27560         (CFLAGS-interp.c): Likewise.
27561         (CFLAGS-ldconfig.c): Likewise.
27562         (CPPFLAGS-.os): Likewise.
27563         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27564         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27565         * extra-modules.mk (extra-modules.mk): Likewise.
27566         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27567         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27568         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27569         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27570         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27571         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27572         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27573         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27574         * iconvdata/Makefile (CPPFLAGS): Likewise.
27575         (cpp-srcs-left): Add libof for all iconvdata routines.
27576         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27577         * include/assert.h: Likewise.
27578         * include/ctype.h: Likewise.
27579         * include/errno.h: Likewise.
27580         * include/libc-symbols.h: Likewise.
27581         * include/math.h: Likewise.
27582         * include/netdb.h: Likewise.
27583         * include/resolv.h: Likewise.
27584         * include/stdio.h: Likewise.
27585         * include/stdlib.h: Likewise.
27586         * include/string.h: Likewise.
27587         * include/sys/stat.h: Likewise.
27588         * include/wctype.h: Likewise.
27589         * intl/l10nflist.c: Likewise.
27590         * libidn/idn-stub.c: Likewise.
27591         * libio/libioP.h: Likewise.
27592         * nptl/libc_multiple_threads.c: Likewise.
27593         * nptl/pthreadP.h: Likewise.
27594         * posix/regex_internal.h: Likewise.
27595         * resolv/res_hconf.c: Likewise.
27596         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27597         * sysdeps/arm/memmove.S: Likewise.
27598         * sysdeps/arm/sysdep.h: Likewise.
27599         * sysdeps/generic/_itoa.h: Likewise.
27600         * sysdeps/generic/symbol-hacks.h: Likewise.
27601         * sysdeps/gnu/errlist.awk: Likewise.
27602         * sysdeps/gnu/errlist.c: Likewise.
27603         * sysdeps/i386/i586/memcpy.S: Likewise.
27604         * sysdeps/i386/i586/memset.S: Likewise.
27605         * sysdeps/i386/i686/memcpy.S: Likewise.
27606         * sysdeps/i386/i686/memmove.S: Likewise.
27607         * sysdeps/i386/i686/mempcpy.S: Likewise.
27608         * sysdeps/i386/i686/memset.S: Likewise.
27609         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27610         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27611         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27612         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27613         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27614         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27615         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27616         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27617         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27618         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27626         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27628         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27629         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27630         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27631         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27632         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27634         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27636         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27637         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27638         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27639         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27641         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27642         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27643         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27644         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27645         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27646         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27647         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27649         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27650         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27651         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27652         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27653         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27654         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27655         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27656         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27657         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27658         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27659         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27660         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27661         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27662         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27663         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27664         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27665         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27666         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27667         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27668         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27669         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27670         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27671         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27672         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27673         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27674         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27675         * sysdeps/posix/closedir.c: Likewise.
27676         * sysdeps/posix/opendir.c: Likewise.
27677         * sysdeps/posix/readdir.c: Likewise.
27678         * sysdeps/posix/rewinddir.c: Likewise.
27679         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27680         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27681         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27682         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27683         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27684         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27686         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27687         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27688         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27689         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27690         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27691         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27692         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27693         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27694         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27695         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27696         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27699         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27701         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27702         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27703         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27704         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27705         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27707         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27714         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27715         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27716         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27717         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27718         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27719         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27720         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27721         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27722         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27723         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27724         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27725         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27726         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27727         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27728         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27729         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27730         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27732         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27734         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27735         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27736         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27737         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27738         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27739         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27740         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27741         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27742         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27743         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27744         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27745         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27746         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27747         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27748         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27749         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27750         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27751         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27752         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27753         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27754         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27755         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27756         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27757         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27758         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27759         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27760         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27761         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27763         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27765         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27766         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27767         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27768         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27769         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27770         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27771         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27772         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27773         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27775         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27776         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27777         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27778         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27779         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27780         * sysdeps/unix/alpha/sysdep.S: Likewise.
27781         * sysdeps/unix/alpha/sysdep.h: Likewise.
27782         * sysdeps/unix/make-syscalls.sh: Likewise.
27783         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27784         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27785         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27786         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27787         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27788         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27789         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27790         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27791         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27792         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27793         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27796         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27797         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27798         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27799         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27800         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27801         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27802         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27803         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27804         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27805         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27806         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27807         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27808         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27809         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27812         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27813         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27815         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27816         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27817         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27821         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27822         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27823         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27824         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27825         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27826         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27827         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27829         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27830         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27833         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27834         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27835         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27836         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27837         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27838         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27839         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27841         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27842         * sysdeps/x86_64/memcpy.S: Likewise.
27843         * sysdeps/x86_64/memmove.c: Likewise.
27844         * sysdeps/x86_64/memset.S: Likewise.
27845         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27846         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27847         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27848         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27849         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27850         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27851         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27852         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27854         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27855         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27856         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27857         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27858         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27859         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27860         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27861         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27862         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27863         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27864         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27865         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27866         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27867         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27868         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27869         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27870         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27871         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27872         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27873         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27874         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27875         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27876         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27877         * sysdeps/x86_64/strcmp.S: Likewise.
27879         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27881         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27882         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27883         * elf/rtld-Rules: Likewise.
27884         * elf/setup-vdso.h: Likewise.
27885         * include/assert.h: Likewise.
27886         * include/bits/stdlib-float.h: Likewise.
27887         * include/errno.h: Likewise.
27888         * include/sys/stat.h: Likewise.
27889         * include/unistd.h: Likewise.
27890         * sysdeps/aarch64/setjmp.S: Likewise.
27891         * sysdeps/alpha/setjmp.S: Likewise.
27892         * sysdeps/arm/__longjmp.S: Likewise.
27893         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27894         * sysdeps/arm/setjmp.S: Likewise.
27895         * sysdeps/arm/sysdep.h: Likewise.
27896         * sysdeps/generic/_itoa.h: Likewise.
27897         * sysdeps/generic/dl-sysdep.h: Likewise.
27898         * sysdeps/generic/ldsodefs.h: Likewise.
27899         * sysdeps/i386/dl-tls.h: Likewise.
27900         * sysdeps/i386/setjmp.S: Likewise.
27901         * sysdeps/m68k/setjmp.c: Likewise.
27902         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27903         * sysdeps/mach/hurd/opendir.c: Likewise.
27904         * sysdeps/posix/getcwd.c: Likewise.
27905         * sysdeps/posix/opendir.c: Likewise.
27906         * sysdeps/posix/profil.c: Likewise.
27907         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27908         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27909         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27910         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27911         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27912         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27913         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27914         * sysdeps/s390/dl-tls.h: Likewise.
27915         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27916         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27917         * sysdeps/sh/sh3/setjmp.S: Likewise.
27918         * sysdeps/sh/sh4/setjmp.S: Likewise.
27919         * sysdeps/unix/alpha/sysdep.h: Likewise.
27920         * sysdeps/unix/arm/sysdep.S: Likewise.
27921         * sysdeps/unix/i386/sysdep.S: Likewise.
27922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27923         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27924         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27927         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27928         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27929         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27930         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27931         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27932         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27933         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27934         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27937         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27939         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27940         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27941         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27942         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.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.h: Likewise.
27947         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27949         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27950         * sysdeps/x86_64/setjmp.S: Likewise.
27952         * include/math.h: Use IS_IN instead of IS_IN_libm.
27953         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27954         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27955         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27956         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27957         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27958         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27959         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27965         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27973         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27974         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27975         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27976         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27977         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27978         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27980         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27981         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27982         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27983         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27984         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27985         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27987         Likewise.
27988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27989         Likewise.
27990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27991         Likewise.
27992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27993         Likewise.
27994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27995         Likewise.
27996         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27997         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27998         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27999         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28000         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28001         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28007         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28008         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28009         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28010         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28011         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28012         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28013         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28014         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28015         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28016         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28017         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28018         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28020         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28022         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28024         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28025         * nptl/pthreadP.h: Likewise.
28026         * nptl_db/structs.def: Likewise.
28027         * sysdeps/arm/sysdep.h: Likewise.
28028         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28029         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28030         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28031         * sysdeps/unix/alpha/sysdep.h: Likewise.
28032         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28034         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28035         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28036         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28037         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28039         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28040         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28041         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28042         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28043         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28044         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28045         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28050         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28053         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28054         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28055         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28056         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28057         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28059         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28060         * nptl/pthreadP.h: Likewise.
28061         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28062         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28063         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28064         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28065         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28066         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28067         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28068         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28069         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28070         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28071         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28072         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28074         Likewise.
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28076         Likewise.
28077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28083         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28084         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28086         * dlfcn/dladdr.c: Use IS_IN.
28087         * dlfcn/dladdr1.c: Likewise.
28088         * dlfcn/dlclose.c: Likewise.
28089         * dlfcn/dlerror.c: Likewise.
28090         * dlfcn/dlinfo.c: Likewise.
28091         * dlfcn/dlmopen.c: Likewise.
28092         * dlfcn/dlopen.c: Likewise.
28093         * dlfcn/dlsym.c: Likewise.
28094         * dlfcn/dlvsym.c: Likewise.
28096         * include/ifaddrs.h: Use IS_IN.
28097         * inet/check_pf.c: Likewise.
28098         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28099         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28101         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28102         IS_IN_ldconfig.
28103         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28104         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28106         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28107         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28108         IS_IN (libc).
28110         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28112         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28113         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28114         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28115         * include/libc-symbols.h (IS_IN_LIB): New macro.
28116         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28117         * include/netdb.h: Likewise.
28118         * include/stap-probe.h: Remove all uses of IN_LIB.
28120         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28121         instead of IN_MODULE.
28122         * include/libc-symbols.h (IN_MODULE): Define using
28123         MODULE_NAME.
28124         (PASTE_NAME, PASTE_NAME1): New macros.
28125         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28126         of IN_LIB.
28127         (STAP_PROBE_ASM): Likewise.
28129 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28131         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28132         __mach_init in dlopened libc.
28134 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28136         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28137         * sysdeps/arm/preconfigure: Regenerate.
28139 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28141         * nptl/pthread_create.c (__pthread_create_2_1): Set
28142         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28143         when copying values from IATTR into PD.
28145 2014-11-21  Will Newton  <will.newton@linaro.org>
28146             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28148         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28149         Refactor inline-asm.  Also add comment.
28151         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28152         ElfW macro instead of hardcoded Elf64 types.
28153         (la_aarch64_gnu_pltenter): Likewise.
28154         * sysdeps/aarch64/dl-machine.h
28155         (elf_machine_runtime_setup): Use ElfW(Addr).
28157         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28158         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28159         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28160         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28161         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28162         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28163         (R_AARCH64_TLS_DTPMOD): This.
28164         (R_AARCH64_TLS_DTPREL64): Rename to ...
28165         (R_AARCH64_TLS_DTPREL): This.
28166         (R_AARCH64_TLS_TPREL64): Rename to ...
28167         (R_AARCH64_TLS_TPREL): This.
28168         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28169         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28170         R_AARCH64_TLS_TPREL64.
28171         (elf_machine_rela): Likewise.
28173 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28175         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28176         by setting it to 0.  64b atomics are not supported currently.
28178 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28180         [BZ #16469]
28181         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28182         search domain names.
28184 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28186         [BZ #16469]
28187         * NEWS: Update.
28188         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28189         trailing dot.
28190         * posix/tst-getaddrinfo5.c: New.
28191         * posix/Makefile (tests): Add it.
28193 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28195         [BZ #14498]
28196         * NEWS: Fixed.
28197         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28198         after parsing line but before break_if_match.
28199         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28200         if there is a protocol mismatch.
28202 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28204         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28205         because the potential race is on the user-supplied stream.
28207 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28209         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28210         string literal if not passed a buffer.
28211         * manual/job.texi (ctermid): Update reasoning, note deviation
28212         from posix, suggest mtasurace when not passed a buffer, for
28213         future non-preliminary safety notes.
28215 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28217         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28218         of not passing it a buffer.
28219         Reported by Peng Haitao.
28221 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28223         * manual/Makefile ($(objpfx)stamp-summary): Require
28224         check-safety.sh to pass.
28225         * manual/check-safety.sh: Wish for verification that every
28226         @deftypefn and @deftypefun is followed by a @safety remark.
28228 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28230         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28232         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28233         PTHREAD_CANCEL_ASYNCHRONOUS.
28234         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28235         send SIGCANCEL.
28237         * nptl/default-sched.h: New file.
28238         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28239         * nptl/pthread_create.c: Include it.
28240         (__pthread_create_2_1): Use collect_default_sched instead of making
28241         Linux syscalls here directly.
28243 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28245         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28246         __pthread_once): Use C11 atomics.
28248 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28250         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28252 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28254         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28255         atomic_thread_fence_acquire, atomic_thread_fence_release,
28256         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28257         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28258         atomic_compare_exchange_weak_relaxed,
28259         atomic_compare_exchange_weak_acquire,
28260         atomic_compare_exchange_weak_release,
28261         atomic_exchange_acquire, atomic_exchange_release,
28262         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28263         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28264         atomic_fetch_and_acquire,
28265         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28267 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28269         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28270         USE_ATOMIC_COMPILER_BUILTINS): Define.
28271         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28273         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28275         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28277         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28279         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28281         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28283         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28285         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28287         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28289         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28291         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28293         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28295         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28297         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28299         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28301         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28303         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28305         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28306         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28307         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28309         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28312 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28314         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28315         the sched_priority value here.  It was already checked when the user
28316         called pthread_attr_setschedparam.
28318         * nptl/tst-bad-schedattr.c: New file.
28319         * nptl/Makefile (tests): Add it.
28321 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28322             Florian Weimer  <fweimer@redhat.com>
28323             Joseph Myers  <joseph@codesourcery.com>
28324             Adam Conrad  <adconrad@0c3.net>
28325             Andreas Schwab  <schwab@suse.de>
28326             Brooks  <bmoses@google.com>
28328         [BZ #17625]
28329         * wordexp-test.c (__dso_handle): Add prototype.
28330         (__register_atfork): Likewise.
28331         (__app_register_atfork): New function.
28332         (registered_forks): New global.
28333         (register_fork): New function.
28334         (test_case): Add 3 new tests for WRDE_CMDSUB.
28335         (main): Call __app_register_atfork.
28336         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28337         fork count is non-zero fail the test.
28338         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28339         is set.
28340         (parse_dollars): Remove check for WRDE_NOCMD.
28341         (parse_dquote): Likewise.
28343 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28345         * Makeconfig (built-modules): List non-library modules to be
28346         built.
28347         (module-cppflags): Include libc-modules.h for
28348         everything except shlib-versions.v.i.
28349         (CPPFLAGS): Use it.
28350         (before-compile): Add libc-modules.h.
28351         ($(common-objpfx)libc-modules.h,
28352         $(common-objpfx)libc-modules.stmp): New targets.
28353         (common-generated): Add libc-modules.h and libc-modules.stmp.
28354         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28355         * include/libc-symbols.h: Don't include libc-modules.h.
28356         * include/libc-modules.h: Remove file.
28357         * scripts/gen-libc-modules.awk: New script to generate
28358         libc-modules.h.
28359         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28360         Depend on libc-modules.stmp.
28362         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28364         * Makeconfig (in-module): Get value of libof set for the
28365         translation unit.
28366         (CPPFLAGS): Use $(in-module).
28367         * Makerules: Don't suffix routine names for nonlib.
28368         * include/libc-modules.h: New file.
28369         * include/libc-symbols.h: Include libc-modules.h
28370         (IS_IN): New macro to replace IS_IN_* macros.
28371         * elf/Makefile: Set libof-* for each routine.
28372         * elf/rtld-Rules: Likewise.
28373         * extra-modules.mk: Likewise.
28374         * iconv/Makefile: Likewise.
28375         * iconvdata/Makefile: Likewise.
28376         * locale/Makefile: Likewise.
28377         * malloc/Makefile: Likewise.
28378         * nss/Makefile: Likewise.
28379         * sysdeps/gnu/Makefile: Likewise.
28380         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28381         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28382         * sysdeps/s390/s390-64/Makefile: Likewise.
28383         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28384         CPPFLAGS for nscd instead of nonlib.
28386 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28388         * nptl/createthread.c: New file.
28390         * nptl/createthread.c: Moved ...
28391         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28393         * nptl/createthread.c: Add proper top-line comment.
28394         (do_clone): Folded into ...
28395         (create_thread): ... here.  Take new arguments STOPPED_START and
28396         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28397         increment __nptl_threads, do event-reporting logic, do
28398         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28399         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28400         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28401         just send SIGCANCEL.
28402         * nptl/pthread_create.c: Forward-declare create_thread before
28403         including createthread.c.
28404         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28405         declaration, and new macro START_THREAD_SELF to replace argument.
28406         Remove return statement.
28407         (report_thread_creation): New function.
28408         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28409         synchronization logic, and __nptl_nthreads increment here, around
28410         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28411         PD->parent_cancelhandling here, before create_thread.  When
28412         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28413         __deallocate_stack, and ENOMEM translation here.
28415 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28417         [BZ #17616]
28418         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28419         (mptwo): Rename to __mptwo.
28420         (__inv): Use __mptwo instead of mptwo.
28421         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28422         (mptwo): Rename to __mptwo.
28423         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28424         of mpone and __mptwo instead of mptwo.
28425         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28426         instead of mpone.
28427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28428         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28429         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28430         of mpone and __mptwo instead of mptwo.
28431         (__mpranred): Use __mpone instead of mpone.
28432         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28433         variable.
28434         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28435         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28436         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28437         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28438         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28439         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28440         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28441         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28442         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28443         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28444         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28445         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28446         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28447         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28448         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28449         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28450         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28451         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28452         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28454 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28456         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28457         replace BSD Handler xref with BSD Signal Handling.
28459 2014-11-17  Richard Henderson  <rth@redhat.com>
28461         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28462         (_FP_PACK_RAW_2): Remove.
28463         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28464         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28465         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28466         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28467         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28468         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28469         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28470         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28471         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28472         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28473         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28474         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28475         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28476         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28477         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28478         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28480 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28482         * signal/signal.h [__USE_MISC]
28483         (struct sigvec): Remove type.
28484         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28485         (sigvec): Remove declaration.
28486         * sysdeps/posix/sigvec.c: Moved ...
28487         * signal/sigvec.c: ... here, replacing old file.
28488         (struct sigvec): New type, copied from old signal.h definition.
28489         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28490         (__sigvec): Convert definition to prototype.
28491         (sigvec): Replace weak_alias with compat_symbol.
28492         * signal/Versions (libc: GLIBC_2.21): New version set.
28493         * include/signal.h: Remove __sigvec declaration.
28494         * sysdeps/unix/bsd/sigvec.c: Remove file.
28495         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28496         * manual/signal.texi (BSD Handler): Remove subsection.
28497         Move siginterrupt up to ...
28498         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28499         (Blocking in BSD): Fold subsection into its parent.
28500         * NEWS: Mention sigvec removal.
28502 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28504         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28505         (DLA_FMS): Make definition conditional only on [__FMA4__].
28506         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28507         definition.
28509         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28510         Make definition conditional only on [PROF].
28511         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28512         definition.
28513         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28514         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28516         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28517         !__GNUC__].
28518         * include/signal.h (__sigpause): Move declaration above call to
28519         libc_hidden_proto.
28520         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28521         variable.
28522         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28523         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28525 2014-11-14  David S. Miller  <davem@davemloft.net>
28527         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28528         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28530 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28532         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28533         * configure: Regenerated.
28534         * manual/install.texi (Tools for Compilation): Document a
28535         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28536         compiler verified to work.
28537         * INSTALL: Regenerated.
28539         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28540         redeclare with asm name.
28541         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28542         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28543         including <string.h>.
28544         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28545         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28546         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28547         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28548         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28550         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28552 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28554         * stdlib/strtol.c (__strtol): Use prototype definition.
28556         [BZ #17594]
28557         * stdlib/strtol.c (SYM__): New macro.
28558         (SYM__1): Likewise.
28559         (__strtol): Likewise.
28560         (strtol): Rename to __strtol and define as weak alias of
28561         __strtol.  Use libc_hidden_weak.
28563 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28565         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28566         Use numbered labels in inline assembly.
28568 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28570         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28571         Add setjmp LIBC_PROBE.
28572         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28573         Likewise.
28574         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28575         Add longjmp, longjmp_target LIBC_PROBE.
28576         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28577         Likewise.
28579 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28581         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28582         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28583         to get rid of unused variable warning.
28585 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28587         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28588         Check for unwind_backtrace ==  NULL only in SHARED case.
28589         (__backchain_backtrace): Compile only in SHARED case.
28590         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28591         Likewise.
28592         (__backchain_backtrace): Declare as static.
28594 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28596         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28597         (__libc_multiple_threads_ptr): Variable moved ...
28598         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28600 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28602         * conform/GlibcConform.pm: New file.
28603         * conform/conformtest.pl: Use GlibcConform module.
28604         * conform/linknamespace.pl: New file.
28605         * conform/list-header-symbols.pl: Likewise.
28606         * conform/Makefile (linknamespace-symlists-base): New variable.
28607         (linknamespace-symlists-tests): Likewise.
28608         (linknamespace-header-base): Likewise.
28609         (linknamespace-header-tests): Likewise.
28610         (tests-special): Add new tests.
28611         ($(linknamespace-symlists-tests)): New rule.
28612         (linknamespace-libs): New variable.
28613         ($(objpfx)symlist-stdlibs): New rule.
28614         ($(linknamespace-header-tests)): Likewise.
28615         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28616         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28617         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28618         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28619         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28620         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28621         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28622         (test-xfail-ISO/math.h/linknamespace): Likewise.
28623         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28624         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28625         (test-xfail-ISO/time.h/linknamespace): Likewise.
28626         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28627         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28628         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28629         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28630         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28631         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28632         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28633         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28634         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28635         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28636         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28637         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28638         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28639         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28640         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28641         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28642         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28643         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28644         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28645         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28646         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28647         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28648         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28649         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28650         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28651         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28652         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28653         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28654         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28655         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28656         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28657         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28658         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28659         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28660         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28661         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28662         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28663         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28664         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28665         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28666         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28667         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28668         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28669         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28670         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28671         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28672         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28673         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28674         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28675         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28676         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28677         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28678         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28679         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28680         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28681         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28682         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28683         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28684         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28685         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28686         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28687         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28688         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28689         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28690         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28691         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28692         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28693         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28694         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28695         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28696         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28697         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28698         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28699         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28700         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28701         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28702         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28703         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28704         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28705         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28706         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28707         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28708         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28709         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28710         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28711         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28712         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28713         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28714         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28715         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28716         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28717         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28718         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28719         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28720         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28721         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28722         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28723         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28724         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28725         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28726         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28727         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28728         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28729         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28730         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28731         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28732         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28733         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28734         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28735         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28736         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28737         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28738         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28739         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28740         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28741         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28742         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28743         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28744         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28745         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28746         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28747         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28748         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28749         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28750         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28751         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28752         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28753         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28754         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28755         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28756         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28757         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28758         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28759         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28760         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28761         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28762         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28763         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28764         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28765         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28766         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28767         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28768         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28769         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28770         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28771         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28772         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28773         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28774         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28775         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28777         [BZ #17589]
28778         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28779         of fgets_unlocked.
28781         [BZ #17585]
28782         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28783         (memmem): Rename to __memmem and define as weak alias of
28784         __memmem.  Use libc_hidden_weak.
28785         (__memmem): Use libc_hidden_def.
28786         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28787         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28788         memmem.
28790         [BZ #17582]
28791         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28792         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28793         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28794         and define as weak alias of __fgets_unlocked.  Use
28795         libc_hidden_weak.
28796         (__fgets_unlocked): Use libc_hidden_def.
28797         * include/stdio.h (__fgets_unlocked): Declare.  Use
28798         libc_hidden_proto.
28799         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28800         __fgets_unlocked instead of fgets_unlocked.
28801         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28802         (GET_NPROCS_CONF_PARSER): Likewise.
28803         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28804         (GET_NPROCS_CONF_PARSER): Likewise.
28806         [BZ #17574]
28807         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28808         weak alias of __wmemset.  Use libc_hidden_weak.
28809         (__wmemset): Use libc_hidden_def.
28810         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28811         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28812         of wmemset.
28814         [BZ #17573]
28815         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28816         with asm name __mempcpy.
28817         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28819         [BZ #17572]
28820         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28821         and define as weak alias of __rawmemchr.
28822         (__rawmemchr): Do not define as strong alias of rawmemchr.
28824         [BZ #17571]
28825         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28826         alias of __qsort_r.
28827         (qsort): Call __qsort_r instead of qsort_r.
28828         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28829         (__qsort_r): Declare.  Call libc_hidden_proto.
28830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28831         instead of qsort_r.
28832         * nscd/gai.c (__qsort_r): Define to qsort_r.
28833         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28834         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28835         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28837         [BZ #17570]
28838         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28839         define as weak alias of __malloc_info.
28841         [BZ #17584]
28842         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28843         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28844         (__rewinddir): Use libc_hidden_def.
28845         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28846         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28847         (__rewinddir): Use libc_hidden_def.
28848         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28849         weak alias of __rewinddir.  Don't use libc_hidden_def.
28850         (__rewinddir): Use libc_hidden_def.
28851         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28852         (__rewinddir): Use libc_hidden_proto.
28853         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28854         rewinddir.
28855         (__getcwd): Use __rewinddir instead of rewinddir.
28857         [BZ #17583]
28858         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28859         alias of __fileno.  Use libc_hidden_weak.
28860         (__fileno): Use libc_hidden_def.
28861         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28862         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28863         alias of __ftello.
28864         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28865         __ftello.
28866         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28867         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28868         libc_hidden_def.
28869         (fread_unlocked): Don't use libc_hidden_ver.
28870         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28871         and define as weak alias of __fread_unlocked.  Don't use
28872         libc_hidden_def.
28873         (__fread_unlocked): Use libc_hidden_def.
28874         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28875         (ftello): Don't use libc_hidden_proto.
28876         (__ftello): Declare.  Use libc_hidden_proto.
28877         (fread_unlocked): Don't use libc_hidden_proto.
28878         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28879         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28880         and __ftello instead of fileno, fread_unlocked and ftello.
28882 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28884         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28885         GOT12.
28886         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28887         Likewise.
28888         (_dl_start_user): Likewise.
28889         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28891 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28892             Siddhesh Poyarekar  <siddhesh@redhat.com>
28894         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28895         Move argv and envp down instead of moving argc up.
28896         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28898 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28900         [BZ #17506]
28901         * test-skeleton.c (main): Return successful if one of
28902         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28903         * string/tst-strcoll-overflow.c: Define expected status.
28905 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28907         [BZ #17475]
28908         * locale/iso-639.def: Define Bhili and Tulu language codes.
28910 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28912         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28914 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28916         [BZ #17555]
28917         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28919 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28921         * configure.ac: Updated check of minimal required version to
28922         2.22.
28923         * manual/install.texi (Tools for Compilation): Updated version
28924         number.
28925         * configure: Regenerated.
28926         * INSTALL: Likewise.
28928 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28930         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28931         __tls_get_addr.
28933 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28935         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28936         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28937         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28938         libc_hidden_weak.
28939         (waitpid): Define as alias of __waitpid.
28940         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28941         __waitpid.
28942         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28943         libc_hidden_weak.
28944         (waitpid): Define as alias of __waitpid.
28945         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28946         __libc_waitpid alias.
28947         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28948         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28949         Likewise.
28950         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28951         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28952         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28953         alias.
28954         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28955         __waitpid.
28956         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28957         libc_hidden_weak.
28958         (waitpid): Define as alias of __waitpid.
28960 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28962         * manual/llio.texi: Add comment that write safety has been
28963         fixed in Linux.
28965         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28966         (localplt-build-dso): Add elf/ld.so.
28967         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28968         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28969         and free for ld.so.
28970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28971         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28973         Likewise.
28974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28975         Likewise.
28976         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28977         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28978         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28979         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28980         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28981         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28982         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28983         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28984         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28985         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28986         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28988 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28990         [BZ #14132]
28991         * include/libc-symbols.h (INTUSE): Remove macro.
28992         (INTDEF): Likewise.
28993         (INTVARDEF): Likewise.
28994         (_INTVARDEF): Likewise.
28995         (INTDEF2): Likewise.
28996         (INTVARDEF2): Likewise.
28997         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28998         rtld_hidden_def instead of INTVARDEF.
28999         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29000         (_dl_starting_up_internal): Remove declaration.
29001         (_dl_starting_up): Use rtld_hidden_proto.
29002         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29003         declaration.
29004         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29005         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29006         _dl_starting_up.
29007         * elf/dl-writev.h (_dl_writev): Likewise.
29008         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29009         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29010         _dl_starting_up_internal.
29012 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29014         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29015         test-skeleton.c.
29017 2014-11-05  Will Newton  <will.newton@linaro.org>
29019         * benchtests/Makefile: (bench-malloc): Add malloc thread
29020         scalability benchmark.
29021         * benchtests/bench-malloc-threads.c: New file.
29023 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29025         * sysdeps/aarch64/strchrnul.S: New file.
29027 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29029         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29030         definition.
29031         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29032         Likwise.
29033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29034         Likewise.
29035         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29036         Likewise.
29037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29038         Likewise.
29039         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29040         Likewise.
29042 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29044         * catgets/test-gencat.c: Use test-skeleton.c.
29045         * catgets/tst-catgets.c: Likewise.
29046         * csu/tst-empty.c: Likewise.
29047         * elf/tst-audit2.c: Likewise.
29048         * elf/tst-global1.c: Likewise.
29049         * elf/tst-pathopt.c: Likewise.
29050         * elf/tst-piemod1.c: Likewise.
29051         * elf/tst-tls10.c: Likewise.
29052         * elf/tst-tls11.c: Likewise.
29053         * elf/tst-tls12.c: Likewise.
29054         * gnulib/tst-gcc.c: Likewise.
29055         * iconvdata/tst-e2big.c: Likewise.
29056         * iconvdata/tst-loading.c: Likewise.
29057         * iconv/tst-iconv1.c: Likewise.
29058         * iconv/tst-iconv2.c: Likewise.
29059         * inet/test-inet6_opt.c: Likewise.
29060         * inet/tst-gethnm.c: Likewise.
29061         * inet/tst-network.c: Likewise.
29062         * inet/tst-ntoa.c: Likewise.
29063         * intl/tst-codeset.c: Likewise.
29064         * intl/tst-gettext2.c: Likewise.
29065         * intl/tst-gettext3.c: Likewise.
29066         * intl/tst-ngettext.c: Likewise.
29067         * intl/tst-translit.c: Likewise.
29068         * io/test-stat.c: Likewise.
29069         * libio/test-fmemopen.c: Likewise.
29070         * libio/tst-freopen.c: Likewise.
29071         * libio/tst-sscanf.c: Likewise.
29072         * libio/tst-ungetwc1.c: Likewise.
29073         * libio/tst-ungetwc2.c: Likewise.
29074         * libio/tst-widetext.c: Likewise.
29075         * localedata/tst-ctype.c: Likewise.
29076         * localedata/tst-digits.c: Likewise.
29077         * localedata/tst-leaks.c: Likewise.
29078         * localedata/tst-mbswcs1.c: Likewise.
29079         * localedata/tst-mbswcs2.c: Likewise.
29080         * localedata/tst-mbswcs3.c: Likewise.
29081         * localedata/tst-mbswcs4.c: Likewise.
29082         * localedata/tst-mbswcs5.c: Likewise.
29083         * localedata/tst-setlocale.c: Likewise.
29084         * localedata/tst-trans.c: Likewise.
29085         * localedata/tst-wctype.c: Likewise.
29086         * localedata/tst-xlocale1.c: Likewise.
29087         * login/tst-grantpt.c: Likewise.
29088         * malloc/tst-calloc.c: Likewise.
29089         * malloc/tst-malloc.c: Likewise.
29090         * malloc/tst-mallocstate.c: Likewise.
29091         * malloc/tst-mcheck.c: Likewise.
29092         * malloc/tst-mtrace.c: Likewise.
29093         * malloc/tst-obstack.c: Likewise.
29094         * math/atest-exp2.c: Likewise.
29095         * math/atest-exp.c: Likewise.
29096         * math/atest-sincos.c: Likewise.
29097         * math/test-matherr.c: Likewise.
29098         * math/test-misc.c: Likewise.
29099         * math/test-powl.c: Likewise.
29100         * math/tst-definitions.c: Likewise.
29101         * misc/tst-dirname.c: Likewise.
29102         * misc/tst-efgcvt.c: Likewise.
29103         * misc/tst-fdset.c: Likewise.
29104         * misc/tst-hsearch.c: Likewise.
29105         * misc/tst-mntent2.c: Likewise.
29106         * nptl/tst-sem7.c: Likewise.
29107         * nptl/tst-sem8.c: Likewise.
29108         * nptl/tst-sem9.c: Likewise.
29109         * nss/test-netdb.c: Likewise.
29110         * posix/tst-fnmatch.c: Likewise.
29111         * posix/tst-getlogin.c: Likewise.
29112         * posix/tst-gnuglob.c: Likewise.
29113         * posix/tst-mmap.c: Likewise.
29114         * pwd/tst-getpw.c: Likewise.
29115         * resolv/tst-inet_ntop.c: Likewise.
29116         * rt/tst-timer.c: Likewise.
29117         * stdio-common/test-fseek.c: Likewise.
29118         * stdio-common/test-popen.c: Likewise.
29119         * stdio-common/test-vfprintf.c: Likewise.
29120         * stdio-common/tst-cookie.c: Likewise.
29121         * stdio-common/tst-fileno.c: Likewise.
29122         * stdio-common/tst-gets.c: Likewise.
29123         * stdio-common/tst-obprintf.c: Likewise.
29124         * stdio-common/tst-perror.c: Likewise.
29125         * stdio-common/tst-sprintf2.c: Likewise.
29126         * stdio-common/tst-sprintf3.c: Likewise.
29127         * stdio-common/tst-sprintf.c: Likewise.
29128         * stdio-common/tst-swprintf.c: Likewise.
29129         * stdio-common/tst-tmpnam.c: Likewise.
29130         * stdio-common/tst-unbputc.c: Likewise.
29131         * stdio-common/tst-wc-printf.c: Likewise.
29132         * stdlib/tst-environ.c: Likewise.
29133         * stdlib/tst-fmtmsg.c: Likewise.
29134         * stdlib/tst-limits.c: Likewise.
29135         * stdlib/tst-rand48-2.c: Likewise.
29136         * stdlib/tst-rand48.c: Likewise.
29137         * stdlib/tst-random2.c: Likewise.
29138         * stdlib/tst-random.c: Likewise.
29139         * stdlib/tst-strtol.c: Likewise.
29140         * stdlib/tst-strtoll.c: Likewise.
29141         * stdlib/tst-tls-atexit.c: Likewise.
29142         * stdlib/tst-xpg-basename.c: Likewise.
29143         * string/test-ffs.c: Likewise.
29144         * string/tst-bswap.c: Likewise.
29145         * string/tst-inlcall.c: Likewise.
29146         * string/tst-strtok.c: Likewise.
29147         * string/tst-strxfrm.c: Likewise.
29148         * sysdeps/x86_64/tst-audit10.c: Likewise.
29149         * sysdeps/x86_64/tst-audit3.c: Likewise.
29150         * sysdeps/x86_64/tst-audit4.c: Likewise.
29151         * sysdeps/x86_64/tst-audit5.c: Likewise.
29152         * time/tst-ftime_l.c: Likewise.
29153         * time/tst-getdate.c: Likewise.
29154         * time/tst-mktime3.c: Likewise.
29155         * time/tst-mktime.c: Likewise.
29156         * time/tst-posixtz.c: Likewise.
29157         * time/tst-strptime2.c: Likewise.
29158         * time/tst-strptime3.c: Likewise.
29159         * wcsmbs/tst-btowc.c: Likewise.
29160         * wcsmbs/tst-mbrtowc.c: Likewise.
29161         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29162         * wcsmbs/tst-wchar-h.c: Likewise.
29163         * wcsmbs/tst-wcpncpy.c: Likewise.
29164         * wcsmbs/tst-wcrtomb.c: Likewise.
29165         * wcsmbs/tst-wcsnlen.c: Likewise.
29166         * wcsmbs/tst-wcstof.c: Likewise.
29168 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29170         [BZ #14132]
29171         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29172         INTDEF.
29173         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29174         declaration.
29175         (_dl_mcount): Use rtld_hidden_proto.
29176         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29177         _dl_mcount.
29178         * elf/rtld.c (_rtld_global_ro): Likewise.
29180         [BZ #14132]
29181         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29182         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29183         of _dl_init_internal.
29184         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29185         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29186         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29187         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29188         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29189         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29190         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29191         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29192         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29193         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29194         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29195         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29196         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29197         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29198         * sysdeps/tile/dl-start.S (_start): Likewise.
29199         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29200         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29202         [BZ #14132]
29203         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29204         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29205         (rtld_progname): Make macro definition unconditional.
29206         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29207         INTDEF.
29208         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29209         (dl_main): Likewise.
29210         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29211         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29212         instead of _dl_argv_internal.
29213         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29214         __GI__dl_argv instead of INTUSE(_dl_argv).
29215         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29216         __GI__dl_argv instead of _dl_argv_internal.
29218         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29219         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29220         macro.
29221         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29222         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29223         New macro.
29224         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29225         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29226         macro.
29227         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29228         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29230 2014-11-04  Andreas Schwab  <schwab@suse.de>
29232         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29234 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29236         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29237         mtvsrd instruction in binary form.
29239 2014-11-03  Andreas Schwab  <schwab@suse.de>
29241         [BZ #17522]
29242         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29243         for less than MB_LEN_MAX use a local buffer of that size.
29244         * libio/tst-fputws.c: New file.
29245         * libio/Makefile (tests): Add tst-fputws.
29247 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29249         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29250         the size of the fpu_fr.fpu_dregs[] array.
29252 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29254         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29255         (__nanosleep): Do not define as alias.
29256         (nanosleep): Define as alias of __nanosleep.
29257         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29258         __libc_nanosleep name.
29260 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29262         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29263         install.texi in comment.
29265 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29267         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29268         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29269         ... add here and use lwsync or sync ...
29270         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29271         ... and add here using lwsync.
29273 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29275         * elf/dl-machine-reject-phdr.h: New file.
29276         * elf/dl-load.c: #include that.
29277         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29278         if that returned true.
29280 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29282         [BZ #17496]
29283         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29284         gen-as-const-headers chunk.  Add a big scare comment after the last
29285         safe place to touch before-compile.
29287 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29289         * manual/install.texi (Tools for Compilation): Update autoconf
29290         version requirements.
29291         * INSTALL: Regenerated.
29293         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29294         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29295         (__libc_pselect): Likewise.
29297         [BZ #14138]
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29303 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29305         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29306         correct barrier instruction.
29307         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29308         Likewise.
29309         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29310         Likewise.
29312 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29314         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29315         after defining inlines.  Instead, just use parens to defeat macro
29316         expansion of __isctype in its declaration.
29318 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29320         * include/sys/uio.h (__libc_readv): Remove declaration.
29321         (__libc_writev): Likewise.
29322         * misc/readv.c (__libc_readv): Rename to __readv.
29323         (__readv): Do not define as alias.
29324         (readv): Define as alias of __readv.
29325         * misc/writev.c (__libc_writev): Rename to __writev.
29326         (__writev): Do not define as alias.
29327         (writev): Define as alias of __writev.
29328         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29329         (__readv): Do not define as alias.
29330         (readv): Define unconditionally as alias of __readv.
29331         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29332         (__writev): Do not define as alias.
29333         (writev): Define unconditionally as alias of __writev.
29334         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29335         name.
29336         (writev): Do not define __libc_writev name.
29338 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29340         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29341         (convert_charseq): New function, broken out of ...
29342         (use_from_charmap): ... here.  Call it.
29343         (use_to_charmap): Use convert_charseq and free instead of duplicating
29344         its code with a variable-length stack struct.
29346 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29348         * include/fcntl.h (__libc_creat): Remove declaration.
29349         * io/creat.c (__libc_creat): Rename to creat.
29350         (creat): Do not define as alias.
29351         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29352         of creat instead of __libc_creat.
29353         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29354         to creat.
29355         (creat): Do not define as alias.
29356         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29357         __libc_creat.
29358         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29359         __libc_creat name.
29360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29361         Likewise.
29363 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29365         * manual/llio.texi: Add comments discussing why write() may be
29366         considered MT-unsafe on Linux.
29368 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29370         * dl-load.c (local_strdup): Remove.
29371         (expand_dynamic_string_token): Use __strdup.
29372         (decompose_rpath): Likewise.
29373         (_dl_map_object): Likewise.
29375 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29377         [BZ #14132]
29378         * sysdeps/generic/unwind-dw2-fde.c
29379         (__register_frame_info_bases_internal): Do not declare.
29380         (__register_frame_info_table_bases_internal): Likewise.
29381         (__deregister_frame_info_bases_internal): Likewise.
29382         (__register_frame_info_bases): Declare and use hidden_proto before
29383         definition.  Use hidden_def instead of INTDEF.
29384         (__register_frame_info_table_bases): Likewise.
29385         (__deregister_frame_info_bases): Likewise.
29386         (__register_frame_info): Do not use INTUSE.
29387         (__register_frame): Likewise.
29388         (__register_frame_info_table): Likewise.
29389         (__register_frame_table): Likewise.
29390         (__deregister_frame_info): Likewise.
29391         (__deregister_frame): Likewise.
29393 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29396         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29397         not undefine.
29398         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29399         Likewise.
29400         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29401         Likewise.
29403 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29405         [BZ #14138]
29406         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29407         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29408         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29409         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29410         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29411         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29412         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29413         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29414         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29415         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29416         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29417         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29418         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29419         syscall.
29420         (setfsuid): Likewise.
29421         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29422         (setfsuid): Likewise.
29423         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29424         (setfsuid): Likewise.
29425         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29426         Likewise.
29427         (setfsuid): Likewise.
29428         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29429         (setfsuid): Likewise.
29430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29431         Likewise.
29432         (setfsuid): Likewise.
29434 2014-10-27  Andreas Schwab  <schwab@suse.de>
29436         [BZ #17501]
29437         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29438         check for Slow_SSE4_2 feature bit.
29439         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29440         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29441         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29442         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29444 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29446         * configure.ac: Validate compiler version with a empirical test of
29447         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29448         $CC -v output.
29449         * configure: Regenerated.
29451         * inet/htons.c (htons): Prototypify.
29452         * inet/htonl.c (htonl): Likewise.
29454 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29456         * string/strncat.c (strncat): Improve performance by using strlen.
29458 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29460         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29462 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29464         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29465         Call libc_fetestexcept_aarch64.
29467 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29469         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29470         Call libc_feholdexcept_aarch64.
29472 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29474         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29475         Call get_rounding_mode.
29477 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29479         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29480         Simplify logic.
29482 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29484         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29485         Simplify logic.
29487 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29489         [BZ #14138]
29490         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29491         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29492         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29493         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29494         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29495         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29496         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29497         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29498         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29499         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29500         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29501         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29502         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29503         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29504         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29505         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29506         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29507         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29508         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29509         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29510         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29511         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29512         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29513         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29514         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29515         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29516         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29517         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29518         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29519         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29520         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29521         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29522         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29523         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29524         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29525         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29526         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29527         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29528         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29529         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29530         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29531         syscall.
29532         (geteuid): Likewise.
29533         (getgid): Likewise.
29534         (getuid): Likewise.
29535         (getresgid): Likewise.
29536         (getresuid): Likewise.
29537         (getgroups): Likewise.
29538         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29539         (geteuid): Likewise.
29540         (getgid): Likewise.
29541         (getuid): Likewise.
29542         (getresgid): Likewise.
29543         (getresuid): Likewise.
29544         (getgroups): Likewise.
29545         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29546         (geteuid): Likewise.
29547         (getgid): Likewise.
29548         (getuid): Likewise.
29549         (getresgid): Likewise.
29550         (getresuid): Likewise.
29551         (getgroups): Likewise.
29552         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29553         Likewise.
29554         (geteuid): Likewise.
29555         (getgid): Likewise.
29556         (getuid): Likewise.
29557         (getresgid): Likewise.
29558         (getresuid): Likewise.
29559         (getgroups): Likewise.
29560         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29561         (geteuid): Likewise.
29562         (getgid): Likewise.
29563         (getuid): Likewise.
29564         (getresgid): Likewise.
29565         (getresuid): Likewise.
29566         (getgroups): Likewise.
29567         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29568         Likewise.
29569         (geteuid): Likewise.
29570         (getgid): Likewise.
29571         (getuid): Likewise.
29572         (getgroups): Likewise.
29574         [BZ #14138]
29575         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29576         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29577         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29578         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29579         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29580         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29581         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29582         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29583         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29584         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29585         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29586         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29588         __chown.
29589         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29590         (lchown): Likewise.
29591         (fchown): Likewise.
29592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29593         Likewise.
29594         (lchown): Likewise.
29595         (fchown): Likewise.
29596         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29597         (lchown): Likewise.
29598         (fchown): Likewise.
29599         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29600         Likewise.
29601         (lchown): Likewise.
29602         (fchown): Likewise.
29604 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29606         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29607         Simplify logic.
29609 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29611         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29612         Cleanup logic.
29614 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29616         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29617         Remove unused include.
29619 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29621         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29622         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29623         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29624         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29626 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29627             Helge Deller <deller@gmx.de>
29629         [BZ #17508]
29630         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29631         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29632         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29634 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29636         [BZ #14132]
29637         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29638         Remove macro definition.
29639         (__ashrdi3_v_glibc20): Likewise.
29640         (__lshrdi3_v_glibc20): Likewise.
29641         (__cmpdi2_v_glibc20): Likewise.
29642         (__ucmpdi2_v_glibc20): Likewise.
29643         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29644         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29645         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29646         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29647         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29648         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29650 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29652         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29653         old GNU extension [0] syntax.
29654         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29655         alloca rather than an array member with variable length.
29656         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29657         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29658         (parse_opt): ... here.  Likewise use alloca there.
29659         Validate the -i argument before checking for rootness.
29660         (send_shutdown): New function, broken out of ...
29661         (parse_opt): ... here.
29663 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29665         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29666         macro to get at the _rt_local_ro field.
29667         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29668         ([PIC] case) or _dl_hwcap ([!PIC] case).
29669         * sysdeps/arm/setjmp.S: Likewise.
29671         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29672         * sysdeps/arm/configure.ac: New check to define it.
29673         * sysdeps/arm/configure: Regenerated.
29674         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29675         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29676         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29677         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29678         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29679         Use move/movt pair instead of a load.
29680         (LDST_GLOBAL): Macro removed.
29681         (LDR_GLOBAL): New macro replaces it.
29682         (LDR_HIDDEN): New macro.
29683         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29684         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29686         * setjmp/tst-setjmp-static.c: New file.
29687         * setjmp/Makefile (tests): Add it.
29688         (tests-static): New variable.
29690 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29692         [BZ #17485]
29693         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29695 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29697         [BZ #14132]
29698         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29700 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29702         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29704 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29706         * io/fts.c (dirent_not_directory): New function.
29707         (fts_build): Call it.
29709 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29711         * nptl/version.c (__nptl_main): Use normal __write rather than
29712         INTERNAL_SYSCALL.
29713         (banner): Update copyright years.
29715         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29716         gettimeofday.
29717         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29718         * nptl/pthread_cond_timedwait.c: Likewise.
29719         * nptl/pthread_mutex_timedlock.c: Likewise.
29720         * nptl/sem_timedwait.c: Likewise.
29722         * sysdeps/nptl/bits/libc-lock.h
29723         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29724         (__libc_lock_init_recursive): Return void, not 0.
29725         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29726         (__libc_rwlock_init): Likewise.
29727         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29729 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29731         [BZ #15215]
29732         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29733         (__pthread_once_slow): ... here.
29734         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29735         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29737 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29739         [BZ #15215]
29740         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29741         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29742         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29743         * nptl/pthread_once.c (__pthread_once): Likewise.
29744         Update comments.
29746 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29748         [BZ #14138]
29749         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29750         name.
29751         (writev): Use __libc_writev as strong name.
29752         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29753         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29755 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29757         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29759         * sysdeps/i386/nptl/tls.h
29760         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29761         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29762         New macros.
29763         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29764         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29765         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29766         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29767         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29768         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29770         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29771         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29772         on [__NR_futex].
29773         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29774         broken out of ...
29775         (__pthread_mutex_init): ... here.  Call it.
29776         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29777         Conditionalize PI cases on [__NR_futex].
29778         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29779         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29780         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29782         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29783         conditional on [SIGSETXID].
29784         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29785         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29786         is defined.  Likewise for SIGSETXID.
29787         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29788         Conditionalize definitions on [SIGSETXID].
29789         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29790         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29791         unblocking on [SIGCANCEL].
29793         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29794         [__NR_set_robust_list].
29796 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29798         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29799         (do_compare): Likewise.
29801 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29803         [BZ #15884]
29804         * string/strcoll_l.c: Don't include stdio.h.
29805         (coll_seq): Remove members idxarr and rulearr.
29806         (get_next_seq_cached): Remove function.
29807         (get_next_seq): Likewise.
29808         (get_next_seq_nocache): Rename to get_next_seq.
29809         (do_compare): Remove function.
29810         (do_compare_nocache): Rename to do_compare.
29811         (STRCOLL): Remove weight and rules cache.
29813 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29815         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29816         * sysdeps/arm/sfp-machine.h: ... to here.
29817         * sysdeps/arm/Implies: Remove arm/soft-fp.
29819 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29821         * conform/data/sys/utsname.h-data (*_t): Allow.
29822         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29823         [POSIX] (WEXITED): Do not expect constant.
29824         [POSIX] (WSTOPPED): Likewise.
29825         [POSIX] (WNOHANG): Likewise.
29826         [POSIX] (WNOWAIT): Likewise.
29827         [POSIX] (siginfo_t): Do not expect type or elements.
29828         [POSIX] (pid_t): Do not expect type.
29829         [POSIX] (signal.h): Do not allow header.
29830         [POSIX] (sys/resource.h): Likewise.
29831         [POSIX] (si_*): Do not allow pattern.
29832         [POSIX] (W*): Likewise.
29833         [POSIX] (P_*): Likewise.
29834         [POSIX] (BUS_*): Likewise.
29835         [POSIX] (CLD_*): Likewise.
29836         [POSIX] (FPE_*): Likewise.
29837         [POSIX] (ILL_*): Likewise.
29838         [POSIX] (POLL_*): Likewise.
29839         [POSIX] (SEGV_*): Likewise.
29840         [POSIX] (SI_*): Likewise.
29841         [POSIX] (TRAP_*): Likewise.
29842         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29843         variable.
29845 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29847         [BZ #12926]
29848         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29849         infinite loop when __recvmsg returns 0.
29851 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29853         * CANCEL-FCT-WAIVE: Remove file.
29854         * CANCEL-FILE-WAIVE: Likewise.
29856         [BZ #14132]
29857         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29858         instead of INTVARDEF.
29859         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29860         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29861         rtld_hidden_data_def instead of INTVARDEF.
29862         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29863         * elf/dl-deps.c (expand_dst): Likewise.
29864         * elf/dl-load.c (_dl_dst_count): Likewise.
29865         (_dl_dst_substitute): Likewise.
29866         (decompose_rpath): Likewise.
29867         (_dl_init_paths): Likewise.
29868         (open_path): Likewise.
29869         (_dl_map_object): Likewise.
29870         * elf/rtld.c (dl_main): Likewise.
29871         (process_dl_audit): Likewise.
29872         (process_envvars): Likewise.
29873         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29874         Remove declaration.
29875         (__libc_enable_secure): Use rtld_hidden_proto.
29877 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29879         * elf/dl-load.c
29880         (add_path): New function broken out of _dl_rtld_di_serinfo.
29881         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29883 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29885         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29886         parentheses around macro arguments.
29887         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29889         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29898         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29902         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29903         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29914         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29915         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29916         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29917         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29918         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29919         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29920         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29921         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29922         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29923         Likewise.
29924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29931         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29935         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29936         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29945         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29946         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29947         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29948         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29949         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29950         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29951         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29952         (_FP_FRAC_SRS_1): Likewise.
29953         (_FP_FRAC_CLZ_1): Likewise.
29954         (_FP_MUL_MEAT_1_imm): Likewise.
29955         (_FP_MUL_MEAT_1_wide): Likewise.
29956         (_FP_MUL_MEAT_1_hard): Likewise.
29957         (_FP_SQRT_MEAT_1): Likewise.
29958         (_FP_FRAC_ASSEMBLE_1): Likewise.
29959         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29960         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29961         (__FP_CLZ_2): Likewise.
29962         (_FP_MUL_MEAT_2_wide): Likewise.
29963         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29964         (_FP_MUL_MEAT_2_gmp): Likewise.
29965         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29966         (_FP_SQRT_MEAT_2): Likewise.
29967         (_FP_FRAC_ASSEMBLE_2): Likewise.
29968         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29969         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29970         (_FP_FRAC_CLZ_4): Likewise.
29971         (_FP_MUL_MEAT_4_wide): Likewise.
29972         (_FP_MUL_MEAT_4_gmp): Likewise.
29973         (_FP_SQRT_MEAT_4): Likewise.
29974         (_FP_FRAC_ASSEMBLE_4): Likewise.
29975         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29976         * soft-fp/op-common.h (_FP_CMP): Likewise.
29977         (_FP_CMP_EQ): Likewise.
29978         (_FP_CMP_UNORD): Likewise.
29979         (_FP_TO_INT): Likewise.
29980         (_FP_FROM_INT): Likewise.
29981         [!__FP_CLZ] (__FP_CLZ): Likewise.
29982         (_FP_DIV_HELP_imm): Likewise.
29983         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29984         Likewise.
29985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29986         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29987         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29988         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29996         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29999         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30000         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30001         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30014         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30017         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30018         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30019         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30020         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30021         (FP_UNPACK_RAW_SP): Likewise.
30022         (FP_PACK_RAW_S): Likewise.
30023         (FP_PACK_RAW_SP): Likewise.
30024         (FP_UNPACK_S): Likewise.
30025         (FP_UNPACK_SP): Likewise.
30026         (FP_UNPACK_SEMIRAW_S): Likewise.
30027         (FP_UNPACK_SEMIRAW_SP): Likewise.
30028         (FP_PACK_S): Likewise.
30029         (FP_PACK_SP): Likewise.
30030         (FP_PACK_SEMIRAW_S): Likewise.
30031         (FP_PACK_SEMIRAW_SP): Likewise.
30032         (_FP_SQRT_MEAT_S): Likewise.
30033         (FP_CMP_S): Likewise.
30034         (FP_CMP_EQ_S): Likewise.
30035         (FP_CMP_UNORD_S): Likewise.
30036         (FP_TO_INT_S): Likewise.
30037         (FP_FROM_INT_S): Likewise.
30039         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30041         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30042         (FP_EX_INVALID_IMZ): Likewise.
30043         (FP_EX_INVALID_IMZ_FMA): Likewise.
30044         (FP_EX_INVALID_ISI): Likewise.
30045         (FP_EX_INVALID_ZDZ): Likewise.
30046         (FP_EX_INVALID_IDI): Likewise.
30047         (FP_EX_INVALID_SQRT): Likewise.
30048         (FP_EX_INVALID_CVI): Likewise.
30049         (FP_EX_INVALID_VC): Likewise.
30050         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30051         "invalid" exceptions.
30052         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30053         (_FP_ADD_INTERNAL): Likewise.
30054         (_FP_MUL): Likewise.
30055         (_FP_FMA): Likewise.
30056         (_FP_DIV): Likewise.
30057         (_FP_CMP_CHECK_NAN): Likewise.
30058         (_FP_SQRT): Likewise.
30059         (_FP_TO_INT): Likewise.
30060         (FP_EXTEND): Likewise.
30062 2014-10-09  Allan McRae  <allan@archlinux.org>
30064         * po/fr.po: Update French translation from translation project.
30066 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30068         [BZ #14132]
30069         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30070         of INTDEF.
30071         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30072         (__cxa_atexit): Use libc_hidden_proto.
30073         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30075         [BZ #14132]
30076         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30077         declaration.
30078         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30079         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30080         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30081         [!_ISOMAC] (__iswctype_internal): Likewise.
30082         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30083         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30084         alias.
30085         (fcntl): Remove __fcntl_internal alias.
30086         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30087         __connect_internal alias.
30088         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30089         Likewise.
30091         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30092         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30093         FP_DENORM_ZERO.
30094         (_FP_CHECK_FLUSH_ZERO): New macro.
30095         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30096         (_FP_CMP): Likewise.
30097         (_FP_CMP_EQ): Likewise.
30098         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30099         FP_DENORM_ZERO.
30100         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30101         (FP_TRUNC): Likewise.
30103         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30104         treated as invalid conversion, not as normal exponent.
30106         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30107         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30108         (_FP_CMP_EQ): Likewise.
30109         (_FP_CMP_UNORD): Likewise.
30110         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30111         (FP_CMP_EQ_D): Likewise.
30112         (FP_CMP_UNORD_D): Likewise.
30113         * soft-fp/extended.h (FP_CMP_E): Likewise.
30114         (FP_CMP_EQ_E): Likewise.
30115         (FP_CMP_UNORD_E): Likewise.
30116         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30117         (FP_CMP_EQ_Q): Likewise.
30118         (FP_CMP_UNORD_Q): Likewise.
30119         * soft-fp/single.h (FP_CMP_S): Likewise.
30120         (FP_CMP_EQ_S): Likewise.
30121         (FP_CMP_UNORD_S): Likewise.
30122         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30123         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30124         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30125         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30126         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30127         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30128         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30129         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30130         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30131         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30132         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30133         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30134         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30135         to FP_CMP_Q.
30136         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30137         FP_CMP_Q.
30138         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30139         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30140         FP_CMP_EQ_Q.
30141         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30142         FP_CMP_Q.
30143         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30144         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30145         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30146         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30147         FP_CMP_EQ_Q.
30148         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30149         FP_CMP_Q.
30150         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30151         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30152         FP_CMP_EQ_Q.
30153         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30154         FP_CMP_Q.
30155         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30156         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30157         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30158         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30159         FP_CMP_EQ_Q.
30161         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30162         a subnormal result, set the underflow exception if trapping on
30163         underflow is enabled.
30164         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30165         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30166         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30167         redefine to 0.
30168         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30169         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30170         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30171         * soft-fp/extendxftf2.c (__extendxftf2): Use
30172         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30174         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30175         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30176         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30177         FP_HANDLE_EXCEPTIONS.
30178         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30179         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30180         FP_HANDLE_EXCEPTIONS.
30181         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30182         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30183         FP_HANDLE_EXCEPTIONS.
30184         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30185         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30186         FP_HANDLE_EXCEPTIONS.
30188 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30190         [BZ #14132]
30191         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30192         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30193         use INTUSE.
30194         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30195         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30196         Remove alias.
30197         (__adjtimex): Define using libc_hidden_ver.
30198         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30199         Remove declaration.
30200         (ntp_gettime): Call __adjtimex directly.
30201         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30202         Remove declaration.
30203         (ntp_gettimex): Call __adjtimex directly.
30204         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30205         __adjtimex_internal alias.
30207 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30209         [BZ #17460]
30210         * nscd/nscd.c (more_help): Rewrite list of tables collection
30211         using xstrdup and asprintf.
30213         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30215 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30216             Roland McGrath  <roland@hack.frob.com>
30218         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30219         (do_lookup_unique): ... local function 'enter' here; update callers.
30221 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30223         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30224         compat_symbol calls on [SHARED].
30225         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30226         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30227         Remove.
30228         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30229         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30230         (oldsetrlimit): Remove.
30231         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30233         (lchown): New syscall entry.
30234         (oldsetrlimit): Remove.
30235         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30236         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30237         (oldsetrlimit): Remove.
30238         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30240         [BZ #14138]
30241         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30242         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30243         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30244         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30245         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30246         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30247         (fchown): Likewise.
30248         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30249         (fchown): Likewise.
30250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30251         Likewise.
30253 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30256         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30257         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30258         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30259         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30260         Likewise.
30261         (__old_sem_post): Likewise.
30263 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30265         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30266         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30267         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30268         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30269         Use INLINE_VSYSCALL macro.
30270         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30271         __vdso_clock_gettime.
30272         * sysdeps/unix/sysv/linux/tile/init-first.c
30273         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30274         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30275         __vdso_clock_gettime.
30277         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30278         to set up frame more cleanly.
30280         * sysdeps/tile/memcmp.c: New file.
30282         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30284         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30285         * sysdeps/tile/tilegx/strcasestr.c: New file.
30286         * sysdeps/tile/tilegx/strnlen.c: New file.
30287         * sysdeps/tile/tilegx/strstr.c: New file.
30289         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30291 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30293         * nptl/tst-setuid3.c: Write errors to stdout.
30295 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30297         * elf/dl-deps.c
30298         (preload): New functions broken out of _dl_map_object_deps.
30299         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30301 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30303         [BZ #14138]
30304         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30305         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30307 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30309         * sysdeps/mips/strcmp.S: New.
30311 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30313         [BZ #14138]
30314         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30315         (linkat): Likewise.
30316         (mkdirat): Likewise.
30317         (readlinkat): Likewise.
30318         (renameat): Likewise.
30319         (symlinkat): Likewise.
30320         (unlinkat): Likewise.
30321         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30322         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30323         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30324         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30325         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30326         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30327         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30329 2014-09-30  Will Newton  <will.newton@linaro.org>
30331         * math/math.h: Define long double math functions if
30332         _LIBC_TEST is defined.
30333         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30335         * localedata/Makefile: Move assignment to tests-special
30336         into an ifdef testing run-built-tests.
30337         * timezone/Makefile: Likewise.
30339 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30341         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30342         with $(BASH) not $(SHELL).
30344 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30345             Matthew LeGendre  <legendre1@llnl.gov>
30347         [BZ #17411]
30348         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30349         l_reloc_result.
30351 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30353         * stdio-common/printf_fp.c
30354         (hack_digit): New function, broken out of ...
30355         (__printf_fp): ... local function here.  Update call sites.
30356         hack_digit now takes an additional parameter that is a pointer
30357         to a struct of the referenced locals.  Those locals moved inside
30358         the struct and references updated.
30360 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30362         * aclocal.m4: Require autoconf 2.69.
30363         * configure: Regenerated.
30364         * sysdeps/aarch64/configure: Likewise.
30365         * sysdeps/alpha/configure: Likewise.
30366         * sysdeps/arm/armv7/configure: Likewise.
30367         * sysdeps/arm/configure: Likewise.
30368         * sysdeps/ia64/configure: Likewise.
30369         * sysdeps/mach/configure: Likewise.
30370         * sysdeps/mips/configure: Likewise.
30371         * sysdeps/s390/configure: Likewise.
30372         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30375         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30376         file.
30377         * sysdeps/ia64/configure.ac: Likewise.
30379 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30382         specify symbol version for ld.so.  Do not include entry for
30383         libpthread.
30384         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30385         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30386         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30388         [BZ #14171]
30389         * Makeconfig [$(build-shared) = yes]
30390         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30391         makefiles.
30392         [$(build-shared) = yes && $(soversions.mk-done) = t]
30393         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30394         [$(build-shared) = yes && $(soversions.mk-done) = t]
30395         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30396         to Makerules.
30397         [$(build-shared) = yes && $(soversions.mk-done) = t]
30398         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30399         here.
30400         [$(build-shared) = yes && $(soversions.mk-done) = t]
30401         (common-generated): Don't append gnu/lib-names.h and
30402         gnu/lib-names.stmp here.
30403         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30404         (lib-names-h-abi): New variable.
30405         [$(build-shared) = yes && $(soversions.mk-done) = t]
30406         (lib-names-stmp-abi): Likewise.
30407         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30408         abi-variants] (before-compile): Append
30409         $(common-objpfx)$(lib-names-h-abi).
30410         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30411         abi-variants] (common-generated): Append gnu/lib-names.h.
30412         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30413         abi-variants] (install-others-nosubdir): Depend on
30414         $(inst_includedir)/$(lib-names-h-abi).
30415         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30416         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30417         [$(build-shared) = yes && $(soversions.mk-done) = t]
30418         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30419         [$(build-shared) = yes && $(soversions.mk-done) = t]
30420         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30421         [$(build-shared) = yes && $(soversions.mk-done) = t]
30422         (common-generated): Append $(lib-names-h-abi) and
30423         $(lib-names-stmp-abi).
30424         * scripts/lib-names.awk: Do not handle multi being set.
30425         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30426         Remove variable.
30427         (abi-lp64_be-ld-soname): Likewise.
30428         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30429         Likewise.
30430         (abi-hard-ld-soname): Likewise.
30431         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30432         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30433         Remove variable.
30434         (abi-o32_hard-ld-soname): Likewise.
30435         (abi-o32_soft_2008-ld-soname): Likewise.
30436         (abi-o32_hard_2008-ld-soname): Likewise.
30437         (abi-n32_soft-ld-soname): Likewise.
30438         (abi-n32_hard-ld-soname): Likewise.
30439         (abi-n32_soft_2008-ld-soname): Likewise.
30440         (abi-n32_hard_2008-ld-soname): Likewise.
30441         (abi-n64_soft-ld-soname): Likewise.
30442         (abi-n64_hard-ld-soname): Likewise.
30443         (abi-n64_soft_2008-ld-soname): Likewise.
30444         (abi-n64_hard_2008-ld-soname): Likewise.
30445         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30446         Likewise.
30447         (abi-64-v2-ld-soname): Likewise.
30448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30449         ld.so entries.
30450         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30451         variable.
30452         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30453         entry.
30454         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30455         variable.
30456         (abi-64-ld-soname): Likewise.
30457         (abi-x32-ld-soname): Likewise.
30458         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30459         entry.
30460         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30462 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30464         [BZ #14138]
30465         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30466         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30467         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30468         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30469         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30470         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30471         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30472         syscall entry for GLIBC_2.2 symbol version.
30473         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30474         Likewise.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30476         (setrlimit): Likewise.
30477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30478         Likewise.
30480 2014-09-23  Will Newton  <will.newton@linaro.org>
30482         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30483         _LINUX_ARM_SYSDEP_H include guard too.
30484         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30485         define.
30487 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30489         * sysdeps/unix/sysv/linux/eventfd.c:
30490         Make first argument unsigned.
30491         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30492         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30494 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30496         [BZ #16852]
30497         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30498         * socket/sys/socket.h: Likewise.
30499         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30501 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30503         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30505 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30507         * time/tst-ftime.c: New test.
30508         * time/Makefile (tests): Add tst-ftime.
30510 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30512         * soft-fp/extended.h: Fix comment formatting.
30513         * soft-fp/op-1.h: Likewise.
30514         * soft-fp/op-2.h: Likewise.
30515         * soft-fp/op-4.h: Likewise.
30516         * soft-fp/op-8.h: Likewise.
30517         * soft-fp/op-common.h: Likewise.
30518         * soft-fp/soft-fp.h: Likewise.
30520         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30522 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30524         [BZ #6652]
30525         * Makeconfig (soversions-default-setname): Remove variable.
30526         ($(common-objpfx)soversions.i): Don't pass default_setname to
30527         soversions.awk.
30528         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30529         oldest_abi to abi-versions.awk.
30530         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30531         * config.make.in (oldest-abi): Remove variable.
30532         * configure.ac (--enable-oldest-abi): Remove configure option.
30533         * configure: Regenerated.
30534         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30535         text.
30536         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30537         * scripts/soversions.awk: Do not handle default_setname variable.
30538         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30539         variable.
30540         * sysdeps/mach/hurd/configure: Regenerated.
30541         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30542         variable.
30543         * sysdeps/unix/sysv/linux/configure: Regenerated.
30545 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30547         * elf/Makefile (CFLAGS-interp.c): Remove.
30548         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30549         path string.
30550         * elf/interp.c: Include generated runtime-linker.h
30552         * Makerules (lib%.so): Don't include $(+interp) in
30553         prerequisites.
30554         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30555         * dlfcn/eval.c: Remove file.
30557         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30558         macros.
30560         [BZ #17266]
30561         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30562         4.2 and newer.
30564         [BZ #17370]
30565         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30567 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30568             Jakub Jelinek  <jakub@redhat.com>
30570         [BZ #17266]
30571         * libio/stdio.h: Check definition of __fortify_function
30572         instead of __extern_always_inline to include bits/stdio2.h.
30573         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30574         check if __extern_always_inline is defined.
30575         [__USE_MISC || __USE_XOPEN]: Likewise.
30576         [__USE_ISOC99] Likewise.
30577         * misc/sys/cdefs.h (__fortify_function): Define only if
30578         __extern_always_inline is defined.
30579         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30580         __extern_always_inline and __extern_inline only for g++-4.3
30581         and newer or a compatible gcc.
30583 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30585         [BZ #17371]
30586         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30587         last change to handle zero prefix length.
30589 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30591         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30592         _SC_REGEX_VERSION.
30594         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30595         _POSIX_RAW_SOCKETS.
30597 2014-09-13  Allan McRae  <allan@archlinux.org>
30599         * po/ru.po: Update Russian translation from translation project.
30601 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30603         * locale/programs/locale.c (show_locale_vars): Inline local function
30604         into its sole call site.  Clean up some style nits.
30605         (print_item): New function, broken out of ...
30606         (show_info): ... local function here.  Clean up style nits.
30608         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30609         out of ...
30610         (set_class_defaults): ... local function set_default here.
30611         Define set_default as a macro locally to pass constant parameters.
30612         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30613         rather than a shared local.
30615         * stdlib/rpmatch.c (try): New function, broken out of ...
30616         (rpmatch): ... local function here.  Also, prototypify definition.
30618 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30620         * scripts/soversions.awk: Do not handle configuration names.
30621         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30622         vendor and os variables to soversions.awk.
30623         * configure.ac: Do not modify gnu-* host_os.
30624         * configure: Regenerated
30625         * shlib-versions: Remove first column with configuration names.
30626         * nptl/shlib-versions: Likewise.
30627         * nptl_db/shlib-versions: Likewise.
30628         * sysdeps/hppa/shlib-versions: Likewise.
30629         * sysdeps/m68k/shlib-versions: Likewise.
30630         * sysdeps/mach/hurd/shlib-versions: Likewise.
30631         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30632         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30633         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30634         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30635         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30636         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30637         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30638         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30640         Likewise.
30641         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30642         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30643         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30644         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30645         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30646         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30647         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30648         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30651         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30653         Regenerated.
30654         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30656         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30658         * shlib-versions: Remove OS-specific entries.  Moved to files in
30659         sysdeps.
30660         * sysdeps/mach/hurd/shlib-versions: New file.
30661         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30663         * nptl/shlib-versions: Remove architecture-specific entries.
30664         Moved to files in sysdeps.
30665         * shlib-versions: Likewise.
30666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30667         file.
30668         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30669         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30670         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30671         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30673         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30674         (UDP_NO_CHECK6_RX): Likewise.
30676 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30678         * sysdeps/posix/sysconf.c (__sysconf): Spell
30679         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30681 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30683         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30684         loading.
30685         * iconv/Versions (__gconv_transliterate): Export for use from
30686         gconv modules.
30687         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30688         (struct __gconv_trans_data, __gconv_trans_fct,
30689         __gconv_trans_context_fct, __gconv_trans_query_fct,
30690         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30691         definitions.
30692         (struct __gconv_step_data): Remove __trans member.
30693         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30694         longer hidden.  Remove unused trans_data argument.
30695         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30696         (__gconv_translit_find): Remove declaration.
30697         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30698         prototype.
30699         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30700         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30701         trans_data argument.  Add hidden definition.
30702         (__gconv_translit_find): Remove.
30703         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30704         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30705         * iconv/skeleton.c: Remove transliteration initialization.
30706         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30707         __gconv_step_data initialization.
30708         * libio/iofwide.c (__libio_translit_): Remove.
30709         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30710         * wcsmbs/btowc.c (__btowc): Likewise.
30711         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30712         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30713         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30714         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30715         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30716         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30717         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30718         * wcsmbs/wctob.c (wctob): Likewise.
30720 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30722         [BZ #16194]
30723         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30724         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30725         register usage.
30726         * sysdeps/x86/Makefile: Adjust.
30728 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30729             Roland McGrath  <roland@hack.frob.com>
30731         * locale/weight.h: Add include guard.
30732         (findidx): Make static rather than auto; take new parameters
30733         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30734         * locale/weightwc.h: Likewise.
30735         * posix/fnmatch_loop.c
30736         (FCT): Change type of EXTRA from int32_t to wint_t.
30737         Don't include either header inside the function.
30738         Call FINDIDX rather than findidx, and pass new arguments.
30739         #undef FINDIDX at the end of the file.
30740         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30741         FINDIDX before including fnmatch_loop.c for the non-wide version.
30742         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30743         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30744         for the wide version.
30745         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30746         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30747         Pass new arguments to findidx.
30748         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30749         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30750         Don't #include it inside the function.  Pass new arguments to findidx.
30751         * posix/regex_internal.h
30752         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30753         (re_string_elem_size_at): Don't #include it inside the function.
30754         Pass new arguments to findidx.
30755         * string/strcoll_l.c: #include WEIGHT_H at top level.
30756         (get_next_seq): Don't #include it inside the function.
30757         Pass new arguments to findidx.
30758         (get_next_seq_nocache): Likewise.
30759         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30760         (STRXFRM): Don't #include it inside the function.
30761         Pass new arguments to findidx.
30763 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30765         [BZ #17344]
30766         * malloc/malloc.c (unlink): Turn asserts into a call to
30767         malloc_printerr.
30769 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30771         [BZ #17370]
30772         * libio/wfileops (do_ftell_wide): Free OUT.
30774 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30776         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30778 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30780         [BZ #17363]
30781         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30782         group if the current group is empty.
30784 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30786         * benchtests/bench-memset.c (test_main): Add more test from size
30787         from 32 to 512 bytes.
30788         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30789         Add POWER8 memset object.
30790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30791         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30792         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30793         implementation.
30794         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30795         Likewise.
30796         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30797         multiarch POWER8 memset optimization.
30798         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30799         POWER8 memset optimization.
30801         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30802         Remove bzero multiarch objects.
30803         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30804         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30805         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30806         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30807         Remove define.
30808         [__bzero]: Redefine to specific name.
30809         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30810         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30811         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30812         define.
30813         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30814         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30816 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30818         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30819         warnings into errors.
30821         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30822         __cxa_thread_atexit_impl prototype.
30824 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30826         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30827         Fix capitalization of error message.
30829 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30831         * sysdeps/mips/preconfigure: Modify ABI tests.
30833 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30835         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30837 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30838             Carlos O'Donell  <carlos@systemhalted.org>
30840         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30841         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30842         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30843         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30844         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30845         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30846         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30847         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30848         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30849         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30850         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30851         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30852         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30853         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30854         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30855         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30857         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30858         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30859         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30861         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30862         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30863         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30864         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30865         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30866         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30867         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30868         Deconditionalize the code that was previously under [RESET_PID].
30869         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30870         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30871         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30872         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30873         include sysdep.h.
30875 2014-09-08  Allan McRae  <allan@archlinux.org>
30877         * version.h (RELEASE): Set to "development".
30878         (VERSION): Set to "2.20.90"
30880 2014-09-07  Allan McRae  <allan@archlinux.org
30882         * version.h (RELEASE): Set to "stable".
30883         (VERSION): Set to "2.20"
30884         * include/features.h (__GLIBC_MINOR__): Set to 20.
30886         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30887         Liebler.
30889         * po/ko.po: Update Korean translation from translation project.
30891 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30893         [BZ #17354]
30894         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30895         macro for handling signed relocations.
30897 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30899         [BZ #17325]
30900         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30901         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30902         assert.
30903         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30904         * iconvdata/ibm935.c (BODY): Likewise.
30905         * iconvdata/ibm937.c (BODY): Likewise.
30906         * iconvdata/ibm939.c (BODY): Likewise.
30907         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30908         assert.
30909         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30910         script.
30911         * iconvdata/run-iconv-test.sh: New test loop for checking for
30912         decoder crashers.
30914 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30916         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30917         libm_hidden_ver.
30919 2014-09-01  Allan McRae  <allan@archlinux.org>
30921         * po/eo.po: Update Esperanto translation from translation project.
30923         * po/ca.po: Update Catalan translation from translation project.
30925 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30927         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30928         __proc_dostop call.
30930 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30932         [BZ #17319]
30933         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30934         to call set_thread_area instead of hand written asm.
30935         (__NR_set_thread_area): Removed define.
30936         (TLS_FLAG_WRITABLE): Likewise.
30937         (__ASSUME_SET_THREAD_AREA): Remove check.
30938         (TLS_EBX_ARG): Remove define.
30939         (TLS_LOAD_EBX): Likewise.
30941 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30943         Simplify atomicity of socket creation in bind.
30945         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30946         looking up the name after linking the file.
30948 2014-08-27  Allan McRae  <allan@archlinux.org>
30950         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30952 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30954         [BZ #17187]
30955         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30956         trans_compare, open_translit, __gconv_translit_find):
30957         Remove module loading code.
30959 2014-08-26  Allan McRae  <allan@archlinux.org>
30961         * po/vi.po: Update Vietnamese translation from translation project.
30963         * po/uk.po: Update Ukrainian translation from translation project.
30965         * po/fr.po: Update French translation from translation project.
30967         * po/ru.po: Update Russian translation from translation project.
30969         * po/pl.po: Update Polish translation from translation project.
30971         * po/cs.po: Update Czech translation from translation project.
30973         * po/de.po: Update German translation from translation project.
30975         * po/bg.po: Update Bulgarian translation from translation project.
30977         * po/sv.po: Update Sweedish translation from translation project.
30979         * po/nl.po: Update Dutch translation from translation project.
30981         * po/es.po: Update Spanish translation from translation project.
30983 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30985         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30987         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30988         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30989         (CPPFLAGS-iconvconfig): Likewise.
30990         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30992         * include/libc-symbols.h: Remove unnecessary check for
30993         NOT_IN_libc.
30994         * nptl/pthreadP.h: Likewise.
30995         * sysdeps/aarch64/setjmp.S: Likewise.
30996         * sysdeps/alpha/setjmp.S: Likewise.
30997         * sysdeps/arm/sysdep.h: Likewise.
30998         * sysdeps/i386/setjmp.S: Likewise.
30999         * sysdeps/m68k/setjmp.c: Likewise.
31000         * sysdeps/posix/getcwd.c: Likewise.
31001         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31002         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31003         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31004         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31005         * sysdeps/sh/sh3/setjmp.S: Likewise.
31006         * sysdeps/sh/sh4/setjmp.S: Likewise.
31007         * sysdeps/unix/alpha/sysdep.h: Likewise.
31008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31009         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31010         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31011         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31016         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31019         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31021         * sysdeps/x86_64/setjmp.S: Likewise.
31023 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31025         [BZ #17263]
31026         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31027         <stdint.h>.
31028         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31029         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31031 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31033         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31035         [BZ #17262]
31036         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31037         and __x86_64__ when disabling x87 inline functions.
31039 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31041         [BZ #17259]
31042         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31043         asm statement with __cpuid_count.
31045 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31047         * configure.ac: Change __ehdr_start code to dereference the struct.
31048         Run readelf on the output to look for relocations.
31049         * configure: Regenerated.
31051 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31053         [BZ #17261]
31054         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31055         value to 0.
31056         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31058 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31060         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31062 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31064         [BZ #16892]
31065         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31066         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31068 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31070         * malloc/malloc.c: Fix typo in comment.
31072 2014-08-09  Allan McRae  <allan@archlinux.org>
31074         * Regenerate libc.po.
31076 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31078         * intl/tst-gettext2.sh: Check every lang file for creation.
31080 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31082         * sysdeps/aarch64/fpu/math_private.h
31083         (libc_feholdsetround_noex_aarch64_ctx): New function.
31085 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31087         * sysdeps/arm/armv6/strcpy.S (strcpy):
31088         Fix performance issue in misaligned cases.
31090 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31092         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31093         Move definition from termios.h.
31094         (struct termio): Likewise.
31095         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31096         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31097         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31098         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31099         Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31101         Move definition to ioctl-types.h
31102         (struct termio): Likewise.
31103         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31104         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31105         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31106         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31107         Likewise.
31109 2014-08-05  Richard Henderson  <rth@redhat.com>
31111         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31112         exceptions.
31113         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31114         Add fraiseexcpt.
31115         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31116         Use __feraiseexcept.
31117         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31118         Protect libm symbols with IS_IN_libm.
31120         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31122 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31124         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31126 2014-08-04  Will Newton  <will.newton@linaro.org>
31128         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31129         file.
31131 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31133         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31134         variants for each function.
31136 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31138         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31139         appended ...
31140         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31141         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31142         appended ...
31143         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31144         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31145         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31146         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31147         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31148         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31149         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31150         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31151         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31152         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31153         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31154         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31155         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31156         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31157         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31158         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31159         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31160         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31161         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31162         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31163         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31165         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31166         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31167         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31168         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31169         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31171         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31175         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31176         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31179         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31180         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31181         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31182         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31183         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31185         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31187         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31189         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31191         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31193         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31194         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31195         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31196         Update #include.
31197         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31198         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31200 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31202         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31203         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31204         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31205         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31206         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31207         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31209 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31211         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31212         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31213         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31214         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31216 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31218         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31219         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31220         (__libc_vfork): Define function under this name.
31221         (__vfork): Define as an alias.
31222         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31223         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31225 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31227         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31228         that was previously under [RESET_PID].
31229         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31231 2014-08-04  Andreas Schwab  <schwab@suse.de>
31233         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31235 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31237         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31238         (main): Likewise.
31240 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31242         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31244 2014-08-01  Richard Henderon  <rth@redhat.com>
31246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31247         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31248         typo in exact zero test.
31249         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31250         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31253 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31255         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31256         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31257         * sysdeps/arm/sysdep.h: ... here.
31258         [!__ASSEMBLER__]: Include <stdint.h>.
31260 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31262         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31263         (HAVE_WCTYPE_H): Likewise.
31264         (HAVE_ISWCTYPE): Likewise.
31265         (ENABLE_NLS): Likewise.
31266         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31267         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31269         * posix/regex_internal.c: Check if DEBUG is defined and is
31270         set.
31272         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31273         (HAVE_MBSRTOWCS): Likewise.
31274         * posix/fnmatch.c: Include string.h unconditionally.
31276 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31278         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31279         reversal.
31281 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31283         * sysdeps/generic/safe-fatal.h: New file.
31284         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31285         * nptl/forward.c: Include it.
31286         (__pthread_unwind): Use __safe_fatal as default action, rather
31287         than a bogus use of INTERNAL_SYSCALL that could never work.
31289         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31290         * configure.ac (libc_cv_builtin_trap): New test.
31291         * configure: Regenerated.
31292         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31293         (ABORT_INSTRUCTION): Define using __builtin_trap.
31295         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31296         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31297         * sysdeps/nptl/nptl-signals.h: New file.
31298         * nptl/pthreadP.h: Include <nptl-signals.h>.
31300 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31302         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31303         (ONE_DIRECTION): Define.
31304         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31305         (ONE_DIRECTION): Define.
31306         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31307         (ONE_DIRECTION): Define.
31309 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31311         * sysdeps/s390/Makefile: Delete file.
31312         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31313         * sysdeps/s390/__longjmp.c: Delete file.
31314         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31315         Remove fields __flags and __reserved.
31316         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31317         and add versioning.
31318         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31319         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31320         * sysdeps/s390/rtld-setjmp.S: Likewise.
31321         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31322         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31323         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31324         * sysdeps/s390/s390-32/setjmp.S: ... here.
31325         Add versioning.
31326         (__sigsetjmp): Remove setting __flags field.
31327         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31328         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31329         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31330         * sysdeps/s390/s390-64/setjmp.S: ... here.
31331         Add versioning.
31332         (__sigsetjmp): Remove setting __flags field.
31333         * sysdeps/s390/setjmp.S: Delete file.
31334         * sysdeps/s390/sigjmp.c: Likewise.
31335         * sysdeps/s390/v1-longjmp.c: Likewise.
31336         * sysdeps/s390/v1-setjmp.h: Likewise.
31337         * sysdeps/s390/v1-sigjmp.c: Likewise.
31338         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31339         Remove v1-longjmp_chk.
31340         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31341         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31342         Include debug/longjmp_chk.c and add versioning.
31343         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31344         Include nptl/pt-longjmp.c and add versioning.
31345         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31346         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31347         Include __longjmp.c.
31348         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31349         Move to ...
31350         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31351         (__getcontext): Remove setting __flags field.
31352         Add versioning.
31353         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31354         Don't restore upper high grps.
31355         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31356         Likewise.
31357         (__swapcontext): Remove setting uc_flags field.
31358         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31359         Delete file.
31360         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31361         Include __longjmp.c.
31362         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31363         Move to ...
31364         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31365         (__getcontext): Remove setting __flags field.
31366         Add versioning.
31367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31368         (__swapcontext): Remove setting uc_flags field.
31369         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31370         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31371         Remove fields uc_high_gprs and __reserved.
31372         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31373         New file with reverted content.
31374         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31375         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31376         Regenerated.
31377         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31378         Regenerated.
31380 2014-07-31  Andreas Schwab  <schwab@suse.de>
31382         * config.h.in (HAVE_IFUNC): Define to 0.
31383         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31384         definedness.
31386 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31389         memmove-avx-unaligned, memcpy-avx-unaligned and
31390         mempcpy-avx-unaligned.
31391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31392         Add tests for AVX memcpy functions.
31393         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31394         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31395         memcpy_chk.
31396         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31397         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31398         memmove_chk.
31399         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31401         mempcpy_chk.
31402         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31403         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31404         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31406 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31408         [BZ #17213]
31409         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31410         powerpc64le.
31412 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31414         [BZ #16839]
31415         * manual/llio.texi: Add section about open file description locks.
31416         * manual/examples/ofdlocks.c: Example of open file description
31417         lock usage.
31418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31419         F_OFD_SETLK, and F_OFD_SETLKW.
31421 2014-07-23  Allan McRae  <allan@archlinux.org>
31423         * po/es.po: Update Spanish translation from translation project.
31425 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31427         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31429 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31431         [BZ #17078]
31432         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31433         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31434         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31436 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #17088]
31439         * math/fesetenv.c (__fesetenv)
31440         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31441         * math/feupdateenv.c (__feupdateenv)
31442         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31444         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31445         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31446         (__ASSUME_SOCKETCALL): Do not define.
31448         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31449         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31450         (__ASSUME_SOCKETCALL): Do not define.
31451         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31452         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31453         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31454         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31456         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31458         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31460         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31461         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31462         (__ASSUME_SOCKETCALL): Do not define.
31463         (__ASSUME_IPC64): Define unconditionally.
31464         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31465         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31466         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31468         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31470         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31471         Likewise.
31473         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31474         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31475         (__ASSUME_SOCKETCALL): Do not define.
31476         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31477         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31478         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31479         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31480         (__ASSUME_REQUEUE_PI): Define unconditionally.
31481         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31482         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31483         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31484         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31486         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31488         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31489         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31490         (__ASSUME_SOCKETCALL): Do not define.
31491         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31493         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31494         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31495         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31496         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31498         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31499         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31500         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31501         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31502         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31503         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31505         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31506         (__ASSUME_GETCPU_SYSCALL): Likewise.
31508         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31509         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31510         cases for individual architectures.
31511         * sysdeps/gnu/configure: Regenerated.
31512         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31513         LIBC_SLIBDIR_RTLDDIR.
31514         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31515         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31516         LIBC_SLIBDIR_RTLDDIR.
31517         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31519         LIBC_SLIBDIR_RTLDDIR.
31520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31521         Regenerated.
31522         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31523         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31524         file.
31525         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31526         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31527         file.
31528         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31529         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31530         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31531         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31533         * sysdeps/aarch64/shlib-versions: Move to ...
31534         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31535         * sysdeps/alpha/shlib-versions: Move to ...
31536         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31537         * sysdeps/arm/shlib-versions: Move to ...
31538         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31539         * sysdeps/hppa/shlib-versions: Move all contents except for
31540         libgcc_s entry to ...
31541         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31542         entry from ...
31543         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31544         * sysdeps/ia64/shlib-versions: Move to ...
31545         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31546         entry from ...
31547         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31548         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31549         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31550         * sysdeps/microblaze/shlib-versions: Move to ...
31551         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31552         * sysdeps/mips/shlib-versions: Move to ...
31553         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31554         entry from ...
31555         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31556         * sysdeps/tile/shlib-versions: Move to ...
31557         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31558         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31559         from ...
31560         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31561         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31562         entry from ...
31563         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31565 2014-07-17  Will Newton  <will.newton@linaro.org>
31567         * sysdeps/arm/bits/atomic.h
31568         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31569         (__arch_compare_and_exchange_bool_16_int): Likewise.
31570         (__arch_compare_and_exchange_bool_64_int): Likewise.
31572         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31573         into an #else block.
31575 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31577         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31578         just Linux configurations.  Test empirically that the compiler sets
31579         __ARM_EABI__, rather than using the tuple to decide.
31580         * sysdeps/arm/preconfigure: Regenerated.
31581         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31582         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31583         contents appended ...
31584         * sysdeps/arm/configure.ac: ... here.
31585         * sysdeps/arm/configure: Regenerated.
31587 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31589         * nptl/pthread_kill.c: New file.
31590         * nptl/pthread_sigmask.c: New file.
31591         * nptl/pthread_sigqueue.c: New file.
31593         * sysdeps/nptl/lowlevellock.h: New file.
31594         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31595         * sysdeps/nptl/lowlevellock-futex.h: New file.
31597         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31598         Remove dead declarations.
31600 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31602         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31603         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31604         config-cflags-avx2.
31605         * sysdeps/x86_64/configure.ac: Likewise.
31606         * sysdeps/i386/configure: Regenerated.
31607         * sysdeps/x86_64/configure: Likewise.
31608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31609         memset-avx2 only if config-cflags-avx2 is yes.
31610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31611         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31612         defined.
31613         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31614         only if HAVE_AVX2_SUPPORT is defined.
31615         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31617 2014-07-14  Alan Modra  <amodra@gmail.com>
31619         [BZ #17153]
31620         * elf/elf.h (DT_PPC64_NUM): Correct value.
31621         * NEWS: Add to fixed bug list.
31623 2014-07-13  Jim Meyering  <meyering@fb.com>
31625         [BZ 17150]
31626         regex: don't deref NULL upon heap allocation failure
31627         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31628         failure in one more place.
31629         To trigger the segfault, configure grep -with-included-regex,
31630         build it, and run these commands:
31631         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31633 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31635         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31637 2014-07-11  Richard Henderson  <rth@redhat.com>
31639         * sysdeps/aarch64/libm-test-ulps: Update.
31641 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31643         [BZ #17135]
31644         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31645         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31646         (__nptl_setxid): Initialize error member.  Call
31647         __nptl_setxid_error.
31648         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31649         * nptl/descr.h (struct xid_command): Add error member.
31650         * nptl/tst-setuid3.c: New file.
31651         * nptl/Makefile (tests): Add it.
31653 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31655         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31656         New define.
31657         (__lll_trylock): Use __lll_base_trylock.
31658         (__lll_cond_trylock): Likewise.
31660 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31662         * nptl/pthread_create.c (start_thread): Use atomic_or and
31663         lll_futex_wake directly rather than lll_robust_dead.
31664         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31665         (lll_robust_dead): Macro removed.
31666         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31667         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31668         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31669         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31670         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31671         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31672         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31673         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31674         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31675         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31676         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31677         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31678         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31679         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31682         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31683         Use atomic_compare_and_exchange_val_acq directly rather than
31684         lll_robust_trylock.
31685         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31686         (__lll_robust_trylock, lll_robust_trylock): Removed.
31687         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31688         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31689         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31690         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31691         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31692         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31693         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31694         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31695         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31696         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31697         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31698         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31699         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31700         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31702 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31704         * manual/locale.texi (Locale Names): New section documenting
31705         locale name syntax.  Adjust menu and node chaining accordingly.
31706         (Choosing Locale): Reference Locale Names, Locale Categories.
31707         Mention setting LC_ALL=C.  Reflect that name syntax is now
31708         documented.
31709         (Locale Categories): New section title.  Reference Locale Names.
31710         LC_ALL is an environment variable, but not a category.
31711         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31712         description, now in Locale Name.  Reference that section.  Locale
31713         name syntax is now documented.
31715 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31717         [BZ #17137]
31718         * locale/findlocale.c (name_present, valid_locale_name): New
31719         functions.
31720         (_nl_find_locale): Use the loc_name variable to store name
31721         candidates.  Call name_present and valid_locale_name to check and
31722         validate locale names.  Return an error if the locale is invalid.
31724 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31726         * locale/setlocale.c (setlocale): Use strdup for allocating
31727         composite name copy.
31729 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31731         Sync up with gnulib.
31732         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31733         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31734         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31735         and _GL_ARG_NONNULL.
31736         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31737         [!_LIBC]: Include code for Windows and Cygwin.
31738         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31739         Include prototype for int strerror_r.
31740         [!_LIBC] (is_open): New function.
31741         (flush_stdout): New function.
31742         (print_errno_message): Use it.
31743         (error): Likewise.
31744         (error_at_line): Likewise.
31745         (error_tail) Add function attribute macros.  Use
31746         __builtin_expect.
31748         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31750         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31752         * io/ftw.c: Include sys/param.h unconditionally.
31754         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31756         [BZ #17125]
31757         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31758         libc_freeres_ptr.
31759         (freecache): New function to free CACHE on exit.
31761         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31762         initialization.
31764 2014-07-09  David S. Miller  <davem@davemloft.net>
31766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31768         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31769         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31770         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31771         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31772         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31773         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31774         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31775         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31776         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31777         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31778         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31779         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31780         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31782 2014-07-09  Andreas Schwab  <schwab@suse.de>
31784         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31785         output.
31786         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31787         (do_test): Likewise.
31789         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31791 2014-07-09  Will Newton  <will.newton@linaro.org>
31793         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31794         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31795         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31796         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31797         * sysdeps/hppa/start.S (_start): Likewise.
31799 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31801         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31803         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31804         defined.
31806 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31808         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31809         after checking that it is non-NULL.
31811         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31813 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31815         * sysdeps/powerpc/memmove.c: Remove file.
31816         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31817         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31819         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31820         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31821         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31822         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31823         string memmove instead of removed powerpc one.
31825         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31826         [weak_alias]: Fix compiler warning due trailing data.
31827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31828         [weak_alias]: Likewise.
31829         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31830         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31833         (__libc_ifunc_impl_list): Add memmove functions.
31835 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31837         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31838         Remove code.
31839         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31840         Likewise.
31841         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31842         Likewise.
31843         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31844         Likewise.
31845         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31846         Likewise.
31847         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31848         Likewise.
31849         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31850         Likewise.
31851         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31852         Likewise.
31853         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31854         Likewise.
31855         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31856         Likewise.
31857         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31858         Likewise.
31859         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31860         Likewise.
31861         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31862         Likewise.
31863         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31864         Likewise.
31865         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31866         Likewise.
31867         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31868         Likewise.
31869         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31870         Likewise.
31872 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31874         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31875         to avoid alignment traps in non-cacheable memory.
31876         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31879         multiarch objects.
31880         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31881         file: multiarch power7 memmove.
31882         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31883         multiarch default memmove.
31884         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31885         multiarch memove for powerpc32/power4.
31887         * string/bcopy.c: Use full path to include memmove.c.
31888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31889         multiarch objects.
31890         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31891         bcopy for powerpc64.
31892         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31893         bcopy for powerpc64.
31894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31895         and memmove implementations.
31896         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31897         optimized multiarch memmove for POWER7/powerpc64.
31898         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31899         default multiarch memmove for powerpc64.
31900         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31901         multiarch for powerpc64.
31902         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31903         for POWER7/powerpc64.
31904         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31905         memmove for POWER7/powerpc64.
31907         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31908         glibc default one.
31910         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31911         __ELF_NATIVE_CLASS equal to 64.
31913 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31915         * sysdeps/nptl/lowlevellock.h: File removed.
31917         * NEWS: NPTL is no longer an add-on!
31918         * nptl/internaltypes.h: Moved ...
31919         * sysdeps/nptl/internaltypes.h: ... here.
31920         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31921         * sysdeps/nptl/fork.c: Likewise.
31922         * sysdeps/nptl/gai_misc.h: Likewise.
31923         * sysdeps/nptl/librt-cancellation.c: Likewise.
31924         * sysdeps/nptl/jmp-unwind.c: Likewise.
31925         * sysdeps/nptl/setxid.h: Likewise.
31926         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31927         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31928         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31929         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31930         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31931         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31932         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31933         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31934         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31935         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31936         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31937         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31938         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31939         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31940         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31941         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31942         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31943         * nptl/Makeconfig: Moved ...
31944         * sysdeps/nptl/Makeconfig: ... here.
31945         * nptl/configure: File removed.
31946         * nptl/ANNOUNCE: File removed.
31947         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31948         * sysdeps/unix/sysv/linux/configure: Regenerated.
31950         * nptl/Makefile (routines): Add libc_pthread_init,
31951         libc_multiple_threads, register-atfork and unregister-atfork.
31952         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31953         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31954         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31955         pthread-pi-defines.sym, structsem.sym.
31956         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31957         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31958         [$(subdir) = nptl] (tests): Add tst-setgetname.
31959         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31960         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31961         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31962         [!LIBC_SIGACTION]: Remove aliases.
31963         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31964         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31965         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31966         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31967         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31968         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31969         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31970         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31971         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31972         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31973         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31974         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31975         __libc_allocate_rtsig_private.
31976         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31977         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31978         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31979         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31980         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31981         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31982         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31983         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31984         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31985         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31986         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31987         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31988         * nptl/internaltypes.h: ... here.
31989         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31990         * sysdeps/nptl/jmp-unwind.c: ... here.
31991         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31992         * nptl/libc-lowlevellock.c: ... here.
31993         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31994         * nptl/libc_multiple_threads.c: ... here.
31995         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31996         * nptl/libc_pthread_init.c: ... here.
31997         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31998         * nptl/lowlevelbarrier.sym: ... here.
31999         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32000         * nptl/lowlevelcond.sym: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32002         * nptl/lowlevellock.c: ... here.
32003         * nptl/lowlevellock.h: Moved ...
32004         * sysdeps/nptl/lowlevellock.h: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32006         * nptl/lowlevelrobustlock.c: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32008         * nptl/lowlevelrobustlock.sym: ... here.
32009         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32010         * nptl/lowlevelrwlock.sym: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32012         * nptl/pt-fork.c: ... here.
32013         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32014         * nptl/pthread-pi-defines.sym: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32016         * nptl/pthread_attr_getaffinity.c: ... here.
32017         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32018         * nptl/pthread_attr_setaffinity.c: ... here.
32019         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32020         * nptl/pthread_mutex_cond_lock.c: ... here.
32021         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32022         Update #include.
32023         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32024         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32025         * nptl/pthread_once.c: ... here, replacing old file.
32026         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32027         * nptl/pthread_yield.c: ... here.
32028         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32029         * nptl/register-atfork.c: ... here.
32030         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32031         * nptl/sem_post.c: ... here.
32032         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32033         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32034         * nptl/sem_timedwait.c: ... here.
32035         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32036         * nptl/sem_trywait.c: ... here.
32037         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32038         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32039         * nptl/sem_wait.c: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32041         * nptl/structsem.sym: ... here.
32042         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32043         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32044         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32045         * nptl/unregister-atfork.c: ... here.
32046         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32047         * nptl/unwindbuf.sym: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32049         * sysdeps/nptl/fork.c: ... here.
32050         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32051         * sysdeps/nptl/fork.h: ... here.
32052         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32053         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32054         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32055         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32056         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32057         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32058         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32059         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32060         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32062         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32064         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32065         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32066         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32067         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32068         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32069         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32070         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32071         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32072         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32073         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32074         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32076         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32078         * sysdeps/unix/sysv/linux/raise.c: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32080         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32082         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32084         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32086         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32088         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32090         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32092         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32093         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32095 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32097         * sysdeps/generic/memcopy.h: Add comment for
32098         MEMCPY_OK_FOR_FWD_MEMMOVE.
32100 2014-07-04  Will Newton  <will.newton@linaro.org>
32102         * string/memchr.c: Merge from gnulib.
32103         [_LIBC]: Remove conditionals.
32104         (__ptr_t): Remove define.
32105         (LONG_MAX_32_BITS): Likewise.
32106         (LONG_MAX): Likewise.
32107         (MEMCHR): Use ANSI prototype and optimize algorithm.
32109         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32111 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32113         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32114         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32116         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32117         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32118         in a bare environment with no <stdlib.h> installed.
32119         * sysdeps/nptl/configure: Regenerated.
32121         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32123         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32124         AC_EGREP_CPP for kernel header checks, so they only succeed if
32125         including <linux/version.h> actually works right.
32126         * sysdeps/unix/sysv/linux/configure: Regenerated.
32128         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32129         value so it's not diagnosed as unused.
32131         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32132         thing) with "ifeq ($(subdir),rt)".
32134 2014-07-03  Richard Henderson  <rth@redhat.com>
32136         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32137         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32138         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32140         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32141         (math_force_eval): New.
32143         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32144         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32146         * sysdeps/alpha/fpu/s_round.c: Remove file.
32147         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32149         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32150         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32151         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32152         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32153         (_dl_start, print_statistics): Likewise.
32154         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32155         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32157         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32158         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32159         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32160         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32162         (HP_SMALL_TIMING_AVAIL): Define.
32163         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32164         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32165         (HP_SMALL_TIMING_AVAIL): Define.
32166         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32167         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32169         * sysdeps/aarch64/hp-timing.h: New file.
32171         * sysdeps/generic/hp-timing.h: Remove dead comment.
32172         * sysdeps/generic/hp-timing-common.h: New file.
32173         * sysdeps/alpha/hp-timing.h: Include it.
32174         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32175         * sysdeps/i386/i686/hp-timing.h: Likewise.
32176         * sysdeps/ia64/hp-timing.h: Likewise.
32177         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32178         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32179         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32180         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32181         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32182         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32183         (hp_timing_t): New.
32185         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32186         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32187         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32188         * elf/rtld.c (_dl_start_final): Likewise.
32189         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32190         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32191         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32192         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32193         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32194         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32195         (HP_TIMING_DIFF_INIT): Remove.
32196         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32197         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32198         (HP_TIMING_DIFF_INIT): Remove.
32199         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32200         * sysdeps/i386/i686/hp-timing.c: Remove file.
32201         * sysdeps/x86_64/hp-timing.c: Remove file.
32202         * sysdeps/ia64/hp-timing.c: Remove file.
32203         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32204         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32205         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32206         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32208         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32209         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32210         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32211         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32212         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32213         (HP_TIMING_ACCUM): Remove.
32214         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32215         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32216         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32218         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32219         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32220         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32221         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32222         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32223         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32224         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32225         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32227         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32229 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32231         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32233 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32235         Sync up with gettext.
32236         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32237         [_MSC_VER]: Include malloc.h
32238         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32239         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32240         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32241         TEMP_FAILURE_RETRY.  Cast return of alloca.
32242         [!_LIBC] Call gl_rwlock_init.
32243         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32245 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32247         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32248         before checking its value.
32250 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32252         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32254         * debug/memcpy_chk.c: Don't include pagecopy.h.
32255         * debug/mempcpy_chk.c: Likewise.
32256         * string/memcpy.c: Likewise.
32257         * string/memmove.c: Likewise.
32258         * sysdeps/powerpc/memmove.c: Likewise.
32259         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32260         definition of PAGE_COPY_FWD_MAYBE here...
32261         * sysdeps/generic/pagecopy.h: ... from here.
32262         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32264 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32265             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32267         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32269         optimizations.
32270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32271         (__libc_ifunc_impl_list): Likewise.
32272         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32273         multiarch strcat for PPC64.
32274         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32275         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32277 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32279         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32281 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32283         * intl/loadmsgcat.c: Remove declaration of
32284         get_sysdep_segment_value.
32285         (get_sysdep_segment_value): Use ISO C style.
32286         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32287         semicolon.  Fix typo and formatting in comment.
32288         (_nl_unload_domain): Use ISO C style.
32290         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32292 2014-07-02  Will Newton  <will.newton@linaro.org>
32294         * malloc/obstack.c: Merge from gnulib master.
32295         [HAVE_CONFIG_H]: Remove conditional code.
32296         [!_LIBC]: Include config.h.
32297         [!ELIDE_CODE]: Don't include inttypes.h, include
32298         stdint.h unconditionally.
32299         (print_and_abort): Mark as _Noreturn.
32300         (_obstack_allocated_p): Mark as __attribute_pure__.
32301         (obstack_free): Rename to __obstack_free.
32302         [!__attribute__]: Remove conditional code.
32303         * malloc/obstack.h: Merge from gnulib master.
32304         [__cplusplus]: Move conditional down.
32305         [!__attribute_pure__]: Define __attribute_pure__ here
32306         if it is not already defined.
32307         (_obstack_memory_used): Mark as __attribute_pure__.
32308         [!__obstack_free]: Define as obstack_free.
32309         [__GNUC__]: Remove check for ancient NeXT gcc.
32311 2014-07-02  Will Newton  <will.newton@linaro.org>
32312             Paul Eggert  <eggert@cs.ucla.edu>
32314         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32316 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32318         * resolv/gethnamaddr.c: Add comment warning that the file is
32319         not maintained.
32321 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32323         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32324         entries.
32326         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32327         entry for aio_cancel and aio_cancel64.
32328         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32329         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32330         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32331         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32332         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32333         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32334         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32335         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32336         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32337         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32338         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32339         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32340         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32342 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32344         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32345         * nptl/pthread_mutex_lock.c: Likewise.
32346         * nptl/pthread_mutex_timedlock.c: Likewise.
32347         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32349 2014-07-01  Richard henderson  <rth@redhat.com>
32351         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32352         (__isnan, __isnanl): Remove.
32353         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32355         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32357 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32359         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32361 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32363         * resolv/nss_dns/dns-host.c (getanswer_r)
32364         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32366 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32369         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32370         undefine.
32371         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32372         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32374 2014-07-01  Roland McGrath <roland@hack.frob.com>
32376         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32377         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32379         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32380         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32382         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32383         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32384         ... here.
32385         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32386         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32388         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32389         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32390         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32391         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32393         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32394         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32395         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32396         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32400         ... here.
32401         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32402         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32408         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32409         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32410         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32411         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32412         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32414         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32416         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32421         ... here.
32422         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32425         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32426         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32427         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32428         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32429         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32431 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32433         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32434         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32435         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32436         Add sysdep.
32438 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32442 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32444         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32445         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32447         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32449         * sysdeps/arm/libm-test-ulps: Regenerated.
32451 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32452             Roland McGrath <roland@hack.frob.com>
32454         * test-skeleton.c (signal_handler): Kill the whole process group
32455         before killing the child individually.
32456         (main): Report any failure on `setpgid'.
32458 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32460         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32461         from _TLS_H to _ARM_NPTL_TLS_H.
32462         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32463         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32465 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32467         [BZ #16539]
32468         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32469         (__expm1l): Return argument unchanged when small but not
32470         subnormal.
32472         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32473         include macro name.
32474         (_FP_UNPACK_RAW_1_P): Likewise.
32475         (_FP_PACK_RAW_1): Likewise.
32476         (_FP_PACK_RAW_1_P): Likewise.
32477         (_FP_MUL_MEAT_1_wide): Likewise.
32478         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32479         (_FP_MUL_MEAT_1_hard): Likewise.
32480         (_FP_DIV_MEAT_1_imm): Likewise.
32481         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32482         (_FP_DIV_MEAT_1_udiv): Likewise.
32483         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32484         (_FP_UNPACK_RAW_2): Likewise.
32485         (_FP_UNPACK_RAW_2_P): Likewise.
32486         (_FP_PACK_RAW_2): Likewise.
32487         (_FP_PACK_RAW_2_P): Likewise.
32488         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32489         (_FP_MUL_MEAT_2_wide): Likewise.
32490         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32491         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32492         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32493         (_FP_MUL_MEAT_2_gmp): Likewise.
32494         (_FP_DIV_MEAT_2_udiv): Likewise.
32495         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32496         (_FP_FRAC_SRL_4): Likewise.
32497         (_FP_FRAC_SRST_4): Likewise.
32498         (_FP_FRAC_SRS_4): Likewise.
32499         (_FP_UNPACK_RAW_4): Likewise.
32500         (_FP_UNPACK_RAW_4_P): Likewise.
32501         (_FP_PACK_RAW_4): Likewise.
32502         (_FP_PACK_RAW_4_P): Likewise.
32503         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32504         (_FP_MUL_MEAT_4_wide): Likewise.
32505         (_FP_MUL_MEAT_4_gmp): Likewise.
32506         (umul_ppppmnnn): Likewise.
32507         (_FP_DIV_MEAT_4_udiv): Likewise.
32508         (__FP_FRAC_ADD_4): Likewise.
32509         (__FP_FRAC_SUB_3): Likewise.
32510         (__FP_FRAC_SUB_4): Likewise.
32511         (__FP_FRAC_DEC_3): Likewise.
32512         (__FP_FRAC_DEC_4): Likewise.
32513         (__FP_FRAC_ADDI_4): Likewise.
32514         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32515         (_FP_FRAC_SRL_8): Likewise.
32516         (_FP_FRAC_SRS_8): Likewise.
32518         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32519         include macro name.
32520         (FP_UNPACK_RAW_EP): Likewise.
32521         (FP_PACK_RAW_E): Likewise.
32522         (FP_PACK_RAW_EP): Likewise.
32523         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32524         (_FP_ISSIGNAN): Likewise.
32525         (_FP_ADD_INTERNAL): Likewise.
32526         (_FP_FMA): Likewise.
32527         (_FP_CMP): Likewise.
32528         (_FP_SQRT): Likewise.
32529         (_FP_TO_INT): Likewise.
32530         (_FP_FROM_INT): Likewise.
32531         (FP_EXTEND): Likewise.
32532         (_FP_DIV_MEAT_N_loop): Likewise.
32534 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32536         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32537         throughout.
32539 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32541         [BZ #17097]
32542         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32543         result with correct sign in case of exponents that produce
32544         overflow except for X very close to 1.
32546 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32548         mktime: merge #if/#ifdef usage from glibc
32549         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32550         as that works with both Glibc's and Gnulib's style.
32551         See thread starting at Siddhesh Poyarekar's bug report at:
32552         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32554 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32556         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32557         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32558         * sysdeps/tile/tilegx/memmove.c: Remove file.
32560 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32562         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32563         abi-name definition.
32564         * scripts/soversions.awk: Do not handle or generate ABI lines.
32565         * shlib-versions: Remove ABI entries.
32566         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32567         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32569 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32572         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32573         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32574         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32576         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32578         Moved ...
32579         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32580         ... here.
32581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32582         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32584         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32586         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32588         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32592         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32594         Moved ...
32595         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32597         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32599         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32601         Moved ...
32602         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32604         Moved ...
32605         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32607         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32609         Moved ...
32610         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32612         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32614         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32616         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32618         Moved ...
32619         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32621         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32623         Moved ...
32624         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32626         Moved ...
32627         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32628         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32629         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32631         Moved ...
32632         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32633         ... here.
32634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32635         Identical file removed.
32636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32637         Moved ...
32638         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32640         Identical file removed.
32641         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32642         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32643         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32644         Moved ...
32645         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32647         Identical file removed.
32648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32649         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32651         Identical file removed.
32652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32653         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32655         Identical file removed.
32656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32657         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32659         Identical file removed.
32660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32661         Moved ...
32662         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32664         Identical file removed.
32665         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32666         Moved ...
32667         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32671         Identical file removed.
32672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32673         Moved ...
32674         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32675         ... here.
32676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32677         Identical file removed.
32678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32679         Moved ...
32680         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32682         Identical file removed.
32683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32684         Moved ...
32685         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32686         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32689         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32690         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32691         Moved ...
32692         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32693         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32694         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32696         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32697         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32698         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32699         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32700         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32702 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32704         [BZ #17092]
32705         * nscd/nscd.c (monitor_child): Return exit status of child
32706         instead of return value from wait syscall.
32708 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32710         * configure.ac (libc_commonpagesize): Remove variable.
32711         (libc_relro_required): Likewise.
32712         (libc_cv_z_relro): Remove configure test.
32713         * configure: Regenerated.
32714         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32715         variable.
32716         (libc_relro_required): Likewise.
32717         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32718         (libc_relro_required): Likewise.
32719         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32720         (libc_relro_required): Likewise.
32721         * sysdeps/arm/preconfigure: Regenerated.
32722         * sysdeps/ia64/preconfigure: Remove file.
32723         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32724         variable.
32725         (libc_relro_required): Likewise.
32727         [BZ #16561]
32728         [BZ #16562]
32729         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32730         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32731         recompute overflowing results in original rounding mode.
32732         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32733         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32734         recompute overflowing results in original rounding mode.
32735         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32736         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32737         recompute overflowing results in original rounding mode.
32738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32739         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32740         recompute overflowing results in original rounding mode.
32741         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32742         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32743         recompute overflowing results in original rounding mode.
32744         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32745         (libc_feholdsetround_ctx): New macro.
32746         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32747         * sysdeps/i386/fpu/libm-test-ulps: Update.
32748         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32750 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32752         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32753         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32754         corresponding .cpsetup call.
32756 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32758         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32759         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32760         * sysdeps/arm/Makefile [$(subdir) = csu]
32761         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32762         (static-only-routines): Add aeabi_read_tp here.
32763         (shared-only-routines): Add libc-aeabi_read_tp here.
32764         (CFLAGS-libc-start.c): Add -fexceptions here.
32765         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32766         (sysdep_routines, static-only-routines, shared-only-routines):
32767         Don't add to these here.
32768         (CFLAGS-libc-start.c): Likewise.
32770         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32771         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32772         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32773         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32774         * sysdeps/arm/Makefile [$(subdir) = rt]
32775         (librt-sysdep_routines, librt-shared-only-routines):
32776         Append rt-aeabi_unwind_cpp_pr1 here.
32777         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32778         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32779         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32780         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32781         Append nptl-aeabi_unwind_cpp_pr1 here.
32782         (tests): Filter out tst-cleanupx4 here.
32783         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32784         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32785         Don't do those here.
32787 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32789         * scripts/list-sources.sh: Do not handle ports specially.
32791 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32793         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32794         * sysdeps/arm/feupdateenv.c: Likewise.
32796         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32798 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32800         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32801         trailing whitespace removed.
32802         * scripts/config.guess: Update to version 2014-03-23.
32803         * scripts/config.sub: Update to version 2014-05-01
32804         * scripts/install-sh: Update to version 2013-12-25.23.
32805         * scripts/move-if-change: Update from gnulib.
32807 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32809         * debug/memmove_chk.c: Remove pagecopy.h include.
32811 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32813         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32814         identical to gnulib mktime.
32816 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32818         * configure.ac: Do not test for machine being rs6000.  Do not test
32819         for powerpc*-*soft.
32820         * configure: Regenerated.
32822         [BZ #11505]
32823         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32824         test.
32825         * configure: Regenerated.
32826         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32827         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32828         Remove configure test.
32829         * sysdeps/arm/configure: Regenerated.
32830         * sysdeps/nptl/configure.ac: Do not check
32831         libc_cv_asm_cfi_directives.
32832         * sysdeps/nptl/configure: Regenerated.
32833         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32834         * sysdeps/x86_64/nptl/configure: Remove generated file.
32835         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32836         unconditional.
32837         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32839 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32841         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32842         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32843         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32844         it is defined.
32846         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32847         instead of whether it is defined.
32848         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32849         * sysdeps/hppa/dl-machine.h: Likewise.
32850         * sysdeps/ia64/dl-machine.h: Likewise.
32851         * sysdeps/m68k/dl-machine.h: Likewise.
32852         * sysdeps/microblaze/dl-machine.h: Likewise.
32853         * sysdeps/mips/dl-machine.: Likewise.
32854         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32855         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32856         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32857         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32858         * sysdeps/sh/dl-machine.h: Likewise.
32859         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32861         * sysdeps/tile/dl-machine.h: Likewise.
32862         * sysdeps/x86_64/dl-machine.h: Likewise.
32864         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32865         code.
32866         (verify_persistent_db): Likewise.
32868 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32871         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32873         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32875         Moved ...
32876         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32877         ... here.
32878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32879         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32881         Identical file removed.
32882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32883         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32885         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32887         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32893         Moved ...
32894         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32896         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32898         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32900         Moved ...
32901         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32903         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32905         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32907         Identical file removed.
32908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32909         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32913         Moved ...
32914         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32915         ... here.
32916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32927         Moved ...
32928         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32930         Moved ...
32931         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32933         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32935         Moved ...
32936         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32938         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32940         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32941         folded into ...
32942         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32943         * sysdeps/unix/sysv/linux/s390/Versions
32944         (libpthread: GLIBC_2.19): New version set.
32945         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32946         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32947         (librt: GLIBC_2.3.3): New version set.
32948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32949         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32950         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32951         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32952         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32953         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32954         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32955         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32956         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32957         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32958         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32959         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32960         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32961         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32962         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32963         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32964         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32966         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32968         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32970         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32972         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32974         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32976         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32978         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32984         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32986         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32988         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32990         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32992         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32994         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32995         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32996         (__libc_vfork): Define the function under this name.
32997         [!NOT_IN_libc] (__vfork): Make this an alias.
32998         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33000         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33001         (__libc_vfork): Define the function under this name.
33002         [!NOT_IN_libc] (__vfork): Make this an alias.
33003         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33004         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33005         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33008         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33010         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33011         code that was previously under [RESET_PID].
33012         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33013         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33016         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33017         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33018         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33019         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33020         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33021         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33022         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33023         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33024         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33025         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33027         Moved ...
33028         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33030         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33034         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33036         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33040         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33042         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33043         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33044         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33046         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33048         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33050         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33052         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33053         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33054         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33056         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33058 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33060         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33061         that was previously under [RESET_PID].
33062         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33064 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33066         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33067         not undefine and redefine.
33068         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33069         [O_CLOEXEC]: Make code unconditional.
33070         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33071         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33072         <kernel-features.h>.
33073         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33074         conditional variable definition.
33075         (shm_open) [O_CLOEXEC]: Make code unconditional.
33076         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33077         code.
33079         * configure.ac (USE_REGPARMS): Don't define here.
33080         * configure: Regenerated.
33081         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33082         * sysdeps/i386/configure: Regenerated.
33084         * nptl/createthread.c: Don't include kernel-features.h.
33085         * nptl/pthread_cancel.c: Likewise.
33086         * nptl/pthread_condattr_setclock.c: Likewise.
33087         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33088         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33089         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33090         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33091         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33092         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33093         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33094         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33095         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33096         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33097         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33098         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33099         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33100         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33101         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33102         * nscd/gai.c: Likewise.
33103         * nss/nss_db/db-open.c: Likewise.
33104         * sysdeps/generic/ldsodefs.h: Likewise.
33105         * sysdeps/sh/nptl/tls.h: Likewise.
33106         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33107         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33108         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33109         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33110         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33111         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33112         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33113         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33114         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33115         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33116         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33117         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33118         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33119         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33120         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33121         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33122         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33123         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33124         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33125         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33127         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33128         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33129         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33133         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33134         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33135         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33136         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33137         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33138         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33139         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33140         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33141         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33142         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33143         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33144         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33145         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33146         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33147         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33148         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33149         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33150         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33151         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33152         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33153         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33154         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33155         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33156         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33157         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33158         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33159         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33160         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33161         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33162         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33163         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33186         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33187         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33188         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33189         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33190         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33191         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33192         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33193         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33194         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33195         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33196         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33197         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33198         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33199         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33200         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33201         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33202         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33203         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33204         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33205         * sysdeps/unix/sysv/linux/system.c: Likewise.
33206         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33207         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33208         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33209         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33210         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33211         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33212         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33214         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33215         * configure: Regenerated.
33216         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33218         * configure.ac (base_machine): Do not set specially for particular
33219         machines here.
33220         * configure: Regenerated.
33221         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33222         settings from configure.ac.
33223         * sysdeps/i386/preconfigure: New file.
33224         * sysdeps/s390/preconfigure: Likewise.
33225         * sysdeps/sh/preconfigure: Likewise.
33226         * sysdeps/sparc/preconfigure: Likewise.
33228 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33230         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33231         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33232         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33233         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33234         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33235         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33236         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33237         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33238         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33239         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33240         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33241         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33242         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33243         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33244         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33245         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33247         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33248         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33250         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33251         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33252         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33253         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33254         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33255         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33256         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33257         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33258         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33259         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33260         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33261         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33262         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33263         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33264         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33265         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33266         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33267         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33268         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33269         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33270         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33271         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33272         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33273         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33274         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33275         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33276         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33277         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33280         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33281         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33282         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33283         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33284         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33285         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33286         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33287         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33290         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33292         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33294         Moved ...
33295         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33296         ... here.
33297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33300         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33302         Moved ...
33303         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33305         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33307         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33309         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33311         Moved ...
33312         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33314         Moved ...
33315         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33317         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33319         Moved ...
33320         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33322         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33324         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33326         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33328         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33330         Moved ...
33331         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33332         ... here.
33333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33334         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33336         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33338         Moved ...
33339         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33341         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33343         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33345         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33347         Moved ...
33348         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33350         Moved ...
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33353         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33355         Moved ...
33356         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33358         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33360         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33362 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33364         * timezone/checktab.awk: Update from tzcode 2014e.
33365         * timezone/private.h: Likewise.
33366         * timezone/tzfile.h: Likewise.
33367         * timezone/zdump.c: Likewise.
33368         * timezone/zic.c: Likewise.
33370         * sysdeps/unix/sysv/linux/kernel-features.h
33371         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33372         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33373         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33374         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33375         Remove conditional code.
33377 2014-06-25  Will Newton  <will.newton@linaro.org>
33379         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33380         (_dl_arm_cap_flags): Add HWCAP2 values.
33381         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33382         (_DL_HWCAP_COUNT): Increase to 37.
33383         (_DL_HWCAP_LAST): New define.
33384         (_DL_HWCAP2_LAST): New define.
33385         (_dl_procinfo): Add support for printing
33386         AT_HWCAP2 entries.
33387         (_dl_string_hwcap): Use _dl_hwcap_string.
33389 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33393 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33395         * README: Do not mention ports directory.
33397         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33398         Remove macro.
33399         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33400         <kernel-features.h>.
33401         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33402         conditional variable definition.
33403         (__futimes): Update comment.
33404         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33405         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33407         [BZ #16560]
33408         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33409         arguments close to 0.
33410         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33411         Likewise.
33412         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33413         Likewise.
33414         * math/auto-libm-test-in: Add more tests of exp10.
33415         * math/auto-libm-test-out: Regenerated.
33416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33418         * sysdeps/unix/sysv/linux/kernel-features.h
33419         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33420         * sysdeps/unix/sysv/linux/readv.c: Do not include
33421         <kernel-features.h>.
33422         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33423         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33424         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33425         unconditional.
33426         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33427         conditional code.
33428         * sysdeps/unix/sysv/linux/writev.c: Do not include
33429         <kernel-features.h>.
33430         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33431         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33432         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33433         unconditional.
33434         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33435         conditional code.
33437 2014-06-25  Will Newton  <will.newton@linaro.org>
33439         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33440         comment changes throughout the file.  Remove checks
33441         for HAVE_*_H definitions that are not required.
33442         (__gen_tempname): Call abort if an unknown kind value is
33443         passed.
33445 2014-06-25  Andreas Schwab  <schwab@suse.de>
33447         [BZ #17086]
33448         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33449         scalbln, scalblnf, scalblnl in libc.
33451 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33453         [BZ #17086]
33454         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33455         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33456         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33458 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33460         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33461         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33462         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33463         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33464         Update #include.
33465         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33466         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33467         Update #include.
33468         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33469         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33470         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33471         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33472         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33473         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33474         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33475         * sysdeps/x86/bits/semaphore.h: ... here.
33476         * sysdeps/x86/nptl/elide.h: Moved ...
33477         * sysdeps/x86/elide.h: ... here.
33478         * sysdeps/x86_64/nptl/Implies: File removed.
33479         * sysdeps/i386/nptl/Implies: File removed.
33481 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33483         [BZ #16539]
33484         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33485         return the argument for normal arguments with exponent below -64.
33486         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33487         Likewise.
33488         * math/auto-libm-test-in: Add another test of expm1.
33489         * math/auto-libm-test-out: Regenerated.
33491         [BZ #16287]
33492         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33493         calling __erfcl for arguments at least 16.
33494         * math/auto-libm-test-in: Add more tests of erf.
33495         * math/auto-libm-test-out: Regenerated.
33497         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33498         individual architectures.
33499         * sysdeps/unix/sysv/linux/configure: Regenerated.
33500         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33501         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33502         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33503         (ldd_rewrite_script): Define variable.
33504         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33506         file.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33508         generated file.
33509         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33510         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33511         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33512         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33513         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33514         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33515         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33516         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33518 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         [BZ #17084]
33521         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33522         Rename member __data.d to __data.__elision_data.
33524 2014-06-24  Wilco  <wdijkstr@arm.com>
33526         * NEWS: Add 16918 to fixed bug list.
33528 2014-06-24  Wilco  <wdijkstr@arm.com>
33530         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33532 2014-06-24  Wilco  <wdijkstr@arm.com>
33534         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33535         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33536         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33537         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33538         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33539         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33540         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33541         Use _FPU_MASK_RM.
33543 2014-06-24  Wilco  <wdijkstr@arm.com>
33545         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33547 2014-06-24  Wilco  <wdijkstr@arm.com>
33549         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33550         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33551         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33552         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33554 2014-06-24  Wilco  <wdijkstr@arm.com>
33556         [BZ #16918]
33557         * sysdeps/arm/feupdateenv.c (feupdateenv):
33558         Rewrite to reduce FPSCR accesses and fix return value.
33560 2014-06-24  Wilco  <wdijkstr@arm.com>
33562         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33563         Optimize to avoid unnecessary FPSCR writes.
33564         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33565         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33566         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33567         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33569 2014-06-24  Wilco  <wdijkstr@arm.com>
33571         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33572         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33573         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33574         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33575         Call libc_fetestexcept_vfp.
33576         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33577         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33578         __SOFTFP__ ifdef so that they can be built for softfp.
33580 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33582         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33583         argument type signed char.
33585         * Makerules (check-abi): Dump diff of symlist if the test
33586         fails.
33588 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33590         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33591         using abort.
33593         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33594         Remove unused variable ST.
33596 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33598         [BZ #16354]
33599         [BZ #17061]
33600         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33601         small arguments before calling __expm1.
33602         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33603         small arguments before calling __expm1f.
33604         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33605         small arguments before calling __expm1l.
33606         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33607         Likewise.
33608         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33609         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33610         spurious underflow for some cosh tests.
33611         * math/auto-libm-test-out: Regenerated.
33612         * sysdeps/i386/fpu/libm-test-ulps: Update.
33614         [BZ #17050]
33615         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33616         (__ieee754_y1): Set errno if return value overflows.
33617         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33618         (__ieee754_y1f): Set errno if return value overflows.
33619         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33620         (__ieee754_y1l): Set errno if return value overflows.
33621         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33622         (__ieee754_y1l): Set errno if return value overflows.
33623         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33624         * math/auto-libm-test-out: Regenerated.
33626         * math/gen-auto-libm-tests.c: Document use of
33627         ignore-zero-inf-sign.
33628         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33629         (input_flags): Add ignore-zero-inf-sign.
33630         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33631         * math/gen-libm-test.pl (generate_testfile): Handle
33632         ignore-zero-inf-sign.
33633         * math/auto-libm-test-in: Mark some cpow tests with
33634         ignore-zero-inf-sign and some with xfail-rounding.
33635         * math/auto-libm-test-out: Regenerated.
33636         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33637         * sysdeps/i386/fpu/libm-test-ulps: Update.
33638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33640         [BZ #16315]
33641         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33642         overflowing or underflowing operations take place with sign of
33643         result.
33644         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33645         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33646         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33647         (__ieee754_pow): Recompute overflowing and underflowing results in
33648         original rounding mode.
33649         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33650         (__powl_helper): Allow negative argument X and scale negated value
33651         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33652         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33653         overflowing or underflowing operations take place with sign of
33654         result.
33655         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33656         Include <math.h>.
33657         * math/auto-libm-test-in: Add more tests of pow.
33658         * math/auto-libm-test-out: Regenerated.
33659         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33660         (pow_tonearest_test_data): Remove.
33661         (pow_test_tonearest): Likewise.
33662         (pow_towardzero_test_data): Likewise.
33663         (pow_test_towardzero): Likewise.
33664         (pow_downward_test_data): Likewise.
33665         (pow_test_downward): Likewise.
33666         (pow_upward_test_data): Likewise.
33667         (pow_test_upward): Likewise.
33668         (main): Don't call removed functions.
33669         * sysdeps/i386/fpu/libm-test-ulps: Update.
33670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33672 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33675         Moved ...
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33678         Moved ...
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33681         Moved ...
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33684         Moved ...
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33687         File removed.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33689         File removed.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33691         File removed.
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33693         File removed.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33695         File removed.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33697         File removed.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33699         File removed.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33701         File removed.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33703         File removed.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33705         File removed.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33707         File removed.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33709         File removed.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33711         Moved ...
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33714         Moved ...
33715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33716         ... here.
33717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33718         Moved ...
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33721         Moved ...
33722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33730         Moved ...
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33733         Moved ...
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33736         Moved ...
33737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33740         ... here.
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33742         Moved ...
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33745         Moved ...
33746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33747         ... here.
33748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33749         Moved ...
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33751         ... here.
33752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33753         Moved ...
33754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33755         ... here.
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33757         Moved ...
33758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33760         Moved ...
33761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33767         ... here.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33769         Moved ...
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33771         ... here.
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33776         Moved ...
33777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33782         Moved ...
33783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33785         Moved ...
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33787         ... here.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33789         Moved ...
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33792         Moved ...
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33795         Moved ...
33796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33798         Moved ...
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33803         Moved ...
33804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33806         Moved ...
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33809         Moved ...
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33811         ... here.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33815         ... here.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33817         Moved ...
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33819         ... here.
33820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33821         Moved ...
33822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33824         Moved ...
33825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33827         Moved ...
33828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33832         ... here.
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33834         Moved ...
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33836         ... here.
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33838         Moved ...
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33840         ... here.
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33842         Moved ...
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33845         Moved ...
33846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33848 2014-06-23  Will Newton  <will.newton@linaro.org>
33849             Wilco  <wdijkstr@arm.com>
33851         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33852         implementation.  Include get-rounding-mode.h.
33853         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33854         [!libc_feholdsetround_noex_ctx]: Define
33855         libc_feholdsetround_noex_ctx.
33856         [!libc_feholdsetround_noexf_ctx]: Define
33857         libc_feholdsetround_noexf_ctx.
33858         [!libc_feholdsetround_noexl_ctx]: Define
33859         libc_feholdsetround_noexl_ctx.
33860         (libc_feholdsetround_ctx): New function.
33861         (libc_feresetround_ctx): New function.
33862         (libc_feholdsetround_noex_ctx): New function.
33863         (libc_feresetround_noex_ctx): New function.
33865 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33867         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33868         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33869         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33870         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33871         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33872         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33874         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33875         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33876         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33877         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33878         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33879         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33881         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33882         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33883         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33885         Moved ...
33886         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33887         ... here.
33888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33889         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33891         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33893         Moved ...
33894         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33895         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33896         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33898         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33899         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33900         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33902         Moved ...
33903         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33905         Moved ...
33906         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33908         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33910         Moved ...
33911         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33912         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33913         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33914         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33915         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33916         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33917         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33918         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33919         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33921         Moved ...
33922         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33923         ... here.
33924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33925         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33927         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33933         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33937         Moved ...
33938         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33940         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33941         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33942         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33943         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33944         Moved ...
33945         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33949         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33951         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33952         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33953         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33954         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33955         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33956         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33957         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33958         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33959         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33960         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33962         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33964         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33965         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33966         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33967         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33968         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33969         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33976         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33977         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33978         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33980 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33983         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33984         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33985         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33986         (IPV6_PMTUDISC_INTERFACE): Likewise.
33987         (IPV6_PMTUDISC_OMIT): Likewise.
33989 2014-06-23  Andreas Schwab  <schwab@suse.de>
33991         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33992         Remove unused errout label.
33994 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33996         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33997         macro: hardware supports Vector Crypto instructions.
33999 2014-06-23  Will Newton  <will.newton@linaro.org>
34001         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34002         rather than __builtin_expect.
34004         * elf/dl-lookup.c (undefined_msg): Remove variable.
34005         (_dl_lookup_symbol_x): Replace undefined_msg with string
34006         literal.
34008         * elf/dl-lookup.c (do_lookup_unique): New function.
34009         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34010         to a separate function.
34012 2014-06-23  Andreas Schwab  <schwab@suse.de>
34014         [BZ #17079]
34015         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34016         before reading the next line.
34018 2014-06-23  Will Newton  <will.newton@linaro.org>
34020         * test-skeleton.c (signal_handler): Use printf and %m
34021         rather than perror.  Use printf rather than fprintf to
34022         stderr.  Use puts rather than fputs to stderr.
34023         (main): Likewise.
34025 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34027         * nscd/nscd.c (thread_info_t): Remove typedef.
34028         (thread_info): Remove variable.
34030 2014-06-21  Allan McRae  <allan@archlinux.org>
34032         * NEWS: Mention CVE-2014-4043.
34034 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34036         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34037         * nptl/smp.h: ... here.
34039         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34041         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34042         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34043         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34044         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34046         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34047         * nptl/stack-aliasing.h: New file.
34048         * sysdeps/i386/i686/stack-aliasing.h: New file.
34049         * sysdeps/i386/i686/nptl/Makefile: File removed.
34050         * sysdeps/x86_64/stack-aliasing.h: New file.
34051         * sysdeps/x86_64/nptl/Makefile
34052         (CFLAGS-pthread_create.c): Variable removed.
34054         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34055         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34056         old file.
34057         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34058         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34059         old file.
34061 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34063         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34064         (__ASSUME_SIGFRAME_V2): Remove macro.
34065         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34066         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34067         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34068         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34069         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34070         Declare as function.  Remove conditional macro definitions.
34071         (__default_rt_sa_restorer): Likewise.
34072         (__default_sa_restorer_v1): Remove declaration.
34073         (__default_sa_restorer_v2): Likewise.
34074         (__default_rt_sa_restorer_v1): Likewise.
34075         (__default_rt_sa_restorer_v2): Likewise.
34076         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34077         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34078         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34080 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34082         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34083         (libpthread-routines): Add sysdep.
34084         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34085         * sysdeps/unix/sysv/linux/sparc/Versions
34086         (libpthread: GLIBC_2.3.3): New version set.
34087         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34088         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34089         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34090         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34091         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34092         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34093         Moved ...
34094         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34096         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34097         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34098         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34099         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34100         * sysdeps/sparc/nptl/sem_init.c: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34102         * sysdeps/sparc/nptl/sem_post.c: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34104         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34106         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34107         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34108         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34109         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34110         (libpthread-routines): Add cpu_relax.
34111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34112         File removed.
34113         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34114         (librt: GLIBC_2.3.3): New version set.
34115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34116         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34117         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34118         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34121         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34123         Moved ...
34124         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34126         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34128         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34130         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34132         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34134         Moved ...
34135         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34136         Update #include.
34137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34138         Moved ...
34139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34140         Update #include.
34141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34142         Moved ...
34143         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34144         Update #include.
34145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34146         Moved ...
34147         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34148         Update #include.
34149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34150         Moved ...
34151         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34152         Update #include.
34153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34154         Moved ...
34155         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34156         Update #include.
34157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34158         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34164         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34166         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34168         Moved ...
34169         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34171         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34173         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34175 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34177         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34178         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34179         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34180         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34181         * nscd/nscd.c: Likewise.
34182         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34183         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34184         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34185         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34187         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34188         <kernel-features.h>.
34189         (init_mq_netlink): Remove conditional have_sock_cloexec
34190         definitions.  Remove code conditional on have_sock_cloexec < 0.
34191         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34192         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34193         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34194         <kernel-features.h>.
34195         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34196         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34198 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34201         Add tests for memset_chk and memset.
34203         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34204         with AVX2_Usable.
34206 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34208         [BZ #16046]
34209         * elf/tst-dl-iter-static.c: New file.
34210         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34212         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34213         error.
34215 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34217         * sysdeps/unix/sysv/linux/kernel-features.h
34218         (__ASSUME_F_GETOWN_EX): Remove macro.
34219         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34220         <kernel-features.h>.
34221         (miss_F_GETOWN_EX): Remove variable or macro.
34222         (do_fcntl): Do not check miss_F_GETOWN_EX.
34223         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34226         Remove macro.
34227         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34228         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34229         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34231         * sysdeps/unix/sysv/linux/kernel-features.h
34232         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34233         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34234         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34235         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34237 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34239         [BZ #17075]
34240         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34241         Fix calculation of the symbol's value.
34242         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34243         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34244         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34245         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34246         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34247         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34248         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34249         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34250         (modules-names): Add `tst-armtlsdescmod',
34251         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34252         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34253         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34254         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34255         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34256         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34257         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34258         ($(objpfx)tst-armtlsdescloc): New dependency.
34259         ($(objpfx)tst-armtlsdescextnow): Likewise.
34260         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34261         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34262         TLS scheme support.
34263         * sysdeps/arm/configure: Regenerate.
34265 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34267         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34268         (__atfct_seterrno_2): Likewise.
34269         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34270         <kernel-features.h>.
34271         (__ASSUME_ATFCTS): Do not undefine and redefine.
34272         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34273         (__have_atfcts): Remove conditional definition.
34274         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34275         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34276         unreachable if [__ASSUME_ATFCTS].
34277         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34278         not undefine and redefine.
34279         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34280         <kernel-features.h>.
34281         (faccessat) [__NR_faccessat]: Make code unconditional.
34282         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34283         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34284         <kernel-features.h>.
34285         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34286         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34287         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34288         <kernel-features.h>.
34289         (fchownat) [__NR_fchownat]: Make code unconditional.
34290         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34291         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34292         <kernel-features.h>.
34293         (futimesat) [__NR_futimesat]: Make code unconditional.
34294         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34295         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34296         <kernel-features.h>.
34297         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34298         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34299         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34300         <kernel-features.h>.
34301         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34302         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34303         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34304         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34305         <kernel-features.h>.
34306         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34307         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34308         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34309         <kernel-features.h>.
34310         (linkat) [__NR_linkat]: Make code unconditional.
34311         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34312         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34313         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34314         <kernel-features.h>.
34315         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34316         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34317         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34318         <kernel-features.h>.
34319         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34320         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34321         * sysdeps/unix/sysv/linux/openat.c: Do not include
34322         <kernel-features.h>.
34323         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34324         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34325         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34326         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34327         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34328         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34329         <kernel-features.h>.
34330         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34331         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34332         result of INLINE_SYSCALL directly, not via int variable.
34333         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34334         <kernel-features.h>.
34335         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34336         (renameat) [__NR_renameat]: Make code unconditional.
34337         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34338         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34339         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34340         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34342         (__ASSUME_ATFCTS): Do not undefine and redefine.
34343         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34344         <kernel-features.h>.
34345         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34346         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34347         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34348         <kernel-features.h>.
34349         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34350         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34351         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34352         (__ASSUME_ATFCTS): Do not undefine and redefine.
34353         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34354         <kernel-features.h>.
34355         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34356         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34357         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34358         <kernel-features.h>.
34359         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34360         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34362 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34364         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34366 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34368         [BZ #17069]
34369         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34370         constructed tree before returning error.
34371         * posix/bug-regexp36.c: Expand test case.
34373 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34375         [BZ #6803]
34376         * math/libm-test.inc (scalbln_test_date):
34377         Add errno expectations.
34378         * math/w_scalblnf.c: New File.
34379         Add wrapper which checks for setting errno to ERANGE.
34380         Add weak_alias for corresponding scalbln function.
34381         * math/w_scalbln.c: Likewise.
34382         * math/w_scalblnl.c: Likewise.
34383         * math/Makefile (libm-calls): Add w_scalbln.
34384         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34385         Remove weak_alias for corresponding scalbln function.
34386         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34388         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34389         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34390         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34391         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34392         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34393         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34394         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34395         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34396         Remove long_double_symbol for scalblnl function in libm, libc.
34397         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34398         Add wrapper which checks for setting errno to ERANGE.
34399         Add long_double_symbol for scalblnl function in libm, libc.
34400         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34401         Remove long_double_symbol for scalblnl in libm.
34402         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34403         Add wrapper which checks for setting errno to ERANGE.
34404         Add long_double_symbol for scalblnl function in libm.
34405         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34406         Do not use wrapper because of own implementation.
34408 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34410         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34411         3 bytes for __pad1 for x32.
34412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34414 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34415             H.J. Lu  <hongjiu.lu@intel.com>
34417         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34418         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34421         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34423 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34425         [BZ #17069]
34426         * posix/regcomp.c (parse_expression): Deallocate partially
34427         constructed tree before returning error.
34428         * posix/Makefile.c (tests): Add bug-regex36.
34429         (generated): Add bug-regex36.mtrace.
34430         (tests-special): Add $(objpfx)bug-regex36-mem.out
34431         (bug-regex36-ENV): New variable.
34432         ($(objpfx)bug-regex36-mem.out): New rule.
34433         * posix/bug-regex36.c: New file.
34435 2014-06-19  Will Newton  <will.newton@linaro.org>
34437         * malloc/malloc.c (systrim): If extra is zero then return
34438         early.
34440 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34442         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34444 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34446         * sysdeps/aarch64/strchr.S: New file.
34448 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34450         [BZ #17022]
34451         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34452         from arguments -2 or below.
34453         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34454         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34456 2014-06-18  Andreas Schwab  <schwab@suse.de>
34458         [BZ #17062]
34459         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34460         of a bracket expr not to run off the end of the string.
34461         * posix/Makefile (tests): Add tst-fnmatch3.
34462         * posix/tst-fnmatch3.c: New file.
34464 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34466         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34467         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34468         [$(cross-compiling) = no]: Likewise.
34469         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34470         [$(cross-compiling) = no]: Likewise.
34472 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34474         [BZ #17031]
34475         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34476         double, adjusted for any remainder from the high double.
34477         * math/libm-test.inc (nearbyint): Add tests.
34478         (rint): Likewise.
34480 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34482         * nptl/sysdeps/powerpc/Makefile: Moved ...
34483         * sysdeps/powerpc/nptl/Makefile: ... here.
34484         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34485         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34486         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34487         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34488         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34489         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34490         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34491         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34492         * nptl/sysdeps/powerpc/tls.h: Moved ...
34493         * sysdeps/powerpc/nptl/tls.h: ... here.
34495 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34497         [BZ #16681]
34498         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34499         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34500         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34501         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34502         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34503         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34504         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34505         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34506         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34508 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34510         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34512 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34514         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34515         defined operator.
34517         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34518         $TIMEOUTFACTOR.
34520 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34522         [BZ #17058]
34523         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34524         non-executed part of the test.
34526 2014-06-16  Andreas Schwab  <schwab@suse.de>
34528         * string/bits/string2.h (strdup, strndup): Update feature guard.
34530 2014-06-14  David S. Miller  <davem@davemloft.net>
34532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34534 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34536         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34537         that was previously under [RESET_PID].
34538         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34540         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34541         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34542         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34543         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34544         (__libc_vfork): New strong alias.
34545         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34547 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34549         * sysdeps/generic/elide.h: New file.
34551 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34553         * Makefile (installed-headers): Adjust path of pthread.h header.
34555 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34557         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34558         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34559         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34560         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34562         * nptl/sysdeps/s390/Makefile: Moved ...
34563         * sysdeps/s390/nptl/Makefile: ... here.
34564         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34565         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34566         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34567         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34568         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34569         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34570         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34571         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34572         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34573         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34574         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34575         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34576         * nptl/sysdeps/s390/tls.h: Moved ...
34577         * sysdeps/s390/nptl/tls.h: ... here.
34579         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34580         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34582 2014-06-13  David S. Miller  <davem@davemloft.net>
34584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34587         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34591         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34592         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34593         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34594         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34595         Remove RESET_PID cpp guards.
34596         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34597         Remove RESET_PID cpp guards.
34598         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34600 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34602         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34603         __sp to uintptr_t.
34605 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34607         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34608         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34609         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34610         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34611         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34612         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34613         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34614         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34615         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34616         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34618         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34619         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34620         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34622         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34623         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34624         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34625         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34626         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34628         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34629         (pthread_rwlock_rdlock): Add elision.
34630         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34631         (pthread_rwlock_wrlock): Add elision.
34632         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34633         (pthread_rwlock_trywrlock): Add elision.
34634         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34635         (pthread_rwlock_tryrdlock): Add elision.
34636         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34637         (pthread_rwlock_tryrdlock): Add elision unlock.
34638         * nptl/sysdeps/pthread/pthread.h:
34639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34640         (PTHREAD_RWLOCK_INITIALIZER,
34641         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34642         Handle new elision field.
34643         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34644         * sysdeps/arm/nptl/bits/pthreadtypes.h
34645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34646         * sysdeps/sh/nptl/bits/pthreadtypes.h
34647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34648         * sysdeps/tile/nptl/bits/pthreadtypes.h
34649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34650         * sysdeps/a/nptl/bits/pthreadtypes.h
34651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34652         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34654         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34656         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34658         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34660         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34662         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34664         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34666         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34668         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34669         (elision_init): Set try_xbegin to zero when no RTM.
34670         * sysdeps/x86/nptl/bits/pthreadtypes.h
34671         (pthread_rwlock_t): Change __pad1 to __rwelision.
34672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34674 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34676         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34677         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34678         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34679         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34681 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34683         [BZ #16996]
34684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34685         that the cached result has been set before returning it.
34687 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34689         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34690         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34691         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34692         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34693         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34694         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34696         * nptl/sysdeps/sparc/Makefile: Moved ...
34697         * sysdeps/sparc/nptl/Makefile: ... here.
34698         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34699         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34700         * nptl/sysdeps/sparc/tls.h: Moved ...
34701         * sysdeps/sparc/nptl/tls.h: ... here.
34702         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34703         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34704         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34705         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34706         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34707         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34708         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34709         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34710         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34711         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34712         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34713         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34714         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34715         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34716         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34717         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34718         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34720         Update #include.
34721         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34722         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34723         Update #include.
34724         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34725         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34726         Update #include.
34727         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34729         Update #include.
34731         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34733         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34734         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34736         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34737         (struct list_links): Type removed.
34738         (struct thread_node, struct timer_node): Replace struct list_links
34739         with struct list_head.
34740         (list_unlink_ip): Likewise.
34741         * sysdeps/pthread/timer_routines.c
34742         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34743         (list_append, list_insbefore): Likewise.
34744         (list_init): Function removed.
34745         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34746         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34747         * sysdeps/pthread/Makefile: ... here, new file.
34749         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34750         * sysdeps/nptl/Implies: ... here.
34751         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34752         * nptl/sysdeps/pthread/list.h: Moved ...
34753         * include/list.h: ... here.
34754         * nptl/sysdeps/pthread/createthread.c: Moved ...
34755         * nptl/createthread.c: ... here.
34756         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34757         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34758         * nptl/pt-longjmp.c: ... here.
34759         * nptl/sysdeps/pthread/Makefile: Moved ...
34760         * sysdeps/nptl/Makefile: ... here.
34761         * nptl/sysdeps/pthread/Subdirs: Moved ...
34762         * sysdeps/nptl/Subdirs: ... here.
34763         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34764         * sysdeps/nptl/aio_misc.h: ... here.
34765         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34766         * sysdeps/nptl/bits/libc-lock.h: ... here.
34767         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34768         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34769         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34770         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34771         * nptl/sysdeps/pthread/configure: Moved ...
34772         * sysdeps/nptl/configure: ... here.
34773         * nptl/sysdeps/pthread/configure.ac: Moved ...
34774         * sysdeps/nptl/configure.ac: ... here.
34775         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34776         * sysdeps/nptl/gai_misc.h: ... here.
34777         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34778         * sysdeps/nptl/librt-cancellation.c: ... here.
34779         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34780         * sysdeps/nptl/malloc-machine.h: ... here.
34781         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34782         * sysdeps/nptl/pthread-functions.h: ... here.
34783         * nptl/sysdeps/pthread/pthread.h: Moved ...
34784         * sysdeps/nptl/pthread.h: ... here.
34785         * nptl/sysdeps/pthread/setxid.h: Moved ...
34786         * sysdeps/nptl/setxid.h: ... here.
34787         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34788         * sysdeps/nptl/sigfillset.c: ... here.
34789         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34790         * sysdeps/nptl/tcb-offsets.h: ... here.
34791         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34792         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34793         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34794         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34795         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34796         * sysdeps/pthread/allocalim.h: ... here.
34797         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34798         * sysdeps/pthread/bits/sigthread.h: ... here.
34799         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34800         * sysdeps/pthread/flockfile.c: ... here.
34801         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34802         * sysdeps/pthread/ftrylockfile.c: ... here.
34803         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34804         * sysdeps/pthread/funlockfile.c: ... here.
34805         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34806         * sysdeps/pthread/posix-timer.h: ... here.
34807         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34808         * sysdeps/pthread/timer_create.c: ... here.
34809         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34810         * sysdeps/pthread/timer_delete.c: ... here.
34811         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34812         * sysdeps/pthread/timer_getoverr.c: ... here.
34813         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34814         * sysdeps/pthread/timer_gettime.c: ... here.
34815         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34816         * sysdeps/pthread/timer_routines.c: ... here.
34817         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34818         * sysdeps/pthread/timer_settime.c: ... here.
34819         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34820         * sysdeps/pthread/tst-timer.c: ... here.
34821         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34822         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34824         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34825         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34827         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34828         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34829         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34830         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34831         Update #include target.
34832         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34833         * sysdeps/i386/i686/nptl/Makefile: ... here.
34834         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34835         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34836         Update #include target.
34837         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34838         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34839         * nptl/sysdeps/i386/Makefile: Moved ...
34840         * sysdeps/i386/nptl/Makefile: ... here.
34841         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34842         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34843         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34844         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34845         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34846         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34847         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34848         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34849         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34850         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34851         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34852         * nptl/sysdeps/i386/tls.h: Moved ...
34853         * sysdeps/i386/nptl/tls.h: ... here.
34855         * sysdeps/sh/Makefile [$(subdir) = csu]
34856         (gen-as-const-headers): Add tcb-offsets.sym.
34857         * nptl/sysdeps/sh/Makefile: File removed.
34858         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34859         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34860         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34861         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34862         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34863         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34864         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34865         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34866         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34867         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34868         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34869         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34870         * nptl/sysdeps/sh/tls.h: Moved ...
34871         * sysdeps/sh/nptl/tls.h: ... here.
34872         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34873         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34874         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34875         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34876         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34877         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34878         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34879         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34880         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34881         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34882         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34883         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34884         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34885         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34886         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34887         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34889         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34891         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34893         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34897         Moved ...
34898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34899         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34900         Moved ...
34901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34905         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34906         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34907         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34908         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34909         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34910         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34911         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34912         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34913         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34914         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34915         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34916         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34917         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34918         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34919         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34921 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34923         * posix/spawn_faction_addopen.c: Include string.h.
34925 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34927         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34928         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34929         * nptl/sysdeps/x86_64/Makefile: Moved ...
34930         * sysdeps/x86_64/nptl/Makefile: ... here.
34931         * nptl/sysdeps/x86_64/configure: Moved ...
34932         * sysdeps/x86_64/nptl/configure: ... here.
34933         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34934         * sysdeps/x86_64/nptl/configure.ac: ... here.
34935         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34936         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34937         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34938         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34939         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34940         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34941         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34942         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34943         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34944         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34945         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34946         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34947         * nptl/sysdeps/x86_64/tls.h: Moved ...
34948         * sysdeps/x86_64/nptl/tls.h: ... here.
34949         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34950         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34951         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34952         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34954         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34956 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34960 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34962         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34963         type.
34964         [POSIX] (off_t): Likewise.
34965         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34966         [POSIX] (S_ISBLK): Require macro.
34967         [POSIX] (S_ISCHR): Likewise.
34968         [POSIX] (S_ISDIR): Likewise.
34969         [POSIX] (S_ISFIFO): Likewise.
34970         [POSIX] (S_ISREG): Likewise.
34971         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34972         optional-macro.
34973         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34974         type.
34975         [POSIX] (time_t): Likewise.
34976         [POSIX] (timer_t): Likewise.
34978 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34980         [BZ #17048]
34981         * posix/spawn_int.h (struct __spawn_action): Make the path string
34982         non-const to support deallocation.
34983         * posix/spawn_faction_addopen.c
34984         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34985         * posix/spawn_faction_destroy.c
34986         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34987         path in all spawn_do_open actions.
34988         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34989         posix_spawn_file_actions_addopen.
34991 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34993         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34994         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34995         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34996         conditional code always true.
34997         (__libc_vfork): New alias.
34999 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35001         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35002         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35004         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35006         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35007         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35009         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35010         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35012         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35013         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35015 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35017         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35018         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35019         multiarch strcmp for PPC64.
35020         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35021         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35023         multiarch optimizations.
35024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35025         (__libc_ifunc_impl_list): Likewise.
35027 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35029         * benchtests/scripts/validate_benchout.py: New script.
35030         * benchtests/Makefile (bench-func): Call it.
35031         * benchtests/scripts/benchout.schema.json: New file.
35033 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35035         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35036         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35037         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35038         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35039         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35040         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35041         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35042         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35043         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35044         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35045         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35046         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35047         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35048         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35049         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35050         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35052         Moved ...
35053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35054         ... here.
35055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35056         Moved ...
35057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35059         Moved ...
35060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35061         ... here.
35062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35063         Moved ...
35064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35065         ... here.
35066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35067         Moved ...
35068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35070         Moved ...
35071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35072         ... here.
35073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35074         Moved ...
35075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35076         ... here.
35077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35078         Moved ...
35079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35081         Moved ...
35082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35083         ... here.
35084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35085         Moved ...
35086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35087         ... here.
35088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35089         Moved ...
35090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35091         ... here.
35092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35093         Moved ...
35094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35096         Moved ...
35097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35098         ... here.
35099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35100         Moved ...
35101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35102         ... here.
35103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35104         Moved ...
35105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35106         ... here.
35107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35108         Moved ...
35109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35111         Moved ...
35112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35113         ... here.
35114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35115         Moved ...
35116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35117         ... here.
35118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35119         Moved ...
35120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35122         Moved ...
35123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35124         ... here.
35125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35126         Moved ...
35127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35129         Moved ...
35130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35132         Moved ...
35133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35134         ... here.
35135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35136         Moved ...
35137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35138         ... here.
35139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35140         Moved ...
35141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35142         ... here.
35143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35144         Moved ...
35145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35147         Moved ...
35148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35149         ... here.
35150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35151         Moved ...
35152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35153         ... here.
35154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35155         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35157         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35159         Moved ...
35160         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35161         ... here.
35162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35163         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35165         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35167         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35169         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35171         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35173         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35175         Moved ...
35176         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35177         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35178         Moved ...
35179         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35181         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35183         Moved ...
35184         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35185         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35186         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35187         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35188         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35189         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35190         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35192 2014-06-10  Wilco  <wdijkstr@arm.com>
35194         * math/test-fenv-return.c: New file.
35195         * math/Makefile: Add new test test-fenv-return.
35197 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35199         [BZ #17042]
35200         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35201         when x - 1 is zero.
35202         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35203         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35204         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35205         0.0L for an argument of 1.0L.
35206         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35207         Likewise.
35208         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35209         value when x - 1 is zero.
35210         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35211         * sysdeps/i386/fpu/libm-test-ulps: Update.
35212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35214 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35216         [BZ #15119]
35217         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35219 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35221         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35222         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35224 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35226         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35227         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35229         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35230         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35232         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35233         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35235         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35236         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35238         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35239         if not already defined.
35240         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35241         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35242         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35243         (TLS_INIT_TP): Use it.
35244         (TLS_DEFINE_INIT_TP): New macro.
35245         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35247 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35249         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35250         constant.
35251         [POSIX] (IXANY): Likewise.
35252         [POSIX] (OLCUC): Likewise.
35253         [POSIX || POSIX2008] (CBAUD): Do not allow.
35254         [POSIX || POSIX2008] (DEFECHO): Likewise.
35255         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35256         [POSIX || POSIX2008] (ECHOKE): Likewise.
35257         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35258         [POSIX || POSIX2008] (EXTA): Likewise.
35259         [POSIX || POSIX2008] (EXTB): Likewise.
35260         [POSIX || POSIX2008] (FLUSHO): Likewise.
35261         [POSIX || POSIX2008] (LOBLK): Likewise.
35262         [POSIX || POSIX2008] (PENDIN): Likewise.
35263         [POSIX || POSIX2008] (SWTCH): Likewise.
35264         [POSIX || POSIX2008] (VDISCARD): Likewise.
35265         [POSIX || POSIX2008] (VDSUSP): Likewise.
35266         [POSIX || POSIX2008] (VLNEXT): Likewise.
35267         [POSIX || POSIX2008] (VREPRINT): Likewise.
35268         [POSIX || POSIX2008] (VSTATUS): Likewise.
35269         [POSIX || POSIX2008] (VWERASE): Likewise.
35270         (B*): Change to B[0123456789]*.
35271         * conform/data/time.h-data [POSIX || UNIX98]
35272         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35273         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35274         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35275         [POSIX] (tm_*): Do not allow.
35277 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35279         * Makefile (install): Don't set LANGUAGE.
35280         * Makefile.in (install): Likewise.
35281         * assert/Makefile (test-assert-ENV): Remove variable.
35282         (test-assert-perr-ENV): Likewise.
35283         * elf/Makefile (neededtest4-ENV): Likewise.
35284         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35285         [$(cross-compiling) = no]: Don't set LANGUAGE.
35286         * io/ftwtest-sh (LANG): Remove variable.
35287         * libio/Makefile (tst-widetext-ENV): Likewise.
35288         * manual/install.texi (Running make install): Don't refer to
35289         environment settings for make install.
35290         * INSTALL: Regenerated.
35291         * nptl/tst-tls6.sh: Don't set LANG.
35292         * posix/globtest.sh (LANG): Remove variable.
35293         * string/Makefile (tester-ENV): Likewise.
35294         (inl-tester-ENV): Likewise.
35295         (noinl-tester-ENV): Likewise.
35296         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35297         [$(cross-compiling) = no]: Don't set LANGUAGE.
35298         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35299         without explicit environment settings.
35301 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35303         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35304         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35305         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35306         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35308 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35310         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35311         other files in the crypt directory.
35312         * crypt/crypt.c: Remove duplicate includes.
35313         * crypt/crypt-entry.c: Likewise.
35314         * crypt/crypt_util.c: Likewise.
35316 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35318         * Makeconfig (run-program-env): New variable.
35319         (run-program-prefix-before-env): Likewise.
35320         (run-program-prefix-after-env): Likewise.
35321         (run-program-prefix): Define in terms of new variables.
35322         (built-program-cmd-before-env): New variable.
35323         (built-program-cmd-after-env): Likewise.
35324         (built-program-cmd): Define in terms of new variables.
35325         (test-program-prefix-before-env): New variable.
35326         (test-program-prefix-after-env): Likewise.
35327         (test-program-prefix): Define in terms of new variables.
35328         (test-program-cmd-before-env): New variable.
35329         (test-program-cmd-after-env): Likewise.
35330         (test-program-cmd): Define in terms of new variables.
35331         * Rules (make-test-out): Use $(run-program-env).
35332         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35333         (help): Do not mention environment variables.  Mention
35334         --timeoutfactor option.
35335         (timeoutfactor): New variable.
35336         (blacklist_exports): Remove function.
35337         (exports): Remove variable.
35338         (command): Do not include ${exports}.
35339         * manual/install.texi (Configuring and compiling): Do not mention
35340         test wrappers preserving environment variables.  Mention that last
35341         assignment to a variable must take precedence.
35342         * INSTALL: Regenerated.
35343         * benchtests/Makefile (run-bench): Use $(run-program-env).
35344         * catgets/Makefile ($(objpfx)test1.cat): Use
35345         $(built-program-cmd-before-env), $(run-program-env) and
35346         $(built-program-cmd-after-env).
35347         ($(objpfx)test2.cat): Do not specify environment variables
35348         explicitly.
35349         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35350         $(run-program-env) and $(built-program-cmd-after-env).
35351         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35352         $(run-program-env) and $(test-program-cmd-after-env).
35353         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35354         explicitly.
35355         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35356         run_program_env and test_program_cmd_after_env arguments.
35357         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35358         * elf/tst-pathopt.sh: Use run_program_env argument.
35359         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35360         $(test-wrapper-env) and $(run-program-env).
35361         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35362         run_program_env arguments.
35363         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35364         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35365         $(test-program-prefix-before-env), $(run-program-env) and
35366         $(test-program-prefix-after-env).
35367         ($(objpfx)tst-gettext2.out): Likewise.
35368         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35369         run_program_env and test_program_prefix_after_env arguments.
35370         * intl/tst-gettext2.sh: Likewise.
35371         * intl/tst-gettext4.sh: Do not set environment variables
35372         explicitly.
35373         * intl/tst-gettext6.sh: Likewise.
35374         * intl/tst-translit.sh: Likewise.
35375         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35376         $(test-program-prefix-before-env), $(run-program-env) and
35377         $(test-program-prefix-after-env).
35378         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35379         run_program_env and test_program_prefix_after_env arguments.
35380         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35381         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35382         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35383         explicitly with each use of ${test_wrapper_env}.
35384         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35385         $(test-program-prefix-before-env), $(run-program-env) and
35386         $(test-program-prefix-after-env).
35387         * posix/tst-getconf.sh: Do not set environment variables
35388         explicitly.
35389         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35390         run_program_env and test_program_prefix_after_env arguments.
35391         * stdio-common/tst-printf.sh: Do not set environment variables
35392         explicitly.
35393         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35394         $(test-program-prefix-before-env), $(run-program-env) and
35395         $(test-program-prefix-after-env).
35396         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35397         run_program_env and test_program_prefix_after_env arguments.
35398         Split $test calls into $test_pre and $test.
35399         * timezone/Makefile (build-testdata): Use
35400         $(built-program-cmd-before-env), $(run-program-env) and
35401         $(built-program-cmd-after-env).
35403 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35405         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35406         strlen for non SHARED builds.
35408 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35410         * nptl/allocatestack.c (check_list): Inlined function...
35411         (__reclaim_stacks): ... here.
35413 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35415         [BZ #15698]
35416         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35417         memory overrun.
35419 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35421         * Rules (make-test-out): Include
35422         LOCPATH=$(common-objpfx)localedata in default environment.
35423         * debug/Makefile (tst-chk1-ENV): Remove variable.
35424         (tst-chk2-ENV): Likewise.
35425         (tst-chk3-ENV): Likewise.
35426         (tst-chk4-ENV): Likewise.
35427         (tst-chk5-ENV): Likewise.
35428         (tst-chk6-ENV): Likewise.
35429         (tst-lfschk1-ENV): Likewise.
35430         (tst-lfschk2-ENV): Likewise.
35431         (tst-lfschk3-ENV): Likewise.
35432         (tst-lfschk4-ENV): Likewise.
35433         (tst-lfschk5-ENV): Likewise.
35434         (tst-lfschk6-ENV): Likewise.
35435         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35436         (tst-iconv7-ENV): Likewise.
35437         * intl/Makefile (LOCPATH-ENV): Likewise.
35438         (tst-codeset-ENV): Likewise.
35439         (tst-gettext3-ENV): Likewise.
35440         (tst-gettext5-ENV): Likewise.
35441         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35442         (tst-fopenloc-ENV): Likewise.
35443         (tst-fgetws-ENV): Remove variable.
35444         (tst-ungetwc1-ENV): Likewise.
35445         (tst-ungetwc2-ENV): Likewise.
35446         (bug-ungetwc2-ENV): Likewise.
35447         (tst-swscanf-ENV): Likewise.
35448         (bug-ftell-ENV): Likewise.
35449         (tst-fgetwc-ENV): Likewise.
35450         (tst-fseek-ENV): Likewise.
35451         (tst-ftell-partial-wide-ENV): Likewise.
35452         (tst-ftell-active-handler-ENV): Likewise.
35453         (tst-ftell-append-ENV): Likewise.
35454         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35455         (tst-regexloc-ENV): Likewise.
35456         (bug-regex1-ENV): Likewise.
35457         (tst-regex-ENV): Likewise.
35458         (tst-regex2-ENV): Likewise.
35459         (bug-regex5-ENV): Likewise.
35460         (bug-regex6-ENV): Likewise.
35461         (bug-regex17-ENV): Likewise.
35462         (bug-regex18-ENV): Likewise.
35463         (bug-regex19-ENV): Likewise.
35464         (bug-regex20-ENV): Likewise.
35465         (bug-regex22-ENV): Likewise.
35466         (bug-regex23-ENV): Likewise.
35467         (bug-regex25-ENV): Likewise.
35468         (bug-regex26-ENV): Likewise.
35469         (bug-regex30-ENV): Likewise.
35470         (bug-regex32-ENV): Likewise.
35471         (bug-regex33-ENV): Likewise.
35472         (bug-regex34-ENV): Likewise.
35473         (bug-regex35-ENV): Likewise.
35474         (tst-rxspencer-ENV): Likewise.
35475         (tst-rxspencer-no-utf8-ENV): Likewise.
35476         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35477         (tst-sscanf-ENV): Likewise.
35478         (tst-swprintf-ENV): Likewise.
35479         (tst-swscanf-ENV): Likewise.
35480         (test-vfprintf-ENV): Likewise.
35481         (scanf13-ENV): Likewise.
35482         (bug14-ENV): Likewise.
35483         (tst-grouping-ENV): Likewise.
35484         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35485         (tst-strtod3-ENV): Likewise.
35486         (tst-strtod4-ENV): Likewise.
35487         (tst-strtod5-ENV): Likewise.
35488         (testmb2-ENV): Likewise./
35489         * string/Makefile (tst-strxfrm-ENV): Likewise.
35490         (tst-strxfrm2-ENV): Likewise.
35491         (bug-strcoll1-ENV): Likewise.
35492         (test-strcasecmp-ENV): Likewise.
35493         (test-strncasecmp-ENV): Likewise.
35494         * time/Makefile (tst-strptime-ENV): Likewise.
35495         (tst-ftime_l-ENV): Likewise.
35496         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35497         (tst-mbrtowc-ENV): Likewise.
35498         (tst-wcrtomb-ENV): Likewise.
35499         (tst-mbrtowc2-ENV): Likewise.
35500         (tst-c16c32-1-ENV): Likewise.
35501         (tst-mbsnrtowcs-ENV): Likewise.
35503 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35505         * manual/resource.texi (How to get information about the memory
35506         subsystem?): Fix typo.
35507         Reported by Peon de la Parra Ivan <peon@keba.com>
35509 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35511         [BZ #16882]
35512         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35513         (pthread_spin_lock): Branch out of spin loop to proper location.
35514         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35515         (pthread_spin_lock): Likewise.
35517         * nptl/tst-spin4.c: New test.
35518         * nptl/Makefile (tests): Add tst-spin4.
35520 2014-06-03  Andreas Schwab  <schwab@suse.de>
35522         [BZ #15946]
35523         * resolv/res_send.c (send_dg): Reload file descriptor after
35524         calling reopen.
35526 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35528         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35530 2014-06-03  Richard Henderson  <rth@redhat.com>
35532         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35533         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35534         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35535         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35536         in the SAVE_PID block.
35537         (__libc_vfork): New alias.
35538         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35540         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35541         child in registers, not on the stack.  Remove RESET_PID conditionals.
35542         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35544 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35546         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35548 2014-06-03  Wilco  <wdijkstr@arm.com>
35550         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35551         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35552         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35553         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35554         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35555         Likewise.
35557 2014-06-03  Wilco  <wdijkstr@arm.com>
35559         * sysdeps/aarch64/fpu/math_private.h
35560         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35561         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35562         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35563         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35564         Fix declarations.
35566 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35568         * crypt/crypt-private.h: Include ufc-crypt.h.
35569         (__b64_from_24bit): Declare extern.
35570         * crypt/crypt_util.c(__b64_from_24bit): New function.
35571         (b64t): New static const variable.
35572         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35573         (b64t): Remove variable.
35574         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35575         * crypt/sha256-crypt.c: Include crypt-private.h.
35576         (b64t): Remove variable.
35577         (__sha256_crypt_r): Remove b64_from_24bit and replace
35578         with __b64_from_24bit.
35579         * crypt/sha512-crypt.c: Likewise.
35581 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35583         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35584         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35585         Label the code __libc_vfork rather than __vfork.
35586         [!NOT_IN_libc] (vfork): Define as weak alias.
35587         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35588         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35589         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35591 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35593         * malloc/malloc.c (malloc_info): Fix format specifier for
35594         n_mmaps.
35596 2014-06-02  Wilco  <wdijkstr@arm.com>
35598         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35599         FPCR write.
35601 2014-06-02  Wilco  <wdijkstr@arm.com>
35603         [BZ #17009]
35604         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35605         Rewrite to reduce FPCR/FPSR accesses.
35607 2014-06-01  David S. Miller  <davem@davemloft.net>
35609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35611 2014-05-31  David S. Miller  <davem@davemloft.net>
35613         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35614         to occur in round to nearest mode when |x| >= 2.0
35616 2014-05-30  Richard Henderson  <rth@twiddle.net>
35618         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35619         (PSEUDO_RET_NOERRNO): Remove.
35620         (ret): Don't redefine.
35621         (ret_NOERRNO): Define in terms of ret.
35622         (ret_ERRVAL): Likewise.
35624         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35625         use of PSEUDO_RET; perform the error check directly.
35627 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35629         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35630         with __int128_t.
35632 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35634         * malloc/malloc (malloc_info): Fix formatting.
35636 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35637             Roland McGrath  <roland@hack.frob.com>
35639         * malloc/malloc (malloc_info): Also print mmapped statistics.
35641 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35643         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35644         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35646 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35648         * malloc/malloc.c (malloc_info): Inline mi_arena.
35650 2014-05-29  Richard Henderson  <rth@twiddle.net>
35652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35653         Remove comma before expanding ASM_ARGS_##nr.
35654         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35655         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35656         of ASM_ARGS_##nr.
35657         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35658         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35659         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35660         (ASM_ARGS_1): Add leading comma.
35662         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35663         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35664         to __errno_location.
35665         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35666         Remove the expected plt for __errno_location.
35668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35669         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35670         call to __read_tp.
35672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35673         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35674         it and break it down.
35675         (DOCARGS_0, DOCARGS_1): Do nothing.
35676         (DOCARGS_2): Update to store into the new stack frame.
35677         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35678         (UNDOCARGS_1): Update to restore from the new stack frame.
35679         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35680         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35683         (SINGLE_THREAD_P): New parameter for result regno.
35684         (PSEUDO): Update to match; use cbz instead of beq.
35686         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35687         Use ENTRY to define the _nocancel entry point.  Share the syscall
35688         and syscall error check paths with the cancel path.
35689         (PSEUDO_END): New.
35691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35692         whitespace; tabs before and after asm mnemonics.
35694 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35696         [BZ #15132]
35697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35698         Call fstat64 or stat64 internally, depending on arguments passed.
35699         Replace stat buffer argument with file descriptor argument.
35700         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35701         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35702         Pass fd to __internal_statvfs instead of calling fstat64.
35703         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35704         Pass fd to __internal_statvfs64 instead of calling fstat64.
35705         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35706         Pass -1 to __internal_statvfs instead of calling stat64.
35707         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35708         Pass -1 to __internal_statvfs64 instead of calling stat64.
35710 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35712         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35713         that was previously under [RESET_PID].
35714         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35716         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35717         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35719 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35721         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35723         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35724         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35726 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35728         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35730 2014-05-27  Andreas Schwab  <schwab@suse.de>
35732         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35733         TLS_INIT_TP macro.
35734         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35735         * elf/rtld.c (init_tls, dl_main): Likewise.
35736         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35737         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35738         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35739         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35740         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35741         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35742         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35743         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35744         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35745         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35746         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35747         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35748         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35749         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35750         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35751         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35752         * sysdeps/generic/tls.h: Update description.
35754 2014-05-27  Will Newton  <will.newton@linaro.org>
35756         [BZ #16990]
35757         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35758         and restore r2 rather than just restoring.
35760 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         [BZ #16724]
35763         * libio/tst-ftell-append.c: New test case.
35764         * libio/Makefile (tests): Add test case.
35765         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35766         append mode.
35767         * libio/wfileops.c (do_ftell_wide): Likewise.
35769 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35773         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35774         ...
35775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35777         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35778         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35779         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35780         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35781         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35782         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35784         Moved ...
35785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35787         Moved ...
35788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35789         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35790         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35791         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35792         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35793         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35794         ...
35795         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35796         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35797         Moved ...
35798         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35799         here.
35800         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35801         ...
35802         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35803         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35804         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35806         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35807         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35808         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35809         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35812         merge into ...
35813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35815         ...
35816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35818         ...
35819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35821         Moved ...
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35823         here.
35824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35825         Moved ...
35826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35828         Moved ...
35829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35832         conditional [RESET_PID].
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35835         removed.
35836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35837         removed.
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35840         <tcb-offsets.h>.
35841         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35842         (__libc_vfork): New strong alias.
35843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35844         removed.
35845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35846         Removed.
35848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35849         <tcb-offsets.h>.
35850         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35851         (__libc_vfork): New strong alias.
35852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35853         removed.
35854         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35855         removed.
35857 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35859         * malloc/malloc.c (mi_arena): New function.
35860         (malloc_info): Remove nested function mi_arena. Call non-nosted
35861         function mi_arena.
35863 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35865         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35866         by insrwi.
35867         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35868         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35869         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35870         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35871         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35872         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35873         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35875 2014-05-26  Andreas Schwab  <schwab@suse.de>
35877         [BZ #16984]
35878         * locale/programs/repertoire.c (repertoire_read): Add slash
35879         between I18NPATH element and file name.
35880         * locale/programs/locfile.c (locfile_read): Likewise.
35882 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35884         * nptl/pthread_mutexattr_settype.c
35885         (__pthread_mutexattr_settype):
35886         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35888 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35890         * nptl/tst-mutex5 (do_test):
35891         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35893 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35895         * benchtests/README: Document 'init' directive.
35896         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35897         BENCH_INIT.
35898         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35899         (parse_file): Recognize 'init' directive.
35901 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35903         [BZ #16796]
35904         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35905         alignment of struct pthread.
35907 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35909         [BZ #16878]
35910         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35911         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35912         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35913         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35915 2014-05-25  Richard Henderson  <rth@twiddle.net>
35917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35918         (SINGLE_THREAD_P_PIC): Remove.
35919         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35920         (SINGLE_THREAD_P_PIC): Remove.
35922         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35923         branch to syscall error ...
35924         (PSEUDO): ... here.
35925         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35926         from __local_syscall_error to .Lsyscall_error.
35927         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35928         (SYSCALL_ERROR): Update label name.
35930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35931         Do not use DOARGS/UNDOARGS.
35932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35933         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35934         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35935         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35936         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35939         block comment.
35941         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35942         define if !NOT_IN_libc.
35943         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35944         define with non-default symbol versions.
35946 2014-05-23  Richard Henderson  <rth@twiddle.net>
35948         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35949         (vfork, __vfork): Define via compat_symbol.
35951         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35952         [!HAVE_IFUNC] (vfork_compat): Remove.
35953         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35955 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35957         [BZ #16978]
35958         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35959         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35960         variable.
35962 2014-05-23  Richard Henderson  <rth@twiddle.net>
35964         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35965         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35966         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35967         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35969         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35970         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35971         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35972         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35973         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35974         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35975         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35976         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35977         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35978         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35979         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35980         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35981         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35982         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35983         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35984         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35985         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35986         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35987         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35988         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35989         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35990         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35991         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35992         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35993         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35994         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35995         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35996         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35997         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35998         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35999         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36000         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36002         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36003         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36004         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36005         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36006         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36008         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36009         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36010         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36011         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36012         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36013         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36014         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36015         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36016         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36017         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36018         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36020         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36022         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36024         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36026         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36027         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36028         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36029         before exiting on error.
36030         (__libc_vfork): New strong alias.
36031         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36032         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36034         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36035         that was previously under [RESET_PID].
36036         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36038         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36040 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36042         [BZ #16977]
36043         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36044         value when x - 1 is zero.
36045         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36046         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36047         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36048         0.0L for an argument of 1.0L.
36049         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36050         Likewise.
36051         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36052         value when x - 1 is zero.
36053         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36054         * sysdeps/i386/fpu/libm-test-ulps: Update.
36055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36057 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36059         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36060         alphasort and versionsort.
36062 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36064         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36065         macro.
36066         [copysignf]: Likewise.
36068 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36070         * crypt/md5-crypt.c: Fix formatting.
36072 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36074         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36075         (b64_from_24bit): New function.
36077 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36079         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36080         libc_hidden_builtin_def to ifunc.
36081         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36082         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36084 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36086         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36087         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36089 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36091         * nscd/Depend (linuxthreads): Remove.
36092         (nptl): Add.
36093         * resolv/Depend (linuxthreads): Remove.
36094         * rt/Depend (linuxthreads): Remove.
36096         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36097         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36098         $(common-objpfx)elf/.
36099         (link-libc-before-gnulib): Likewise.
36100         (elfobjdir): Remove variable.
36101         * Makefile (install): Use $(elf-objpfx) instead of
36102         $(common-objpfx)elf/.
36103         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36104         $(elfobjdir)/.
36105         (link-libc-deps): Likewise.
36106         ($(common-objpfx)libc.so): Likewise.
36107         ($(common-objpfx)linkobj/libc.so): Likewise.
36108         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36109         instead of $(common-objpfx)elf/.
36110         (symbolic-link-list): Likewise.
36111         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36112         [$(cross-compiling) = no]: Likewise.
36113         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36114         $(elfobjdir)/.
36115         (static-gnulib-arch): Likewise.
36116         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36117         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36118         $(common-objpfx)elf/.
36120 2014-05-21  Richard Henderson  <rth@redhat.com>
36122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36123         (SINGLE_THREAD_P): Use the correct width load.  Fold
36124         into the ldr offset.
36126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36127         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36129 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36131         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36132         (libgcc_s_resume): Use __attribute_used__.
36133         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36134         Likewise.
36136 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36138         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36139         optimization when used with float constants.
36141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36143 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36145         [BZ #16915]
36146         * locale/nl_langinfo_l.c: Make direct reference to every
36147         _nl_current_CATEGORY symbol.
36148         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36149         (tests-static): Add tst-langinfo-static.
36150         (tests-special): Add tst-langinfo-static.out.
36151         ($(objpfx)tst-langinfo.out): Redirect output.
36152         ($(objpfx)tst-langinfo-static.out): New.
36153         * localedata/tst-langinfo.sh: Send output to stdout.
36154         * localedata/tst-langinfo-static.c: New file.
36156         [BZ #16965]
36157         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36158         when the shift amount is modulo the limb size.
36160 2014-05-20  Richard Henderson  <rth@redhat.com>
36162         [BZ #16967]
36163         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36164         Change type of sa_flags from unsigned int to int.
36166         [BZ #16966]
36167         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36169         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36171 2014-05-20  Will Newton  <will.newton@linaro.org>
36173         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36174         Test the return value of the system call in the nocancel case.
36176 2014-05-20  Will Newton  <will.newton@linaro.org>
36177             Yvan Roux  <yvan.roux@linaro.org>
36179         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36180         #include of asm/ptrace.h.
36181         (PTRACE_GET_THREAD_AREA): Remove #undef.
36182         (PTRACE_GETHBPREGS): Likewise.
36183         (PTRACE_SETHBPREGS): Likewise.
36184         (struct user_regs_struct): New structure.
36185         (struct user_fpsimd_struct): New structure.
36186         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36187         #include of asm/ptrace.h and second #include of sys/user.h.
36188         (PTRACE_GET_THREAD_AREA): Remove #undef.
36189         (PTRACE_GETHBPREGS): Likewise.
36190         (PTRACE_SETHBPREGS): Likewise.
36191         (ELF_NGREG): Use new struct user_regs_struct.
36192         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36194 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36197         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36199 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36201         [BZ #16958]
36202         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36203         membar to avoid block loads/stores to overlap previous stores.
36205 2014-05-17  Richard Henderson  <rth@redhat.com>
36207         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36208         Create the __##syscall_name##_nocancel entry point.
36209         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36210         Remove; let the sysdep-cancel.h code create it.
36212 2014-05-17  David S. Miller  <davem@davemloft.net>
36214         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36215         Protect with __USE_GNU.
36216         (TIOCSET_TEMPT): Likewise.
36217         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36218         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36219         these are already provided in bits/ioctl-types.h
36221 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36223         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36224         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36226         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36227         Use wait4 regardless of [__NR_waitpid].
36229 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36231         PR libgcc/60166
36232         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36233         (_FP_NANSIGN_Q): Set the quiet bit.
36235 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36237         * benchtests/Makefile
36238         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36239         not $(common-objpfx)math/libm.so.
36240         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36241         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36242         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36243         $(common-objpfx)dlfcn/libdl.so.
36244         ($(objpfx)tst-audit8): Depend on $(libm), not
36245         $(common-objpfx)math/libm.so.
36246         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36247         not $(common-objpfx)dlfcn/libdl.so.
36248         * math/Makefile
36249         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36250         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36251         [$(build-shared) = yes].
36252         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36253         $(common-objpfx)nptl/libpthread.so.
36254         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36255         $(common-objpfx)math/libm.so$(libm.so-version) or
36256         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36257         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36258         $(common-objpfx)dlfcn/libdl.so.
36259         * setjmp/Makefile (link-libm): Remove variable.
36260         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36261         * stdio-common/Makefile (link-libm): Remove variable.
36262         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36263         * stdlib/Makefile (link-libm): Remove variable.
36264         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36265         ($(objpfx)tst-strtod-round): Likewise.
36266         ($(objpfx)tst-tininess): Likewise.
36267         ($(objpfx)tst-strtod-underflow): Likewise.
36268         ($(objpfx)tst-strtod6): Likewise.
36269         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36270         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36271         $(common-objpfx)dlfcn/libdl.so.
36273 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36275         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36276         BSD terminal modes definitions.
36278 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36280         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36281         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36283         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36284         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36285         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36286         Don't do #include_next.
36287         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36288         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36289         Don't do #include_next.
36290         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36291         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36292         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36293         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36295 2014-05-16  Allan McRae  <allan@archlinux.org>
36297         * po/sv.po: Update Swedish translation from translation project.
36299         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36300         in sed expression.
36302 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36304         [BZ #16917]
36305         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36306         errno if the TIOCGPTN ioctl fails with an error different than
36307         EINVAL.
36308         * login/tst-ptsname.c: New file.
36309         * login/Makefile (tests): Add tst-ptsname.
36311         [BZ #16943]
36312         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36313         and prlimit64.
36315 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36317         [BZ #16849]
36318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36319         herrno to return EAI_AGAIN.
36321 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36323         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36324         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36325         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36326         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36327         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36328         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36329         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36330         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36332         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36333         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36334         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36335         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36336         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36337         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36338         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36339         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36340         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36342         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36344         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36352         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36354         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36356         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36358         Moved ...
36359         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36361         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36363         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36365         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36367         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36369         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36371         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36373         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36375         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36383         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36387         Moved ...
36388         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36390         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36392         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36394         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36396         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36398         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36400         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36402         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36404         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36408         Moved ...
36409         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36411         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36413         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36414         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36415         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36416         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36417         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36418         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36419         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36420         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36421         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36422         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36423         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36424         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36425         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36426         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36427         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36429         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36430         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36431         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36433         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36435         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36437         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36439         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36441         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36442         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36443         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36445         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36446         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36448         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36449         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36450         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36451         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36452         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36453         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36454         Moved ...
36455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36456         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36457         Moved ...
36458         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36459         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36460         Moved ...
36461         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36465         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36466         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36468         Moved ...
36469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36470         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36471         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36474         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36475         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36477         Moved ...
36478         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36479         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36480         Moved ...
36481         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36482         ... here.
36483         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36484         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36485         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36486         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36487         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36488         Moved ...
36489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36490         ... here.
36491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36492         Moved ...
36493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36494         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36495         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36496         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36497         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36498         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36499         Moved ...
36500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36501         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36502         Moved ...
36503         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36507         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36508         Moved ...
36509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36511         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36513         Moved ...
36514         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36515         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36516         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36518         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36519         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36520         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36522         Moved ...
36523         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36524         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36525         Moved ...
36526         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36527         ... here.
36528         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36529         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36530         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36531         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36532         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36533         Moved ...
36534         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36535         ... here.
36536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36537         Moved ...
36538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36539         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36540         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36541         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36542         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36543         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36544         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36545         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36546         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36547         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36548         Moved ...
36549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36550         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36551         Moved ...
36552         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36553         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36554         Moved ...
36555         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36557         Moved ...
36558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36559         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36560         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36561         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36562         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36563         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36564         Moved ...
36565         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36566         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36567         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36569         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36570         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36571         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36573         Moved ...
36574         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36575         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36576         Moved ...
36577         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36578         ... here.
36579         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36580         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36581         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36582         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36583         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36584         Moved ...
36585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36586         ... here.
36587         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36588         Moved ...
36589         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36590         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36591         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36592         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36593         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36594         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36595         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36596         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36597         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36598         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36599         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36601         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36602         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36604         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36605         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36607         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36608         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36609         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36610         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36611         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36612         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36613         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36614         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36615         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36618         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36619         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36620         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36621         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36623         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36625         Moved ...
36626         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36628         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36630         Moved ...
36631         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36632         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36633         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36635         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36637         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36639         Moved ...
36640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36642         Moved ...
36643         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36645         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36647         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36649         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36650         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36651         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36652         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36653         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36654         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36655         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36656         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36657         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36658         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36659         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36661         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36662         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36663         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36664         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36665         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36667         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36668         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36669         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36670         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36671         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36672         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36673         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36674         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36675         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36676         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36678         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36681         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36682         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36683         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36684         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36685         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36686         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36687         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36688         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36689         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36690         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36691         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36692         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36693         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36694         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36696         Update #include.
36697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36698         Likewise.
36699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36700         Likewise.
36701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36702         Likewise.
36703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36704         Likewise.
36705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36706         Likewise.
36707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36708         Likewise.
36709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36710         Likewise.
36711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36712         Likewise.
36713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36714         Likewise.
36715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36720         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36721         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36722         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36723         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36724         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36725         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36726         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36727         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36728         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36729         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36731         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36732         that was previously under [RESET_PID].
36733         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36734         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36735         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36737         * sysdeps/i386/nptl/Implies: New file.
36738         * sysdeps/x86_64/nptl/Implies: New file.
36739         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36740         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36741         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36742         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36744         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36745         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36746         (__libc_vfork): New strong alias.
36747         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36748         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36750         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36751         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36752         (__libc_vfork): New strong alias.
36753         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36754         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36756         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36757         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36758         (__libc_vfork): New strong alias.
36759         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36760         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36761         * nptl/pt-vfork.c: New file.
36762         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36763         (libpthread: GLIBC_2.20): New version set (empty).
36765 2014-05-14  Will Newton  <will.newton@linaro.org>
36767         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36768         rather than #if.
36770 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36772         [BZ #16564]
36773         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36774         arguments with exponent 65 or above.
36775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36776         arguments 0x1p113L or above.
36777         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36778         to arguments 0x1p107L or above.
36779         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36780         positive arguments with exponent 65 or above.
36781         * math/auto-libm-test-in: Add more tests of log1p.
36782         * math/auto-libm-test-out: Regenerated.
36784         [BZ #16928]
36785         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36786         non-finite arguments is +0.
36787         * math/s_cacosf.c (__cacosf): Likewise.
36788         * math/s_cacosl.c (__cacosl): Likewise.
36789         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36790         * sysdeps/i386/fpu/libm-test-ulps: Update.
36791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36793         [BZ #16927]
36794         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36795         value.
36796         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36797         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36798         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36799         for explicit high bit of mantissa when testing for argument equal
36800         to 1.
36801         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36802         * sysdeps/i386/fpu/libm-test-ulps: Update.
36803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36805         [BZ #16516]
36806         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36807         (__erf): Scale by 16 instead of 8 in potentially underflowing
36808         case.  Ensure exception if result actually underflows.
36809         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36810         (__erff): Scale by 16 instead of 8 in potentially underflowing
36811         case.  Ensure exception if result actually underflows.
36812         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36813         (efx8): Remove variable.
36814         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36815         case.  Ensure exception if result actually underflows.
36816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36817         (efx8): Remove variable.
36818         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36819         case.  Ensure exception if result actually underflows.
36820         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36821         (efx8): Remove variable.
36822         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36823         case.  Ensure exception if result actually underflows.
36824         * math/auto-libm-test-in: Add more tests of erf.
36825         * math/auto-libm-test-out: Regenerated.
36827 2014-05-14  Andreas Schwab  <schwab@suse.de>
36829         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36830         Remove code conditionalized on USE___THREAD.
36832         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36833         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36834         not definedness.
36836 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36839         Define unconditionally.
36840         (__ASSUME_O_CLOEXEC): Likewise.
36841         (__ASSUME_SOCK_CLOEXEC): Likewise.
36842         (__ASSUME_IN_NONBLOCK): Likewise.
36843         (__ASSUME_PIPE2): Likewise.
36844         (__ASSUME_EVENTFD2): Likewise.
36845         (__ASSUME_SIGNALFD4): Likewise.
36846         (__ASSUME_DUP3): Likewise.
36847         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36848         (__ASSUME_DUP3): Do not define.
36849         (__ASSUME_EVENTFD2): Likewise.
36850         (__ASSUME_IN_NONBLOCK): Likewise.
36851         (__ASSUME_O_CLOEXEC): Likewise.
36852         (__ASSUME_PIPE2): Likewise.
36853         (__ASSUME_SIGNALFD4): Likewise.
36854         (__ASSUME_SOCK_CLOEXEC): Likewise.
36855         (__ASSUME_UTIMES): Undefine.
36856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36857         (__ASSUME_UTIMES): Do not define.
36858         (__ASSUME_O_CLOEXEC): Likewise.
36859         (__ASSUME_SOCK_CLOEXEC): Likewise.
36860         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36861         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36862         0x020621].
36863         (__ASSUME_PIPE2): Likewise.
36864         (__ASSUME_EVENTFD2): Likewise.
36865         (__ASSUME_SIGNALFD4): Likewise.
36866         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36867         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36868         Do not define.
36869         (__ASSUME_EVENTFD2): Likewise.
36870         (__ASSUME_SIGNALFD4): Likewise.
36871         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36872         (__ASSUME_32BITUIDS): Likewise.
36873         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36874         (__ASSUME_IPC64): Likewise.
36875         (__ASSUME_ST_INO_64_BIT): Likewise.
36876         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36877         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36878         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36879         (__ASSUME_UTIMES): Do not define.
36880         (__ASSUME_PSELECT): Likewise.
36881         (__ASSUME_PPOLL): Likewise.
36882         (__ASSUME_O_CLOEXEC): Likewise.
36883         (__ASSUME_SOCK_CLOEXEC): Likewise.
36884         (__ASSUME_IN_NONBLOCK): Likewise.
36885         (__ASSUME_PIPE2): Likewise.
36886         (__ASSUME_EVENTFD2): Likewise.
36887         (__ASSUME_SIGNALFD4): Likewise.
36888         (__ASSUME_DUP3): Likewise.
36889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36890         (__ASSUME_UTIMES): Likewise.
36891         (__ASSUME_O_CLOEXEC): Likewise.
36892         (__ASSUME_SOCK_CLOEXEC): Likewise.
36893         (__ASSUME_IN_NONBLOCK): Likewise.
36894         (__ASSUME_PIPE2): Likewise.
36895         (__ASSUME_EVENTFD2): Likewise.
36896         (__ASSUME_SIGNALFD4): Likewise.
36897         (__ASSUME_DUP3): Likewise.
36898         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36899         (__ASSUME_UTIMES): Likewise.
36900         (__ASSUME_O_CLOEXEC): Likewise.
36901         (__ASSUME_SOCK_CLOEXEC): Likewise.
36902         (__ASSUME_IN_NONBLOCK): Likewise.
36903         (__ASSUME_PIPE2): Likewise.
36904         (__ASSUME_EVENTFD2): Likewise.
36905         (__ASSUME_SIGNALFD4): Likewise.
36906         (__ASSUME_DUP3): Likewise.
36907         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36908         Likewise.
36909         (__ASSUME_UTIMES): Likewise.
36910         (__ASSUME_EVENTFD2): Likewise.
36911         (__ASSUME_SIGNALFD4): Likewise.
36912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36913         (__ASSUME_O_CLOEXEC): Likewise.
36914         (__ASSUME_SOCK_CLOEXEC): Likewise.
36915         (__ASSUME_IN_NONBLOCK): Likewise.
36916         (__ASSUME_PIPE2): Likewise.
36917         (__ASSUME_EVENTFD2): Likewise.
36918         (__ASSUME_SIGNALFD4): Likewise.
36919         (__ASSUME_DUP3): Likewise.
36920         (__ASSUME_UTIMES): Undefine.
36922         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36923         feclearexcept.  Remove symbol versioning code.
36924         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36925         symbol versioning code.
36926         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36927         symbol versioning code.
36928         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36929         feupdateenv.  Remove symbol versioning code.
36930         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36931         fegetexceptflag.  Remove symbol versioning code.
36932         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36933         fesetexceptflag.  Remove symbol versioning code.
36934         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36935         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36936         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36937         (__posix_fadvise64_l32): Remove prototype.
36938         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36939         code.
36941 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36943         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36944         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36945         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36946         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36948 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36950         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36951         current working directory
36953 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36955         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36956         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36957         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36958         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36959         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36960         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36961         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36962         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36963         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36964         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36965         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36966         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36967         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36968         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36969         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36970         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36971         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36972         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36973         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36974         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36975         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36976         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36977         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36978         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36979         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36980         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36981         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36982         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36983         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36984         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36985         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36986         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36987         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36988         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36989         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36990         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36991         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36992         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36993         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36994         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36995         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36996         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36998         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36999         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37001         * sysdeps/unix/sysv/linux/arm/Makefile
37002         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37003         Add rt-aeabi_unwind_cpp_pr1.
37004         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37005         Add nptl-aeabi_unwind_cpp_pr1.
37006         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37007         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37008         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37009         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37010         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37011         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37013         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37014         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37015         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37016         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37018         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37019         Deconditionalize the code that was previously under [RESET_PID].
37020         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37022         * sysdeps/generic/exit-thread.h: New file.
37023         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37024         * include/unistd.h (__exit_thread): Remove declaration.
37025         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37026         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37027         * csu/libc-start.c: Include <exit-thread.h>.
37028         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37029         * nptl/pthread_create.c: Include <exit-thread.h>.
37030         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37031         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37032         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37033         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37034         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37035         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37036         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37037         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37038         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37039         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37040         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37041         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37042         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37043         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37044         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37045         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37046         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37048 2014-05-13  Andreas Schwab  <schwab@suse.de>
37050         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37052 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37054         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37055         (__ASSUME_UTIMES): Do not condition on kernel version.
37056         (__ASSUME_PSELECT): Define unconditionally.
37057         (__ASSUME_PPOLL): Likewise.
37058         (__ASSUME_ATFCTS): Likewise.
37059         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37060         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37061         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37062         (__ASSUME_UTIMENSAT): Define unconditionally.
37063         (__ASSUME_PRIVATE_FUTEX): Likewise.
37064         (__ASSUME_FALLOCATE): Likewise.
37065         (__ASSUME_O_CLOEXEC): Likewise.
37066         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37067         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37068         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37069         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37070         (__ASSUME_IN_NONBLOCK): Likewise.
37071         (__ASSUME_PIPE2): Likewise.
37072         (__ASSUME_EVENTFD2): Likewise.
37073         (__ASSUME_SIGNALFD4): Likewise.
37074         (__ASSUME_DUP3): Likewise.
37075         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37076         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37077         (__ASSUME_AT_RANDOM): Likewise.
37078         (__ASSUME_PREADV): Likewise.
37079         (__ASSUME_PWRITEV): Likewise.
37080         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37081         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37082         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37083         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37084         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37085         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37086         (__ASSUME_O_CLOEXEC): Define unconditionally.
37087         (__ASSUME_PSELECT): Do not undefine conditionally.
37088         (__ASSUME_PPOLL): Likewise.
37089         (__ASSUME_ATFCTS): Likewise.
37090         (__ASSUME_SET_ROBUST_LIST): Likewise.
37091         (__ASSUME_UTIMENSAT): Likewise.
37092         (__ASSUME_FDATASYNC): Define unconditionally.
37093         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37094         (__ASSUME_SIGFRAME_V2): Likewise.
37095         )__ASSUME_EVENTFD2): Likewise.
37096         (__ASSUME_SIGNALFD4): Likewise.
37097         (__ASSUME_PSELECT): Do not undefine conditionally.
37098         (__ASSUME_PPOLL): Likewise.
37099         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37100         (__ASSUME_PSELECT): Define unconditionally.
37101         (__ASSUME_PPOLL): Likewise.
37102         (__ASSUME_O_CLOEXEC): Likewise.
37103         (__ASSUME_SOCK_CLOEXEC): Likewise.
37104         (__ASSUME_IN_NONBLOCK): Likewise.
37105         (__ASSUME_PIPE2): Likewise.
37106         (__ASSUME_EVENTFD2): Likewise.
37107         (__ASSUME_SIGNALFD4): Likewise.
37108         (__ASSUME_DUP3): Likewise.
37109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37110         (__ASSUME_O_CLOEXEC): Likewise.
37111         (__ASSUME_SOCK_CLOEXEC): Likewise.
37112         (__ASSUME_IN_NONBLOCK): Likewise.
37113         (__ASSUME_PIPE2): Likewise.
37114         (__ASSUME_EVENTFD2): Likewise.
37115         (__ASSUME_SIGNALFD4): Likewise.
37116         (__ASSUME_DUP3): Likewise.
37117         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37118         (__ASSUME_EVENTFD2): Likewise.
37119         (__ASSUME_SIGNALFD4): Likewise.
37120         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37122 2014-05-12  Andreas Schwab  <schwab@suse.de>
37124         [BZ #16932]
37125         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37126         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37127         than maximum RPC packet size.
37128         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37129         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37130         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37131         (_nss_nis_getservbyport_r): Likewise.
37133 2014-05-12  Will Newton  <will.newton@linaro.org>
37135         * malloc/Makefile (tests): Add tst-mallopt.
37136         * malloc/tst-mallopt.c: New file.
37138 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37140         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37141         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37143 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37145         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37146         (tst-tlsmod6.so): Likewise.
37148 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37150         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37152 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37154         [BZ #16064]
37155         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37156         and <dl-procinfo.h>.
37157         (__fegetenv): Save SSE state in envp->__eip if supported.
37158         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37159         envp->__eip if supported.
37160         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37161         and <dl-procinfo.h>.
37162         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37163         __data_offset and __data_selector in environment to 0.  Set SSE
37164         state if supported.
37165         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37166         test-fenv-sse.
37167         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37168         -mfpmath=sse.
37169         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37171 2014-05-09  Will Newton  <will.newton@linaro.org>
37173         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37174         and libc_relro_required for ARM.
37175         * sysdeps/arm/preconfigure: Regenerate.
37177 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37178             Stefan Liebler  <stli@linux.vnet.ibm.com>
37180         * config.make.in (enable-lock-elision): New Makefile variable.
37181         * configure.ac: Likewise.
37182         * configure: Regenerate.
37183         * sysdeps/s390/configure.ac:
37184         Add check for gcc transactions support.
37185         * sysdeps/s390/configure: Regenerate.
37186         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37187         Build elision files if enabled.
37188         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37189         Add lock elision support for s390.
37190         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37191         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37192         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37193         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37194         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37195         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37196         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37197         Likewise.
37198         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37199         Likewise.
37200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37201         Likewise.
37202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37203         Likewise.
37204         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37205         (__lll_timedlock_elision, __lll_lock_elision)
37206         (__lll_unlock_elision, __lll_trylock_elision)
37207         (lll_timedlock_elision, lll_lock_elision)
37208         (lll_unlock_elision, lll_trylock_elision): Add.
37209         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37210         (pthread_mutex_t): Add lock elision support for s390.
37212 2014-05-14  Wilco  <wdijkstr@arm.com>
37214         * sysdeps/arm/fclrexcpt.c: Cleanup.
37215         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37216         * sysdeps/arm/feenablxcpt.c: Cleanup.
37217         * sysdeps/arm/fegetenv.c: Cleanup.
37218         * sysdeps/arm/fegetexcept.c: Cleanup.
37219         * sysdeps/arm/fegetround.c: Cleanup.
37220         * sysdeps/arm/feholdexcpt.c: Cleanup.
37221         * sysdeps/arm/fesetenv.c: Cleanup.
37222         * sysdeps/arm/fesetround.c: Cleanup.
37223         * sysdeps/arm/feupdateenv.c: Cleanup.
37224         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37225         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37226         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37227         * sysdeps/arm/ftestexcept.c: Cleanup.
37228         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37229         * sysdeps/arm/setfpucw.c: Cleanup.
37231 2014-05-09  Will Newton  <will.newton@linaro.org>
37233         * sysdeps/arm/armv7/strcmp.S: New file.
37234         * NEWS: Mention addition of ARMv7 optimized strcmp.
37236 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37238         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37239         look for %.ac rather than %.in.
37241         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37242         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37243         * sysdeps/mach/hurd/configure: Regenerated.
37244         * sysdeps/unix/sysv/linux/configure: Regenerated.
37246         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37248 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37250         [BZ# 16922]
37251         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37252         (LONG_SUB): Ditto.
37253         (PTR_SUB): Ditto.
37255 2014-05-07  Andreas Schwab  <schwab@suse.de>
37257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37258         when skipping over non-matching result from nscd.
37260 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37262         [BZ #16876]
37263         * nptl/sockperf.c (client): Check socket return value.
37265         [BZ #16877]
37266         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37267         nscd security class.
37269 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37271         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37272         * sysdeps/arm/unwind.h: ... here.
37274 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37276         [BZ# 16916]
37277         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37278         Define.
37280 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37282         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37283         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37284         multiarch strncpy for PPC64.
37285         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37286         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37288         multiarch optimizations.
37289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37290         (__libc_ifunc_impl_list): Likewise.
37291         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37292         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37293         multiarch stpncpy for PPC64.
37294         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37295         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37297 2014-05-06  Andreas Schwab  <schwab@suse.de>
37299         [BZ #16912]
37300         * gmon/mcount.c (_MCOUNT_DECL): Use
37301         atomic_compare_and_exchange_bool_acq instead of
37302         catomic_compare_and_exchange_bool_acq.
37304 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37306         * elf/Makefile (others, install-bin): Remove pldd.
37307         (pldd-modules): Variable removed.
37308         ($(objpfx)pldd): Target removed.
37309         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37310         (others, install-bin): Append pldd here.
37311         ($(objpfx)pldd): New target.
37313         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37314         to 0, so the first #if test emitted later doesn't see it undefined.
37315         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37316         * sysdeps/gnu/errlist.c: Regenerated.
37318 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37320         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37321         [libc_hidden_builtin_def]: Define to empty value.
37322         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37323         [libc_hidden_builtin_def]: Likewise.
37324         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37325         [libc_hidden_builtin_def]: Likewise.
37326         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37327         [libc_hidden_builtin_def]: Likewise.
37328         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37329         __redirect_memcpy and define ifunc as default hidden symbol.
37330         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37331         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37333 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37335         * locale/iso-4217.def: Reintroduce XDR currency.
37337 2014-05-04  Allan McRae  <allan@archlinux.org>
37339         * po/eo.po: Update Esperanto translation from translation project.
37341 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37343         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37344         and FEATURE_INDEX_MAX to 1.
37345         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37347 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37349         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37350         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37351         * iconvdata/big5.c (ONE_DIRECTION): Define.
37352         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37353         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37354         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37355         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37356         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37357         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37358         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37359         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37360         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37361         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37362         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37363         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37364         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37365         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37366         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37367         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37368         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37369         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37370         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37371         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37372         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37373         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37374         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37375         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37376         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37377         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37378         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37379         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37380         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37381         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37382         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37383         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37384         * iconvdata/johab.c (ONE_DIRECTION): Define.
37385         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37386         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37387         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37388         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37389         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37390         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37391         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37392         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37393         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37394         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37396 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37398         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37399         (_IO_JUMPS_OFFSET): Define to 0.
37401         * nptl/sysdeps/pthread/bits/libc-lock.h
37402         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37403         (__libc_lock_define_initialized_recursive): Always define using
37404         initializer.  Modern compilers treat uninitialized (implicit zero) and
37405         explicit zero initializers the same (i.e. put the datum in bss).
37407 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37409         * nscd/nscd-client.h: Include <string.h>.
37411 2014-05-01  David S. Miller  <davem@davemloft.net>
37413         [BZ #16885]
37414         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37415         multiple zero bytes exist at the end of a string.
37416         Reported by Aurelien Jarno <aurelien@aurel32.net>
37418         * string/test-strcmp.c (check): Add explicit test for situations where
37419         there are multiple zero bytes after the first.
37421 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37423         [BZ #16890]
37424         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37425         when compiling wprintf.
37426         * stdio-common/tstdiomisc.c (t3): New function.
37427         (main): Call it.
37429 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37431         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37432         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37433         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37434         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37436 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37438         * stdlib/longlong.h: Updated from GCC.
37440 2014-05-01  Will Newton  <will.newton@linaro.org>
37441             Bernard Ogden  <bernie.ogden@linaro.org>
37443         * NEWS: Update fixed bug list.
37445         [BZ #15119]
37446         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37448 2014-04-30  David S. Miller  <davem@davemloft.net>
37450         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37451         (libc_feholdexcept_setround_sparc_ctx): New function.
37452         (libc_fesetenv_sparc_ctx): Likewise.
37453         (libc_feupdateenv_sparc_ctx): Likewise.
37454         (libc_feholdsetround_sparc_ctx): Likewise.
37455         (libc_feholdexcept_setround_ctx): Define.
37456         (libc_feholdexcept_setroundf_ctx): Likewise.
37457         (libc_feholdexcept_setroundl_ctx): Likewise.
37458         (libc_fesetenv_ctx): Likewise.
37459         (libc_fesetenvf_ctx): Likewise.
37460         (libc_fesetenvl_ctx): Likewise.
37461         (libc_feupdateenv_ctx): Likewise.
37462         (libc_feupdateenvf_ctx): Likewise.
37463         (libc_feupdateenvl_ctx): Likewise.
37464         (libc_feresetround_ctx): Likewise.
37465         (libc_feresetroundf_ctx): Likewise.
37466         (libc_feresetroundl_ctx): Likewise.
37467         (libc_feholdsetround_ctx): Likewise.
37468         (libc_feholdsetroundf_ctx): Likewise.
37469         (libc_feholdsetroundl_ctx): Likewise.
37471         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37472         with __USE_GNU instead of XOPEN cpp guards.
37474         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37475         0.
37477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37478         with XOPEN cpp guards.
37480 2014-04-30  Julian Brown  <julian@codesourcery.com>
37482         [BZ #16888]
37483         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37484         handling.
37486 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37488         [BZ #9894]
37489         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37490         Change to 2.6.32.
37491         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37492         * sysdeps/unix/sysv/linux/configure: Regenerated.
37493         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37494         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37495         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37496         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37497         * README: Update reference to required Linux kernel version.
37498         * manual/install.texi (Linux): Update reference to required Linux
37499         kernel headers version.
37500         * INSTALL: Regenerated.
37502         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37503         header inclusion.
37504         [POSIX] (limits.h): Likewise.
37505         [POSIX] (math.h): Likewise.
37506         [POSIX] (sys/wait.h): Likewise.
37507         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37508         function.
37509         [POSIX] (stddef.h): Do not allow header inclusion.
37511 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37513         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37515 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37517         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37518         Return immediately after lll_futex_wake.
37520 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37522         [BZ #16791]
37523         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37524         structure.
37525         (datahead_init_pos): Call datahead_init_common early.
37526         (datahead_init_neg): Likewise.
37528         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37529         datahead_init_neg): New functions.
37530         * nscd/aicache.c (addhstaiX): Use them.
37531         * nscd/grpcache.c (cache_addgr): Likewise.
37532         * nscd/hstcache.c (cache_addhst): Likewise.
37533         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37534         * nscd/netgroupcache.c (do_notfound): Likewise.
37535         (addgetnetgrentX): Likewise.
37536         (addinnetgrX): Likewise.
37537         * nscd/pwdcache.c (cache_addpw): Likewise.
37538         * nscd/servicescache.c (cache_addserv): Likewise.
37540 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37541             Atsushi Onoe  <atsushi@onoe.org>
37543         [BZ #14308]
37544         [BZ #12994]
37545         [BZ #13651]
37546         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37547         one response is valid.
37548         * resolv/res_send.c (send_dg): Check for validity of other
37549         response if the current response is a referral.
37551 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37553         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37555 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37557         [BZ #16823]
37558         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37559         Always divide by positive zero when computing -Inf result.
37560         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37561         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37563 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37565         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37566         FPSCR if value do not change.
37567         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37568         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37569         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37570         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37571         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37572         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37573         function.
37575 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37577         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37578         * sysdeps/unix/sysv/linux/hppa: Move directory from
37579         ports/systeps/unix/sysv/linux/hppa.
37580         * README: Update listing for hppa-*-linux-gnu.
37582 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37584         [BZ #16754]
37585         * manual/stdio.texi (Hook functions): Fix types of stream hook
37586         functions.
37587         [BZ #16854]
37588         * socket/sys/socket.h: Fix typo in comment.
37590 2014-04-28  Wilco  <wdijkstr@arm.com>
37592         * sysdeps/arm/fenv_private.h: New file.
37593         * sysdeps/arm/math_private.h: New file.
37594         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37596 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37598         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37599         with __int128_t.
37600         (La_x86_64_retval): Likewise.
37602 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37604         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37605         fpsr if value didn't change.
37606         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37607         to fpcr if value didn't change.
37608         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37609         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37610         fpsr or fpcr if value didn't change.
37611         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37612         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37613         fpcr if value didn't change.
37614         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37615         to fpsr if value didn't change.
37617 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37619         * nptl/tst-sem3.c: Use test-skeleton.c
37620         (main): Rename to do_test.  Use return instead of
37621         exit.
37622         * nptl/tst-sem4.c: Use test-skeleton.c
37623         (main): Rename to do_test.
37625 2014-04-22  David S. Miller  <davem@davemloft.net>
37627         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37628         (struct sigaction): New struct member __glibc_reserved0, change
37629         type of sa_flags to int.
37631 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37633         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37634         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37636 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37638         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37639         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37641 2014-04-22  Will Newton  <will.newton@linaro.org>
37642             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37644         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37645         (__longjmp): Add longjmp and longjmp_target SystemTap
37646         probes.
37647         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37648         (__sigsetjmp): Add setjmp SystemTap probe.
37650 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37652         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37653         match manual order.
37655 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37657         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37659         * sysdeps/powerpc/fpu/fenv_private.h
37660         (libc_feholdexcept_setroundl_ctx): Define to
37661         libc_feholdexcept_setround_ppc_ctx.
37662         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37663         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37664         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37665         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37667 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37669         * sysdeps/aarch64/math-tests.h: New file.
37671 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37673         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37674         New.
37675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37676         Check and set bit_AVX2_Usable.
37677         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37678         macro.
37679         (bit_AVX2): Likewise.
37680         (index_AVX2_Usable): Likewise.
37681         (CPUID_AVX2): Likewise.
37682         (HAS_AVX2): Likewise.
37684 2014-04-17  Will Newton  <will.newton@linaro.org>
37686         * manual/setjmp.texi (System V contexts): Add note that
37687         calling setcontext on a context created by a call to a
37688         signal handler is undefined.  Update text to note that
37689         setcontext from a signal handler is possible but not
37690         recommended.
37692         [BZ #16629]
37693         * stdlib/tst-setcontext.c: Include signal.h.
37694         (main): Check that the signal stack before and
37695         after swapcontext is the same.
37697         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37698         Re-implement to restore registers in user code and avoid
37699         rt_sigreturn system call.
37701 2014-04-17  Wilco  <wdijkstr@arm.com>
37703         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37704         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37705         * math/test-fenv.c: Skip exception trap tests on targets which only
37706         support non-stop mode.
37708 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37709             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37711         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37712         (libc_feholdsetround_aarch64_ctx)
37713         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37714         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37715         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37716         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37717         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37718         (libc_feresetround_noexl_ctx): Define.
37720 2014-04-16  Richard Henderson  <rth@redhat.com>
37722         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37724         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37725         unwind tables.
37727         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37728         const from the non-libc, non-ldso copy.
37730         * sysdeps/alpha/libm-test-ulps: Regenerate.
37732 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37733             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37735         * sysdeps/aarch64/fpu/math_private.h: New file.
37737 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37739         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37741 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37743         [BZ #16275]
37744         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37745         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37746         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37747         Intel MPX bound registers before _dl_profile_fixup.
37748         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37749         registers after _dl_profile_fixup.  Save and restore bound
37750         registers bnd0/bnd1 when calling _dl_call_pltexit.
37751         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37752         (LR_BND_OFFSET): Likewise.
37753         (LRV_BND0_OFFSET): Likewise.
37754         (LRV_BND1_OFFSET): Likewise.
37756 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37758         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37759         to...
37760         * sysdeps/mach/hurd/i386/tls.h: ... here.
37761         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37762         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37763         fields.
37765 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37767         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37769 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37771         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37773 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37775         [BZ #14770]
37776         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37777         * sysdeps/s390/configure: Regenerate.
37779         [BZ #16824]
37780         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37781         Set round-to-nearest internally to reduce error accumulation.
37783 2014-04-16  Alan Modra  <amodra@gmail.com>
37785         [BZ #16740]
37786         [BZ #16619]
37787         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37788         * math/libm-test.inc (frexp_test_data): Add tests.
37789         * NEWS: Update fixed bug list.
37791 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37793         * benchtests/Makefile: Depend on libraries in build directory.
37794         (bench-math): Separate out math tests.
37795         (bench-pthread): Separate out pthread tests.
37796         (bench): Include math and pthread tests.
37798 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37800         [BZ #16831]
37801         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37802         _dl_debug_initialize.
37804         * configure.ac: Remove SELinux header check.
37805         * configure: Regenerate.
37806         * nscd/selinux.c (perms): Array of const char* to permission names.
37807         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37808         default policy. Call string_to_security_class and string_to_av_perm to
37809         translate strings. Enforce default policy and call avs_has_perm with
37810         results of translated strings.
37812 2014-04-13  David S. Miller  <davem@davemloft.net>
37814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37816 2014-04-12  Allan McRae  <allan@archlinux.org>
37818         [BZ #16838]
37819         * manual/string.texi (Collation Functions): Fix qsort argument
37820         order in example.
37821         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37823 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37825         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37826         Make the test a no-op if there are no exceptions defined.
37828 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37830         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37831         enable-hardcoded-path-in-tests
37833 2014-04-11  Will Newton  <will.newton@linaro.org>
37835         * benchtests/Makefile (extra-objs): Add json-lib.o.
37836         (bench-func): Tidy up JSON output.
37837         * benchtests/bench-skeleton.c: Include json-lib.h.
37838         (main): Use JSON library functions to do output of
37839         benchmark results.
37840         * benchtests/bench-timing-type.c (main): Output the
37841         timing type simply, leaving formatting to the user.
37842         * benchtests/json-lib.c: New file.
37843         * benchtests/json-lib.h: Likewise.
37845 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37847         [BZ #15215]
37848         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37849         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37850         memory barriers.  Add comments.
37851         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37852         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37853         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37854         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37855         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37856         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37858 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37860         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37861         * sysdeps/s390/s390-64/configure.ac: ... this ...
37862         * sysdeps/s390/configure.ac: ... to here.
37863         * sysdeps/s390/s390-32/configure: Delete file.
37864         * sysdeps/s390/s390-64/configure: Delete file.
37865         * sysdeps/s390/configure: Regenerate.
37867 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37869         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37871 2014-04-11  Will Newton  <will.newton@linaro.org>
37873         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37874         to zero if it is not defined elsewhere.  (mtrim): Test
37875         the value of MALLOC_DEBUG with #if rather than #ifdef.
37877 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37879         * benchtests/pthread_once-inputs: New file.
37880         * benchtests/pthread_once-source.c: New file.
37881         * benchtests/README: Update documentation.
37883 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37884             H.J. Lu  <hongjiu.lu@intel.com>
37886         [BZ #16275]
37887         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37888         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37889         * sysdeps/x86_64/configure: Regenerated.
37890         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37891         macro.
37892         (REGISTER_SAVE_RAX): Likewise.
37893         (REGISTER_SAVE_RCX): Likewise.
37894         (REGISTER_SAVE_RDX): Likewise.
37895         (REGISTER_SAVE_RSI): Likewise.
37896         (REGISTER_SAVE_RDI): Likewise.
37897         (REGISTER_SAVE_R8): Likewise.
37898         (REGISTER_SAVE_R9): Likewise.
37899         (REGISTER_SAVE_BND0): Likewise.
37900         (REGISTER_SAVE_BND1): Likewise.
37901         (REGISTER_SAVE_BND2): Likewise.
37902         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37903         bound registers when calling _dl_fixup.
37905 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37907         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37908         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37909         of its definition.
37910         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37911         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37912         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37913         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37914         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37915         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37916         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37918 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37920         [BZ #15514]
37921         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37922         pathconf(_PC_NAME_MAX).
37924 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37926         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37927         Remove macro usage.
37928         (__PTHREAD_SPINS): Move definition to ...
37929         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37930         (__PTHREAD_SPINS): ... here.
37931         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37932         (__PTHREAD_SPIN): Likewise.
37933         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37934         (__PTHREAD_SPIN): Likewise.
37935         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37936         (__PTHREAD_SPIN): Likewise.
37937         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37938         (__PTHREAD_SPIN): Likewise.
37939         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37940         (__PTHREAD_SPIN): Likewise.
37941         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37942         (__PTHREAD_SPIN): Likewise.
37943         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37944         (__PTHREAD_SPIN): Likewise.
37945         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37946         (__PTHREAD_SPIN): Likewise.
37947         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37948         (__PTHREAD_SPIN): Likewise.
37949         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37950         (__PTHREAD_SPIN): Likewise.
37951         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37952         (__PTHREAD_SPIN): Likewise.
37953         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37954         (__PTHREAD_SPIN): Likewise.
37956         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37957         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37958         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37959         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37960         imply folder.
37961         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37962         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37963         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37964         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37965         correct imply path.
37966         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37967         strlen symbol for non multi-arch builds.
37968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37969         missing hidden_def and weak_alias.
37971 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37973         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37975 2014-04-07  Will Newton  <will.newton@linaro.org>
37977         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37978         and contents.  [!_LIBC] Remove #ifndef and contents.
37979         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37980         * string/memccpy.c (__memccpy): Use ANSI prototype.
37981         * string/memfrob.c (memfrob): Likewise.
37982         * string/strcoll.c (STRCOLL): Likewise.
37983         * string/strlen.c (strlen): Likewise.
37984         * string/strtok.c (STRTOK): Likewise.
37985         * string/strcat.c: Remove unused #include of memcopy.h.
37986         (strcat): Use ANSI prototype.
37987         * string/strchr.c: Remove unused #include of memcopy.h.
37988         (strchr): Use ANSI prototype.
37989         * string/strcmp.c: Remove unused #include of memcopy.h.
37990         (strcmp): Use ANSI prototype.
37991         * string/strcpy.c: Remove unused #include of memcopy.h.
37992         (strcpy): Use ANSI prototype.
37994 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37996         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37997         * config.make.in (config-extra-cppflags): Set it from
37998         libc_extra_cppflags.
37999         * configure.ac (libc_extra_cflags): Make it accumulate over
38000         configure fragments.
38001         (libc_extra_cppflags): New flag.
38002         * configure. Regenerate.
38003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38004         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38005         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38008         [BZ #16815]
38009         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38010         result for FE_DOWNWARD rounding mode.
38011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38012         Likewise.
38013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38015 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38017         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38018         in function argument name.
38020 2014-04-03  David Svoboda  <svoboda@cert.org>
38022         [BZ #5666]
38023         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38024         explicitly.
38026 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38028         * elf/dl-unmap-segments.h: New file.
38029         * sysdeps/generic/ldsodefs.h
38030         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38031         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38032         * elf/dl-fptr.c: Likewise.
38033         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38034         * sysdeps/aarch64/tlsdesc.c: Likewise.
38035         * sysdeps/arm/tlsdesc.c: Likewise.
38036         * sysdeps/i386/tlsdesc.c: Likewise.
38037         * sysdeps/tile/dl-runtime.c: Likewise.
38038         * sysdeps/x86_64/tlsdesc.c: Likewise.
38039         * elf/dl-load.h: New file.
38040         * elf/dl-load.c: Include it.
38041         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38042         Macros moved to dl-load.h.
38043         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38044         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38045         Use _dl_unmap_segments in place of __munmap.
38046         Break out segment-mapping loop into ...
38047         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38049 2014-04-03  Will Newton  <will.newton@linaro.org>
38051         * elf/dl-lookup.c (do_lookup_x): Remove comment
38052         referring to nested function and move variable
38053         declarations down to before first use.
38055 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38057         [BZ #16799]
38058         [BZ #16800]
38059         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38060         with 0 numerator.
38061         * math/s_catanf.c (__catanf): Likewise.
38062         * math/s_catanh.c (__catanh): Likewise.
38063         * math/s_catanhf.c (__catanhf): Likewise.
38064         * math/s_catanhl.c (__catanhl): Likewise.
38065         * math/s_catanl.c (__catanl): Likewise.
38066         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38067         by positive zero when computing -Inf result.
38068         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38069         (catanh_test): Likewise.
38070         * sysdeps/i386/fpu/libm-test-ulps: Update.
38071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073         [BZ #16789]
38074         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38075         instead of using underflowing value in computing result.
38076         * math/s_clog10.c (__clog10): Likewise.
38077         * math/s_clog10f.c (__clog10f): Likewise.
38078         * math/s_clog10l.c (__clog10l): Likewise.
38079         * math/s_clogf.c (__clogf): Likewise.
38080         * math/s_clogl.c (__clogl): Likewise.
38081         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38082         (clog10_test): Likewise.
38083         * sysdeps/i386/fpu/libm-test-ulps: Update.
38084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086 2014-04-02  Alan Modra  <amodra@gmail.com>
38088         [BZ #16739]
38089         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38090         output when value is near a power of two.  Use int64_t for lx and
38091         remove casts.  Use decimal rather than hex exponent constants.
38092         Don't use long double multiplication when double will suffice.
38093         * math/libm-test.inc (nextafter_test_data): Add tests.
38094         * NEWS: Add 16739 and 16786 to bug list.
38096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38098         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38100 2014-04-01  Will Newton  <will.newton@linaro.org>
38102         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38103         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38105 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38107         [BZ #13347]
38108         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38109         * nptl/tst-setuid2.c: New file.
38110         * nptl/Makefile (xtests): Add tst-setuid2.
38112 2014-04-01  Alan Modra  <amodra@gmail.com>
38114         [BZ #16786]
38115         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38117 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38119         [BZ #6803]
38120         [BZ #6804]
38121         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38122         set errno as appropriate.
38123         * math/w_scalbf.c (__scalbf): Likewise.
38124         * math/w_scalbl.c (__scalbl): Likewise.
38125         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38126         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38127         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38128         Add more NaN tests.
38130         [BZ #16349]
38131         * math/w_atan2.c: Include <errno.h>.
38132         (__atan2): Set errno for result underflowing to zero.
38133         * math/w_atan2f.c: Include <errno.h>.
38134         (__atan2f): Set errno for result underflowing to zero.
38135         * math/w_atan2l.c: Include <errno.h>.
38136         (__atan2l): Set errno for result underflowing to zero.
38137         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38138         tests.
38139         * math/auto-libm-test-out: Regenerated.
38141 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38143         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38144         Encode instruction correctly in little endian.
38145         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38146         Likewise.
38147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38148         Likewise.
38149         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38150         Likewise.
38151         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38152         Likewise.
38154 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38156         [BZ #9894]
38157         * sysdeps/unix/sysv/linux/kernel-features.h
38158         [__sparc__ && !__arch64__ && !__sparc_v9__]
38159         (__ASSUME_SET_ROBUST_LIST): Do not define.
38160         [__sparc__ && !__arch64__ && !__sparc_v9__]
38161         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38162         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38163         Likewise.
38164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38165         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38166         (__ASSUME_REQUEUE_PI): Likewise.
38167         (__ASSUME_SET_ROBUST_LIST): Likewise.
38168         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38169         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38170         Undefine.
38171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38172         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38173         Likewise.
38174         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38175         Likewise.
38176         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38177         Likewise.
38178         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38179         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38180         Undefine.
38181         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38182         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38183         Likewise.
38185         [BZ #16648]
38186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38187         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38188         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38190 2014-03-31  Will Newton  <will.newton@linaro.org>
38192         * benchtests/Makefile (bench): Add ffs and ffsll to list
38193         of tests.
38194         * benchtests/ffs-inputs: New file.
38195         * benchtests/ffsll-inputs: Likewise.
38197 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38199         [BZ #16770]
38200         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38201         too large before casting to int.
38202         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38203         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38204         * math/libm-test.inc (scalb_test_data): Add more tests.
38206 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38208         * benchtests/Makefile (DETAILED_OPT): New make option.
38209         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38210         set.
38211         * benchtests/bench-skeleton.c: Include stdbool.h.
38212         (main): Store and print timings per input.
38213         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38214         member to each argument value.
38215         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38216         (_print_arg_data): Initialize per-input timing to 0.
38218         * benchtests/Makefile (timing-type): New binary.
38219         (bench-clean): Also remove bench-timing-type.
38220         (bench): New target for timing-type.
38221         (bench-func): Print output in JSON format.
38222         * benchtests/bench-skeleton.c (main): Print output in JSON
38223         format.
38224         * benchtests/bench-timing-type.c: New file.
38225         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38226         (TIMING_PRINT_STATS): Remove.
38227         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38228         name separately.
38230         * benchtests/bench-modf.c: Remove.
38231         * benchtests/modf-inputs: New inputs file.
38233 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38235         [BZ #16362]
38236         * math/s_clog10.c (M_PI_LOG10E): New macro.
38237         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38238         imaginary parts are 0.
38239         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38240         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38241         imaginary parts are 0.
38242         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38243         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38244         imaginary parts are 0.
38245         * math/libm-test.inc (clog10_test_data): Update expected results
38246         for when real and imaginary parts are 0.
38248 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38250         * elf/dl-load.c: Finish conversion of __builtin_expect into
38251         __glibc_{un}likely.
38253 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38255         [BZ #16348]
38256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38257         1+x for argument with exponent below -67.
38258         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38259         Likewise.
38260         * math/auto-libm-test-in: Add more tests of exp.
38261         * math/auto-libm-test-out: Regenerated.
38263 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38265         [BZ #16759]
38266         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38267         (nscd_getnetgrent): Use it.
38269         [BZ #16760]
38270         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38271         of stpcpy.
38273 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38275         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38276         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38277         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38278         (lll_robust_unlock): Remove out of line section. Use cfi
38279         intrinsics.
38280         (LLL_STUB_UNWIND_INFO*): Remove.
38281         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38282         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38283         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38284         (lll_robust_unlock): Remove out of line section. Use cfi
38285         intrinsics.
38286         (LLL_STUB_UNWIND_INFO*): Remove.
38288 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290         [BZ #16758]
38291         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38292         blank values.
38294 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38296         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38298 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38300         [BZ #16198]
38301         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38302         fnstenv.
38303         * math/test-fenv-preserve.c: New file.
38304         * math/Makefile (tests): Add test-fenv-preserve.
38306 2014-03-26  Will Newton <will.newton@linaro.org>
38308         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38310 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38312         * scripts/versionlist.awk: Partition the version sets and emit all
38313         GLIBC_* (sorted) before all others (sorted).
38315 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38317         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38318         GLIBC_2.2.5 version.
38320 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38322         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38323         calls.
38325         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38326         previous change.
38328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38330 2014-03-25  Andreas Schwab  <schwab@suse.de>
38332         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38333         label to be used after in6ailist is initialized.
38335 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38337         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38338         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38340 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38342         [BZ #16357]
38343         [BZ #16599]
38344         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38345         min_plus_half.
38346         (fp_formats): Update initializers.
38347         (init_fp_formats): Initialize new field.
38348         (output_for_one_input_case): Allow underflow for results up to
38349         min_plus_half.
38350         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38351         * math/auto-libm-test-in: Don't mark some underflows from asin and
38352         atanh as spurious.
38353         * math/auto-libm-test-out: Regenerated.
38354         * sysdeps/i386/fpu/libm-test-ulps: Update.
38355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38357 2014-03-25  Andreas Schwab  <schwab@suse.de>
38359         * libio/Makefile (tst-ftell-partial-wide-ENV)
38360         (tst-ftell-active-handler-ENV): Define.
38362 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38364         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38366 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38368         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38370 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38372         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38373         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38374         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38376 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38378         [BZ #16634]
38379         * elf/dl-load.c (open_verify): Add mode parameter.
38380         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38381         (open_path): Change from boolean 'secure' to complete flag 'mode'
38382         (_dl_map_object): Adjust.
38383         * elf/Makefile (tests): Add tst-dlopen-aout.
38384         * elf/tst-dlopen-aout.c: New test.
38386 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38388         [BZ #16714]
38389         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38390         (struct stat): Rename member pad0 to __glibc_reserved0.
38392         [BZ #16712]
38393         * sysdeps/s390/s390-32/bits/wordsize.h
38394         (__WORDSIZE32_SIZE_ULONG): New define.
38395         * sysdeps/s390/s390-64/bits/wordsize.h
38396         (__WORDSIZE32_SIZE_ULONG): Likewise.
38397         * sysdeps/generic/stdint.h (SIZE_MAX):
38398         Define as UL if __WORDSIZE32_SIZE_ULONG.
38400         [BZ #16713]
38401         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38402         (__glibc_reserved0): New variable.
38403         (sa_flags): Change type to int.
38405         * posix/Makefile (before-compile): Use += before-compile instead
38406         of a :=.
38408         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38409         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38411 2014-03-20  Andreas Schwab  <schwab@suse.de>
38413         [BZ #16743]
38414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38415         non-matching result from nscd.
38417 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38419         * scripts/bench.py: Moved to ...
38420         * benchtests/scripts/bench.py: ... here.
38421         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38423 2014-03-24  Andreas Schwab  <schwab@suse.de>
38425         [BZ #16002]
38426         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38427         alloca_account and account alloca use for struct in6ailist.
38429 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #16284]
38432         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38433         rounding mode to recompute results that overflow to infinity or
38434         underflow to zero.
38435         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38436         bug 16284.
38437         * math/auto-libm-test-out: Regenerated.
38438         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38439         (ccosh_test): Likewise.
38440         (csin_test_data): Use plus_oflow.
38441         (csin_test): Use ALL_RM_TEST.
38442         (csinh_test_data): Use plus_oflow.
38443         (csinh_test): Use ALL_RM_TEST.
38444         * sysdeps/i386/fpu/libm-test-ulps: Update.
38445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38447 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38449         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38450         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38451         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38453         [BZ #16731]
38454         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38455         when x - 1 is zero.
38456         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38457         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38458         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38459         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38460         argument is 1.
38461         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38462         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38463         zero.
38464         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38465         * sysdeps/i386/fpu/libm-test-ulps: Update.
38466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38468 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38470         * scripts/bench.pl: Remove file.
38471         * scripts/bench.py: New benchmark script.
38472         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38473         * benchtests/README: Mention python dependency.
38474         * scripts/pylintrc: New file.
38475         * scripts/pylint: New file.
38477         * bits/mathdef.h: Use #ifdef instead of #if.
38478         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38479         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38480         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38481         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38482         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38483         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38485 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38486             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38488         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38490         and strpbrk-ppc64 objects.
38491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38492         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38493         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38494         multiarch strpbrk for POWER7.
38495         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38496         multiarch strpbrk for PPC64.
38497         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38498         ifunc selector.
38499         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38500         strpbrk for POWER7.
38502 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38504         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38505         (atan_test): Likewise.
38506         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38507         (atanh_test): Use ALL_RM_TEST.
38508         (atan2_test_data): Likewise.
38509         (cabs_test): Likewise.
38510         (cacosh_test): Likewise.
38511         (carg_test): Likewise.
38512         (casin_test): Likewise.
38513         (casinh_test): Likewise.
38514         (cbrt_test): Likewise.
38515         (csqrt_test): Likewise.
38516         (erf_test): Likewise.
38517         (erfc_test): Likewise.
38518         (pow10_test): Likewise.
38519         (exp2_test): Likewise.
38520         (hypot_test): Likewise.
38521         (j0_test): Likewise.
38522         (j1_test): Likewise.
38523         (lgamma_test): Likewise.
38524         (gamma_test): Likewise.
38525         (sincos_test): Likewise.
38526         (tanh_test): Likewise.
38527         (y0_test): Likewise.
38528         (y1_test): Likewise.
38529         * sysdeps/i386/fpu/libm-test-ulps: Update.
38530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38532 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38534         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38536         and strcspn-ppc64 objects.
38537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38538         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38539         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38540         multiarch strcspn for POWER7.
38541         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38542         multiarch strcspn for PPC64.
38543         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38544         ifunc selector.
38545         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38546         strcspn for POWER7.
38548 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38550         * math/gen-libm-test.pl (generate_testfile): Expect only function
38551         name as argument to AUTO_TESTS_* and pass results for all rounding
38552         modes to parse_args.
38553         (parse_auto_input): Separate inputs of automatic tests from
38554         outputs before storing in %auto_tests.
38555         * math/libm-test.inc (acos_test_data): Update call to
38556         AUTO_TESTS_f_f.
38557         (acos_test): Use ALL_RM_TEST.
38558         (acos_tonearest_test_data): Remove.
38559         (acos_test_tonearest): Likewise.
38560         (acos_towardzero_test_data): Likewise.
38561         (acos_test_towardzero): Likewise.
38562         (acos_downward_test_data): Likewise.
38563         (acos_test_downward): Likewise.
38564         (acos_upward_test_data): Likewise.
38565         (acos_test_upward): Likewise.
38566         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38567         (asin_test_data): Likewise.
38568         (asin_test): Use ALL_RM_TEST.
38569         (asin_tonearest_test_data): Remove.
38570         (asin_test_tonearest): Likewise.
38571         (asin_towardzero_test_data): Likewise.
38572         (asin_test_towardzero): Likewise.
38573         (asin_downward_test_data): Likewise.
38574         (asin_test_downward): Likewise.
38575         (asin_upward_test_data): Likewise.
38576         (asin_test_upward): Likewise.
38577         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38578         (atan_test_data): Likewise.
38579         (atanh_test_data): Likewise.
38580         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38581         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38582         (carg_test_data): Likewise.
38583         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38584         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38585         (ccosh_test_data): Likewise.
38586         (cexp_test_data): Likewise.
38587         (clog_test_data): Likewise.
38588         (clog10_test_data): Likewise.
38589         (cos_test_data): Update call to AUTO_TESTS_f_f.
38590         (cos_test): Use ALL_RM_TEST.
38591         (cos_tonearest_test_data): Remove.
38592         (cos_test_tonearest): Likewise.
38593         (cos_towardzero_test_data): Likewise.
38594         (cos_test_towardzero): Likewise.
38595         (cos_downward_test_data): Likewise.
38596         (cos_test_downward): Likewise.
38597         (cos_upward_test_data): Likewise.
38598         (cos_test_upward): Likewise.
38599         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38600         (cosh_test): Use ALL_RM_TEST.
38601         (cosh_tonearest_test_data): Remove.
38602         (cosh_test_tonearest): Likewise.
38603         (cosh_towardzero_test_data): Likewise.
38604         (cosh_test_towardzero): Likewise.
38605         (cosh_downward_test_data): Likewise.
38606         (cosh_test_downward): Likewise.
38607         (cosh_upward_test_data): Likewise.
38608         (cosh_test_upward): Likewise.
38609         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38610         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38611         (ctan_test_data): Likewise.
38612         (ctan_test): Use ALL_RM_TEST.
38613         (ctan_tonearest_test_data): Remove.
38614         (ctan_test_tonearest): Likewise.
38615         (ctan_towardzero_test_data): Likewise.
38616         (ctan_test_towardzero): Likewise.
38617         (ctan_downward_test_data): Likewise.
38618         (ctan_test_downward): Likewise.
38619         (ctan_upward_test_data): Likewise.
38620         (ctan_test_upward): Likewise.
38621         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38622         (ctanh_test): Use ALL_RM_TEST.
38623         (ctanh_tonearest_test_data): Remove.
38624         (ctanh_test_tonearest): Likewise.
38625         (ctanh_towardzero_test_data): Likewise.
38626         (ctanh_test_towardzero): Likewise.
38627         (ctanh_downward_test_data): Likewise.
38628         (ctanh_test_downward): Likewise.
38629         (ctanh_upward_test_data): Likewise.
38630         (ctanh_test_upward): Likewise.
38631         (erf_test_data): Update call to AUTO_TESTS_f_f.
38632         (erfc_test_data): Likewise.
38633         (exp_test_data): Likewise.
38634         (exp_test): Use ALL_RM_TEST.
38635         (exp_tonearest_test_data): Remove.
38636         (exp_test_tonearest): Likewise.
38637         (exp_towardzero_test_data): Likewise.
38638         (exp_test_towardzero): Likewise.
38639         (exp_downward_test_data): Likewise.
38640         (exp_test_downward): Likewise.
38641         (exp_upward_test_data): Likewise.
38642         (exp_test_upward): Likewise.
38643         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38644         (exp10_test): Use ALL_RM_TEST.
38645         (exp10_tonearest_test_data): Remove.
38646         (exp10_test_tonearest): Likewise.
38647         (exp10_towardzero_test_data): Likewise.
38648         (exp10_test_towardzero): Likewise.
38649         (exp10_downward_test_data): Likewise.
38650         (exp10_test_downward): Likewise.
38651         (exp10_upward_test_data): Likewise.
38652         (exp10_test_upward): Likewise.
38653         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38654         (expm1_test_data): Likewise.
38655         (expm1_test): Use ALL_RM_TEST.
38656         (expm1_tonearest_test_data): Remove.
38657         (expm1_test_tonearest): Likewise.
38658         (expm1_towardzero_test_data): Likewise.
38659         (expm1_test_towardzero): Likewise.
38660         (expm1_downward_test_data): Likewise.
38661         (expm1_test_downward): Likewise.
38662         (expm1_upward_test_data): Likewise.
38663         (expm1_test_upward): Likewise.
38664         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38665         (fma_test): Use ALL_RM_TEST.
38666         (fma_towardzero_test_data): Remove.
38667         (fma_test_towardzero): Likewise.
38668         (fma_downward_test_data): Likewise.
38669         (fma_test_downward): Likewise.
38670         (fma_upward_test_data): Likewise.
38671         (fma_test_upward): Likewise.
38672         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38673         (j0_test_data): Update call to AUTO_TESTS_f_f.
38674         (j1_test_data): Likewise.
38675         (jn_test_data): Update call to AUTO_TESTS_if_f.
38676         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38677         (log_test_data): Update call to AUTO_TESTS_f_f.
38678         (log10_test_data): Likewise.
38679         (log1p_test_data): Likewise.
38680         (log2_test_data): Likewise.
38681         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38682         (pow_tonearest_test_data): Likewise.
38683         (sin_test_data): Update call to AUTO_TESTS_f_f.
38684         (sin_test): Use ALL_RM_TEST.
38685         (sin_tonearest_test_data): Remove.
38686         (sin_test_tonearest): Likewise.
38687         (sin_towardzero_test_data): Likewise.
38688         (sin_test_towardzero): Likewise.
38689         (sin_downward_test_data): Likewise.
38690         (sin_test_downward): Likewise.
38691         (sin_upward_test_data): Likewise.
38692         (sin_test_upward): Likewise.
38693         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38694         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38695         (sinh_test): Use ALL_RM_TEST.
38696         (sinh_tonearest_test_data): Remove.
38697         (sinh_test_tonearest): Likewise.
38698         (sinh_towardzero_test_data): Likewise.
38699         (sinh_test_towardzero): Likewise.
38700         (sinh_downward_test_data): Likewise.
38701         (sinh_test_downward): Likewise.
38702         (sinh_upward_test_data): Likewise.
38703         (sinh_test_upward): Likewise.
38704         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38705         (sqrt_test): Use ALL_RM_TEST.
38706         (sqrt_tonearest_test_data): Remove.
38707         (sqrt_test_tonearest): Likewise.
38708         (sqrt_towardzero_test_data): Likewise.
38709         (sqrt_test_towardzero): Likewise.
38710         (sqrt_downward_test_data): Likewise.
38711         (sqrt_test_downward): Likewise.
38712         (sqrt_upward_test_data): Likewise.
38713         (sqrt_test_upward): Likewise.
38714         (tan_test_data): Update call to AUTO_TESTS_f_f.
38715         (tan_test): Use ALL_RM_TEST.
38716         (tan_tonearest_test_data): Remove.
38717         (tan_test_tonearest): Likewise.
38718         (tan_towardzero_test_data): Likewise.
38719         (tan_test_towardzero): Likewise.
38720         (tan_downward_test_data): Likewise.
38721         (tan_test_downward): Likewise.
38722         (tan_upward_test_data): Likewise.
38723         (tan_test_upward): Likewise.
38724         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38725         (tgamma_test_data): Likewise.
38726         (y0_test_data): Likewise.
38727         (y1_test_data): Likewise.
38728         (yn_test_data): Update call to AUTO_TESTS_if_f.
38729         (main): Do not call removed functions.
38731 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38733         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38734         (ldexp_test_data): Remove.
38735         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38736         scalbn_test_data.
38737         (scalb_test): Use ALL_RM_TEST.
38739 2014-03-19  Andreas Schwab  <schwab@suse.de>
38741         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38743 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38745         [BZ #16649]
38746         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38747         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38748         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38750         (__ASSUME_PREADV): Undefine.
38751         (__ASSUME_PWRITEV): Likewise.
38753 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38755         * bits/mman-linux.h: Add comment about non-Linux use.
38756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38757         bits/mman-linux.h resting place.
38759         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38760         * bits/mman-linux.h: ... here.
38762 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38764         * conform/conformtest.pl: Add standard definition when calling C
38765         preprocessor on data files.
38766         (checknamespace): Remove unused variable.
38768 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38770         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38771         minus_oflow, plus_uflow and minus_uflow in expected results.
38772         * math/libm-test.inc (scalbn_test_data): Add more tests of
38773         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38774         minus_uflow.
38775         (scalbn_test): Use ALL_RM_TEST.
38776         (scalbln_test_data): Add more tests of negative arguments.  Use
38777         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38778         (scalbln_test): Use ALL_RM_TEST.
38780 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38782         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38784 2014-03-18  Will Newton  <will.newton@linaro.org>
38786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38787         inaccurate comment.
38789 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38791         * Makerules [!subdir] (check-abi): Exit with error status if a
38792         test failed.
38794 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38796         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38797         for rint.  Include results for all rounding modes.
38798         (nearbyint_test): Use ALL_RM_TEST.
38799         (rint_test_data): Include all tests used for nearbyint.
38801 2014-03-17  Will Newton  <will.newton@linaro.org>
38803         * nptl/sysdeps/pthread/pthread.h: Revert previous
38804         change.
38806         * sysdeps/generic/ldsodefs.h: Revert previous
38807         change.
38809         * libio/genops.c: Revert previous change.
38810         * libio/libioP.h: Likewise.
38811         * stdio-common/vfprintf.c: Likewise.
38813         * sysdeps/generic/math_private.h: Revert previous
38814         change.
38816         * sysdeps/generic/math_private.h: Check whether
38817         HAVE_RM_CTX is defined with #ifdef rather
38818         than #if.
38820         * argp/argp-fmtstream.h: Check whether
38821         __STRICT_ANSI__ is defined with #ifdef rather
38822         than #if.
38823         * argp/argp.h: Likewise.
38825         * libio/genops.c: Check whether
38826         _IO_JUMPS_OFFSET is defined with #ifdef rather
38827         than #if.
38828         * libio/libioP.h: Likewise.
38829         * stdio-common/vfprintf.c: Likewise.
38831         * sysdeps/generic/ldsodefs.h: Check whether
38832         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38833         than #if.
38835         * nptl/sysdeps/pthread/pthread.h: Check
38836         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38837         its value.
38839 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38842         setting O_APPEND.
38843         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38844         test case.
38846         [BZ #16680]
38847         * libio/fileops.c (_IO_file_open): Seek to end of file but
38848         don't cache the offset.
38849         (get_file_offset): Remove function.
38850         (do_ftell): Use cached offset when available.
38851         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38852         don't cache the offset.
38853         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38854         case.
38855         (do_one_test): Call it.
38856         (do_ftell_test): Fix up expected old offset for a+ mode.
38857         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38858         available.
38860         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38861         up test status with function return status.
38862         (do_write_test): Likewise.
38863         (do_append_test): Likewise.
38865         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38866         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38867         Remove.
38869 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38871         * math/gen-libm-test.pl (parse_args): Handle results specified for
38872         each rounding mode separately.
38873         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38874         tests and results from lrint_tonearest_test_data,
38875         lrint_towardzero_test_data, lrint_downward_test_data and
38876         lrint_upward_test_data.
38877         (lrint_test): Use ALL_RM_TEST.
38878         (lrint_tonearest_test_data): Remove.
38879         (lrint_test_tonearest): Likewise.
38880         (lrint_towardzero_test_data): Likewise.
38881         (lrint_test_towardzero): Likewise.
38882         (lrint_downward_test_data): Likewise.
38883         (lrint_test_downward): Likewise.
38884         (lrint_upward_test_data): Likewise.
38885         (lrint_test_upward): Likewise.
38886         (llrint_test_data): Merge in per-rounding-mode tests and results
38887         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38888         llrint_downward_test_data and llrint_upward_test_data.
38889         (llrint_test): Use ALL_RM_TEST.
38890         (llrint_tonearest_test_data): Remove.
38891         (llrint_test_tonearest): Likewise.
38892         (llrint_towardzero_test_data): Likewise.
38893         (llrint_test_towardzero): Likewise.
38894         (llrint_downward_test_data): Likewise.
38895         (llrint_test_downward): Likewise.
38896         (llrint_upward_test_data): Likewise.
38897         (llrint_test_upward): Likewise.
38898         (rint_test_data): Merge in per-rounding-mode tests and results
38899         from rint_tonearest_test_data, rint_towardzero_test_data,
38900         rint_downward_test_data and rint_upward_test_data.  Add
38901         per-rounding-mode results for tests not in those arrays.
38902         (rint_test): Use ALL_RM_TEST.
38903         (rint_tonearest_test_data): Remove.
38904         (rint_test_tonearest): Likewise.
38905         (rint_towardzero_test_data): Likewise.
38906         (rint_test_towardzero): Likewise.
38907         (rint_downward_test_data): Likewise.
38908         (rint_test_downward): Likewise.
38909         (rint_upward_test_data): Likewise.
38910         (rint_test_upward): Likewise.
38911         (main): Don't call removed functions.
38913 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38915         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38916         "Compiled on ..." crapola.  It is anti-useful.
38918 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38920         * scripts/evaluate-test.sh: Handle fourth argument to determine
38921         whether test run should stop on failure.
38922         * Makeconfig (stop-on-test-failure): New variable.
38923         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38924         $(stop-on-test-failure).
38925         * Makefile (tests): Give a summary of results from testing and
38926         exit with failure status if they include an ERROR or FAIL.
38927         (xtests): Likewise.
38928         * manual/install.texi (Configuring and compiling): Mention
38929         stop-on-test-failure=y.
38930         * INSTALL: Regenerated.
38932 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38934         * scripts/versionlist.awk: New file.
38935         * Makerules [$(build-shared) = yes]
38936         (postclean-generated): Add Versions.def, not Versions.def.v and
38937         Versions.def.v.i.
38938         ($(common-objpfx)Versions.def.v.i): Target removed.
38939         ($(common-objpfx)Versions.def): New target.
38940         ($(common-objpfx)Versions.all): Depend on that rather that
38941         $(common-objpfx)Versions.def.v.
38942         * Versions.def: File removed.
38944         * Makeconfig (+gccwarn): Add -Wundef.
38945         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38946         a dl-sysdep.h breaking its contract.
38947         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38948         * include/stackinfo.h: New file.
38949         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38950         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38951         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38952         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38953         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38954         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38955         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38956         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38957         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38958         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38959         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38960         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38961         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38962         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38963         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38965 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38967         [BZ #16707]
38968         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38969         implementation.
38970         * math/libm-test.inc (round_test_data): Add more tests.
38972         [BZ #16706]
38973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38974         implementation.
38975         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38977         [BZ #16701]
38978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38979         implementation.
38980         * math/libm-test.inc (ceil_test_data): Add more tests.
38982         * math/libm-test.inc (trunc_test_data): Add more tests related to
38983         BZ#16414.
38985 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38987         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38988         with #if rather than #ifdef.
38989         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38991 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38993         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38994         first.  Disable AVX-512 GCC support if assembler doesn't support
38995         it.
38996         * sysdeps/x86_64/configure: Regenerated.
38998 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39000         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39001         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39002         (__old_pthread_attr_setstack): Likewise.
39003         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39004         [!_STACK_GROWS_DOWN]: Likewise.
39006 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39008         * config.make.in (have-bash2): Delete.
39009         * configure.ac (libc_cv_have_bash2): Delete.
39010         * configure: Regenerate.
39011         * elf/Makefile (common-ldd-rewrite): Rename to ...
39012         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39013         (sh-ldd-rewrite): Delete.
39014         (bash-ldd-rewrite): Delete.
39015         (have-bash2): Delete checks.
39016         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39017         ldd-rewrite.
39019         * config.make.in (have-ksh): Delete.
39020         (KSH): Delete.
39021         * configure.ac (libc_cv_have_ksh): Delete.
39022         * configure: Regenerate.
39024         * elf/Makefile: Delete $(have-ksh) check.
39025         ($(objpfx)sotruss): Change KSH to BASH.
39026         * elf/sotruss.ksh: Rename to ...
39027         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39028         function style to match POSIX.  Drop ksh vim mode setting.
39030         * manual/time.texi (Specifying the Time Zone with TZ): Change
39031         Tuesday to Thursday.
39033         * debug/tst-longjmp_chk2.c: Update header comment.
39034         (stackoverflow_handler): Add comment.  Call assert on pass value.
39036 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39038         [BZ #16194]
39039         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39040         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39041         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39042         (La_x86_64_vector): Add zmm.
39043         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39044         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39045         ($(objpfx)tst-audit10): New target.
39046         ($(objpfx)tst-audit10.out): Likewise.
39047         (tst-audit10-ENV): New.
39048         (AVX512-CFLAGS): Likewise.
39049         (CFLAGS-tst-audit10.c): Likewise.
39050         (CFLAGS-tst-auditmod10a.c): Likewise.
39051         (CFLAGS-tst-auditmod10b.c): Likewise.
39052         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39053         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39054         * sysdeps/x86_64/configure: Regenerated.
39055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39056         AVX-512 zmm register support.
39057         (_dl_x86_64_save_sse): Likewise.
39058         (_dl_x86_64_restore_sse): Likewise.
39059         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39060         size vector registers.
39061         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39062         (ZMM_SIZE): Likewise.
39063         * sysdeps/x86_64/tst-audit10.c: New file.
39064         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39065         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39067 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39069         * configure.ac (HAVE_EHDR_START): New check.
39070         * configure: Regenerated.
39071         * config.h.in (HAVE_EHDR_START): New #undef.
39072         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39073         assuming the lowest-addressed segment maps the start of the file.
39075 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39077         * INSTALL: Regenerated.
39079 2014-03-13  Will Newton  <will.newton@linaro.org>
39081         * manual/setjmp.texi (System V contexts): Improve
39082         clarity and grammar of documentation.
39084 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39086         [BZ #16381]
39087         * elf/Makefile (tests): Add tst-pie2.
39088         (tests-pie): Add tst-pie2.
39089         * elf/tst-pie2.c: New file.
39090         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39091         for ET_EXEC.
39092         * elf/rtld.c (map_doit): Load executable as lt_executable.
39093         (dl_main): Likewise.
39095 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #16642]
39098         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39099         (__ASSUME_PSELECT): Undefine.
39101 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39103         [BZ #16689]
39104         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39105         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39106         static build.
39107         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39108         selector for static builds.
39110 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39112         [BZ #16695]
39113         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39114         key in the buffer.
39116 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39118         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39119         IFUNC selector for static builds.
39121 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39123         * sysdeps/mips/math_private.h [__mips_hard_float]
39124         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39125         libc_feresetround_mips_ctx.
39126         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39127         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39128         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39130         [BZ #16677]
39131         * math/s_nextafter.c (__nextafter): Do not return value from
39132         overflowing computation.
39133         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39134         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39135         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39136         Likewise.
39137         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39138         Likewise.
39139         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39140         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39142 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39144         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39145         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39146         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39147         the new mov targetting sp.
39149 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39151         [BZ #16683]
39152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39153         Define it for static builds as well.
39154         (NO_BZERO_IMPL): Likewise.
39156 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39158         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39159         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39160         multiarch strspn for PPC64.
39161         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39162         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39164         (__libc_ifunc_impl_list): Likewise.
39165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39166         multiarch optimizations
39167         * string/strspn.c (strspn): Using macro to redefine symbol name.
39169 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39172         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39173         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39174         multiarch strncat for PPC64.
39175         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39176         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39178         (__libc_ifunc_impl_list): Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39180         multiarch optimizations
39182 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39184         [BZ #16639]
39185         * nscd/nscd.service: Make service type forking.
39187 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39189         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39190         sign in non default rounding modes.
39191         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39193 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39195         * math/libm-test.inc (ALL_RM_TEST): New macro.
39196         (ceil_test): Use ALL_RM_TEST.
39197         (cimag_test): Likewise.
39198         (conj_test): Likewise.
39199         (copysign_test): Likewise.
39200         (cproj_test): Likewise.
39201         (creal_test): Likewise.
39202         (fabs_test): Likewise.
39203         (floor_test): Likewise.
39204         (fmax_test): Likewise.
39205         (fmin_test): Likewise.
39206         (fmod_test): Likewise.
39207         (fpclassify_test): Likewise.
39208         (frexp_test): Likewise.
39209         (ilogb_test): Likewise.
39210         (isfinite_test): Likewise.
39211         (finite_test): Likewise.
39212         (isgreater_test): Likewise.
39213         (isgreaterequal_test): Likewise.
39214         (isinf_test): Likewise.
39215         (isless_test): Likewise.
39216         (islessequal_test): Likewise.
39217         (islessgreater_test): Likewise.
39218         (isnan_test): Likewise.
39219         (isnormal_test): Likewise.
39220         (issignaling_test): Likewise.
39221         (isunordered_test): Likewise.
39222         (logb_test): Likewise.
39223         (logb_downward_test_data): Remove.
39224         (logb_test_downward): Likewise.
39225         (lround_test): Use ALL_RM_TEST.
39226         (llround_test): Likewise.
39227         (modf_test): Likewise.
39228         (nexttoward_test): Likewise.
39229         (remainder_test): Likewise.
39230         (drem_test): Likewise.
39231         (remainder_tonearest_test_data): Likewise.
39232         (remainder_test_tonearest): Likewise.
39233         (drem_test_tonearest): Likewise.
39234         (remainder_towardzero_test_data): Likewise.
39235         (remainder_test_towardzero): Likewise.
39236         (drem_test_towardzero): Likewise.
39237         (remainder_downward_test_data): Likewise.
39238         (remainder_test_downward): Likewise.
39239         (drem_test_downward): Likewise.
39240         (remainder_upward_test_data): Likewise.
39241         (remainder_test_upward): Likewise.
39242         (drem_test_upward): Likewise.
39243         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39244         (round_test): Use ALL_RM_TEST.
39245         (signbit_test): Likewise.
39246         (trunc_test): Likewise.
39247         (significand_test): Likewise.
39248         (main): Don't call removed functions.
39250 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39252         [BZ #16674]
39253         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39254         || __USE_XOPEN2K8].
39255         (ILL_ILLOPN): Likewise.
39256         (ILL_ILLADR): Likewise.
39257         (ILL_ILLTRP): Likewise.
39258         (ILL_PRVOPC): Likewise.
39259         (ILL_PRVREG): Likewise.
39260         (ILL_COPROC): Likewise.
39261         (ILL_BADSTK): Likewise.
39262         (FPE_INTDIV): Likewise.
39263         (FPE_INTOVF): Likewise.
39264         (FPE_FLTDIV): Likewise.
39265         (FPE_FLTOVF): Likewise.
39266         (FPE_FLTUND): Likewise.
39267         (FPE_FLTRES): Likewise.
39268         (FPE_FLTINV): Likewise.
39269         (FPE_FLTSUB): Likewise.
39270         (SEGV_MAPERR): Likewise.
39271         (SEGV_ACCERR): Likewise.
39272         (BUS_ADRALN): Likewise.
39273         (BUS_ADRERR): Likewise.
39274         (BUS_OBJERR): Likewise.
39275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39276         (TRAP_TRACE): Likewise.
39277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39278         __USE_XOPEN2K8].
39279         (CLD_KILLED): Likewise.
39280         (CLD_DUMPED): Likewise.
39281         (CLD_TRAPPED): Likewise.
39282         (CLD_STOPPED): Likewise.
39283         (CLD_CONTINUED): Likewise.
39284         (POLL_IN): Likewise.
39285         (POLL_OUT): Likewise.
39286         (POLL_MSG): Likewise.
39287         (POLL_ERR): Likewise.
39288         (POLL_PRI): Likewise.
39289         (POLL_HUP): Likewise.
39290         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39291         Likewise.
39292         (ILL_ILLOPN): Likewise.
39293         (ILL_ILLADR): Likewise.
39294         (ILL_ILLTRP): Likewise.
39295         (ILL_PRVOPC): Likewise.
39296         (ILL_PRVREG): Likewise.
39297         (ILL_COPROC): Likewise.
39298         (ILL_BADSTK): Likewise.
39299         (FPE_INTDIV): Likewise.
39300         (FPE_INTOVF): Likewise.
39301         (FPE_FLTDIV): Likewise.
39302         (FPE_FLTOVF): Likewise.
39303         (FPE_FLTUND): Likewise.
39304         (FPE_FLTRES): Likewise.
39305         (FPE_FLTINV): Likewise.
39306         (FPE_FLTSUB): Likewise.
39307         (SEGV_MAPERR): Likewise.
39308         (SEGV_ACCERR): Likewise.
39309         (BUS_ADRALN): Likewise.
39310         (BUS_ADRERR): Likewise.
39311         (BUS_OBJERR): Likewise.
39312         (BUS_MCEERR_AR): Likewise.
39313         (BUS_MCEERR_AO): Likewise.
39314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39315         (TRAP_TRACE): Likewise.
39316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39317         __USE_XOPEN2K8].
39318         (CLD_KILLED): Likewise.
39319         (CLD_DUMPED): Likewise.
39320         (CLD_TRAPPED): Likewise.
39321         (CLD_STOPPED): Likewise.
39322         (CLD_CONTINUED): Likewise.
39323         (POLL_IN): Likewise.
39324         (POLL_OUT): Likewise.
39325         (POLL_MSG): Likewise.
39326         (POLL_ERR): Likewise.
39327         (POLL_PRI): Likewise.
39328         (POLL_HUP): Likewise.
39329         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39330         (ILL_ILLOPN): Likewise.
39331         (ILL_ILLADR): Likewise.
39332         (ILL_ILLTRP): Likewise.
39333         (ILL_PRVOPC): Likewise.
39334         (ILL_PRVREG): Likewise.
39335         (ILL_COPROC): Likewise.
39336         (ILL_BADSTK): Likewise.
39337         (FPE_INTDIV): Likewise.
39338         (FPE_INTOVF): Likewise.
39339         (FPE_FLTDIV): Likewise.
39340         (FPE_FLTOVF): Likewise.
39341         (FPE_FLTUND): Likewise.
39342         (FPE_FLTRES): Likewise.
39343         (FPE_FLTINV): Likewise.
39344         (FPE_FLTSUB): Likewise.
39345         (SEGV_MAPERR): Likewise.
39346         (SEGV_ACCERR): Likewise.
39347         (BUS_ADRALN): Likewise.
39348         (BUS_ADRERR): Likewise.
39349         (BUS_OBJERR): Likewise.
39350         (BUS_MCEERR_AR): Likewise.
39351         (BUS_MCEERR_AO): Likewise.
39352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39353         (TRAP_TRACE): Likewise.
39354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39355         __USE_XOPEN2K8].
39356         (CLD_KILLED): Likewise.
39357         (CLD_DUMPED): Likewise.
39358         (CLD_TRAPPED): Likewise.
39359         (CLD_STOPPED): Likewise.
39360         (CLD_CONTINUED): Likewise.
39361         (POLL_IN): Likewise.
39362         (POLL_OUT): Likewise.
39363         (POLL_MSG): Likewise.
39364         (POLL_ERR): Likewise.
39365         (POLL_PRI): Likewise.
39366         (POLL_HUP): Likewise.
39367         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39368         Likewise.
39369         (ILL_ILLOPN): Likewise.
39370         (ILL_ILLADR): Likewise.
39371         (ILL_ILLTRP): Likewise.
39372         (ILL_PRVOPC): Likewise.
39373         (ILL_PRVREG): Likewise.
39374         (ILL_COPROC): Likewise.
39375         (ILL_BADSTK): Likewise.
39376         (ILL_BADIADDR): Likewise.
39377         (ILL_BREAK): Likewise.
39378         (FPE_INTDIV): Likewise.
39379         (FPE_INTOVF): Likewise.
39380         (FPE_FLTDIV): Likewise.
39381         (FPE_FLTOVF): Likewise.
39382         (FPE_FLTUND): Likewise.
39383         (FPE_FLTRES): Likewise.
39384         (FPE_FLTINV): Likewise.
39385         (FPE_FLTSUB): Likewise.
39386         (FPE_DECOVF): Likewise.
39387         (FPE_DECDIV): Likewise.
39388         (FPE_DECERR): Likewise.
39389         (FPE_INVASC): Likewise.
39390         (FPE_INVDEC): Likewise.
39391         (SEGV_MAPERR): Likewise.
39392         (SEGV_ACCERR): Likewise.
39393         (SEGV_PSTKOVF): Likewise.
39394         (BUS_ADRALN): Likewise.
39395         (BUS_ADRERR): Likewise.
39396         (BUS_OBJERR): Likewise.
39397         (BUS_MCEERR_AR): Likewise.
39398         (BUS_MCEERR_AO): Likewise.
39399         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39400         (TRAP_TRACE): Likewise.
39401         (TRAP_BRANCH): Likewise.
39402         (TRAP_HWBKPT): Likewise.
39403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39404         __USE_XOPEN2K8].
39405         (CLD_KILLED): Likewise.
39406         (CLD_DUMPED): Likewise.
39407         (CLD_TRAPPED): Likewise.
39408         (CLD_STOPPED): Likewise.
39409         (CLD_CONTINUED): Likewise.
39410         (POLL_IN): Likewise.
39411         (POLL_OUT): Likewise.
39412         (POLL_MSG): Likewise.
39413         (POLL_ERR): Likewise.
39414         (POLL_PRI): Likewise.
39415         (POLL_HUP): Likewise.
39416         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39417         (ILL_ILLOPN): Likewise.
39418         (ILL_ILLADR): Likewise.
39419         (ILL_ILLTRP): Likewise.
39420         (ILL_PRVOPC): Likewise.
39421         (ILL_PRVREG): Likewise.
39422         (ILL_COPROC): Likewise.
39423         (ILL_BADSTK): Likewise.
39424         (FPE_INTDIV): Likewise.
39425         (FPE_INTOVF): Likewise.
39426         (FPE_FLTDIV): Likewise.
39427         (FPE_FLTOVF): Likewise.
39428         (FPE_FLTUND): Likewise.
39429         (FPE_FLTRES): Likewise.
39430         (FPE_FLTINV): Likewise.
39431         (FPE_FLTSUB): Likewise.
39432         (SEGV_MAPERR): Likewise.
39433         (SEGV_ACCERR): Likewise.
39434         (BUS_ADRALN): Likewise.
39435         (BUS_ADRERR): Likewise.
39436         (BUS_OBJERR): Likewise.
39437         (BUS_MCEERR_AR): Likewise.
39438         (BUS_MCEERR_AO): Likewise.
39439         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39440         (TRAP_TRACE): Likewise.
39441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39442         __USE_XOPEN2K8].
39443         (CLD_KILLED): Likewise.
39444         (CLD_DUMPED): Likewise.
39445         (CLD_TRAPPED): Likewise.
39446         (CLD_STOPPED): Likewise.
39447         (CLD_CONTINUED): Likewise.
39448         (POLL_IN): Likewise.
39449         (POLL_OUT): Likewise.
39450         (POLL_MSG): Likewise.
39451         (POLL_ERR): Likewise.
39452         (POLL_PRI): Likewise.
39453         (POLL_HUP): Likewise.
39454         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39455         (ILL_ILLOPN): Likewise.
39456         (ILL_ILLADR): Likewise.
39457         (ILL_ILLTRP): Likewise.
39458         (ILL_PRVOPC): Likewise.
39459         (ILL_PRVREG): Likewise.
39460         (ILL_COPROC): Likewise.
39461         (ILL_BADSTK): Likewise.
39462         (FPE_INTDIV): Likewise.
39463         (FPE_INTOVF): Likewise.
39464         (FPE_FLTDIV): Likewise.
39465         (FPE_FLTOVF): Likewise.
39466         (FPE_FLTUND): Likewise.
39467         (FPE_FLTRES): Likewise.
39468         (FPE_FLTINV): Likewise.
39469         (FPE_FLTSUB): Likewise.
39470         (SEGV_MAPERR): Likewise.
39471         (SEGV_ACCERR): Likewise.
39472         (BUS_ADRALN): Likewise.
39473         (BUS_ADRERR): Likewise.
39474         (BUS_OBJERR): Likewise.
39475         (BUS_MCEERR_AR): Likewise.
39476         (BUS_MCEERR_AO): Likewise.
39477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39478         (TRAP_TRACE): Likewise.
39479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39480         __USE_XOPEN2K8].
39481         (CLD_KILLED): Likewise.
39482         (CLD_DUMPED): Likewise.
39483         (CLD_TRAPPED): Likewise.
39484         (CLD_STOPPED): Likewise.
39485         (CLD_CONTINUED): Likewise.
39486         (POLL_IN): Likewise.
39487         (POLL_OUT): Likewise.
39488         (POLL_MSG): Likewise.
39489         (POLL_ERR): Likewise.
39490         (POLL_PRI): Likewise.
39491         (POLL_HUP): Likewise.
39492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39493         (ILL_ILLOPN): Likewise.
39494         (ILL_ILLADR): Likewise.
39495         (ILL_ILLTRP): Likewise.
39496         (ILL_PRVOPC): Likewise.
39497         (ILL_PRVREG): Likewise.
39498         (ILL_COPROC): Likewise.
39499         (ILL_BADSTK): Likewise.
39500         (FPE_INTDIV): Likewise.
39501         (FPE_INTOVF): Likewise.
39502         (FPE_FLTDIV): Likewise.
39503         (FPE_FLTOVF): Likewise.
39504         (FPE_FLTUND): Likewise.
39505         (FPE_FLTRES): Likewise.
39506         (FPE_FLTINV): Likewise.
39507         (FPE_FLTSUB): Likewise.
39508         (SEGV_MAPERR): Likewise.
39509         (SEGV_ACCERR): Likewise.
39510         (BUS_ADRALN): Likewise.
39511         (BUS_ADRERR): Likewise.
39512         (BUS_OBJERR): Likewise.
39513         (BUS_MCEERR_AR): Likewise.
39514         (BUS_MCEERR_AO): Likewise.
39515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39516         (TRAP_TRACE): Likewise.
39517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39518         __USE_XOPEN2K8].
39519         (CLD_KILLED): Likewise.
39520         (CLD_DUMPED): Likewise.
39521         (CLD_TRAPPED): Likewise.
39522         (CLD_STOPPED): Likewise.
39523         (CLD_CONTINUED): Likewise.
39524         (POLL_IN): Likewise.
39525         (POLL_OUT): Likewise.
39526         (POLL_MSG): Likewise.
39527         (POLL_ERR): Likewise.
39528         (POLL_PRI): Likewise.
39529         (POLL_HUP): Likewise.
39530         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39531         (ILL_ILLOPN): Likewise.
39532         (ILL_ILLADR): Likewise.
39533         (ILL_ILLTRP): Likewise.
39534         (ILL_PRVOPC): Likewise.
39535         (ILL_PRVREG): Likewise.
39536         (ILL_COPROC): Likewise.
39537         (ILL_BADSTK): Likewise.
39538         (ILL_DBLFLT): Likewise.
39539         (ILL_HARDWALL): Likewise.
39540         (FPE_INTDIV): Likewise.
39541         (FPE_INTOVF): Likewise.
39542         (FPE_FLTDIV): Likewise.
39543         (FPE_FLTOVF): Likewise.
39544         (FPE_FLTUND): Likewise.
39545         (FPE_FLTRES): Likewise.
39546         (FPE_FLTINV): Likewise.
39547         (FPE_FLTSUB): Likewise.
39548         (SEGV_MAPERR): Likewise.
39549         (SEGV_ACCERR): Likewise.
39550         (BUS_ADRALN): Likewise.
39551         (BUS_ADRERR): Likewise.
39552         (BUS_OBJERR): Likewise.
39553         (BUS_MCEERR_AR): Likewise.
39554         (BUS_MCEERR_AO): Likewise.
39555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39556         (TRAP_TRACE): Likewise.
39557         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39558         __USE_XOPEN2K8].
39559         (CLD_KILLED): Likewise.
39560         (CLD_DUMPED): Likewise.
39561         (CLD_TRAPPED): Likewise.
39562         (CLD_STOPPED): Likewise.
39563         (CLD_CONTINUED): Likewise.
39564         (POLL_IN): Likewise.
39565         (POLL_OUT): Likewise.
39566         (POLL_MSG): Likewise.
39567         (POLL_ERR): Likewise.
39568         (POLL_PRI): Likewise.
39569         (POLL_HUP): Likewise.
39570         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39571         (ILL_ILLOPN): Likewise.
39572         (ILL_ILLADR): Likewise.
39573         (ILL_ILLTRP): Likewise.
39574         (ILL_PRVOPC): Likewise.
39575         (ILL_PRVREG): Likewise.
39576         (ILL_COPROC): Likewise.
39577         (ILL_BADSTK): Likewise.
39578         (FPE_INTDIV): Likewise.
39579         (FPE_INTOVF): Likewise.
39580         (FPE_FLTDIV): Likewise.
39581         (FPE_FLTOVF): Likewise.
39582         (FPE_FLTUND): Likewise.
39583         (FPE_FLTRES): Likewise.
39584         (FPE_FLTINV): Likewise.
39585         (FPE_FLTSUB): Likewise.
39586         (SEGV_MAPERR): Likewise.
39587         (SEGV_ACCERR): Likewise.
39588         (BUS_ADRALN): Likewise.
39589         (BUS_ADRERR): Likewise.
39590         (BUS_OBJERR): Likewise.
39591         (BUS_MCEERR_AR): Likewise.
39592         (BUS_MCEERR_AO): Likewise.
39593         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39594         (TRAP_TRACE): Likewise.
39595         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39596         __USE_XOPEN2K8].
39597         (CLD_KILLED): Likewise.
39598         (CLD_DUMPED): Likewise.
39599         (CLD_TRAPPED): Likewise.
39600         (CLD_STOPPED): Likewise.
39601         (CLD_CONTINUED): Likewise.
39602         (POLL_IN): Likewise.
39603         (POLL_OUT): Likewise.
39604         (POLL_MSG): Likewise.
39605         (POLL_ERR): Likewise.
39606         (POLL_PRI): Likewise.
39607         (POLL_HUP): Likewise.
39608         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39609         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39611         [BZ #16670]
39612         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39613         before #include of <time.h>.
39614         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39615         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39616         (test-xfail-UNIX98/sched.h/conform): Likewise.
39618 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39620         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39621         error absence of trapping exception support.
39622         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39624 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39626         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39627         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39628         * timezone/Makefile (testdata): Move definition above include of
39629         Rules.
39630         (test-zones): New variable.
39631         (tests-special): Add zone files.
39632         (build-testdata): Use $(evaluate-test).
39634         * elf/Makefile (tests-special): Rename tests to end with .out.
39635         ($(objpfx)noload-mem): Likewise.
39636         ($(objpfx)tst-leaks1-mem): Likewise.
39637         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39638         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39639         $(objpfx)test-iconvconfig.out.
39640         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39641         set -e inside subshell and redirect output to file.
39642         * iconvdata/Makefile (generated): Rename tests to end with .out.
39643         Correct type.
39644         (tests-special): Rename tests to end with .out.
39645         ($(objpfx)mtrace-tst-loading): Likewise.
39646         * intl/Makefile (generated): Likewise.
39647         (tests-special): Likewise.
39648         ($(objpfx)mtrace-tst-gettext): Likewise.
39649         * misc/Makefile (generated): Likewise.
39650         (tests-special): Likewise.
39651         ($(objpfx)tst-error1-mem): Likewise.
39652         * nptl/Makefile (tests-special): Likewise.
39653         ($(objpfx)tst-stack3-mem): Likewise.
39654         (generated): Likewise.
39655         * posix/Makefile (generated): Likewise.
39656         (tests-special): Likewise.
39657         (xtests-special): Likewise.
39658         ($(objpfx)tst-fnmatch-mem): Likewise.
39659         ($(objpfx)bug-regex2-mem): Likewise.
39660         ($(objpfx)bug-regex14-mem): Likewise.
39661         ($(objpfx)bug-regex21-mem): Likewise.
39662         ($(objpfx)bug-regex31-mem): Likewise.
39663         ($(objpfx)tst-vfork3-mem): Likewise.
39664         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39665         ($(objpfx)tst-pcre-mem): Likewise.
39666         ($(objpfx)tst-boost-mem): Likewise.
39667         ($(objpfx)bug-ga2-mem): Likewise.
39668         ($(objpfx)bug-glob2-mem): Likewise.
39669         * resolv/Makefile (generate): Likewise.
39670         (tests-special): Likewise.
39671         (xtests-special): Likewise.
39672         (generated): Likewise.
39673         ($(objpfx)mtrace-tst-leaks): Likewise.
39674         ($(objpfx)mtrace-tst-leaks2): Likewise.
39676         * scripts/merge-test-results.sh: New file.
39677         * Makefile (tests-special-notdir): New variable.
39678         (tests): Run merge-test-results.sh.
39679         (xtests): Likewise.
39680         * Rules (tests-special-notdir): New variable.
39681         (xtests-special-notdir): Likewise.
39682         (tests): Run merge-test-results.sh
39683         (xtests): Likewise.
39685         * Makeconfig (test-xfail-name): New variable.
39686         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39687         compute variable name for expected failures.
39688         * conform/Makefile (conformtest-headers-data): New variable.
39689         (conformtest-standards): Likewise.
39690         (conformtest-headers-ISO): Likewise.
39691         (conformtest-headers-ISO99): Likewise.
39692         (conformtest-headers-ISO11): Likewise.
39693         (conformtest-headers-POSIX): Likewise.
39694         (conformtest-headers-XPG3): Likewise.
39695         (conformtest-headers-XPG4): Likewise.
39696         (conformtest-headers-UNIX98): Likewise.
39697         (conformtest-headers-XOPEN2K): Likewise.
39698         (conformtest-headers-POSIX2008): Likewise.
39699         (conformtest-headers-XOPEN2K8): Likewise.
39700         (conformtest-header-list-base): Likewise.
39701         (conformtest-header-list-tests): Likewise.
39702         (conformtest-header-base): Likewise.
39703         (conformtest-header-tests): Likewise.
39704         (tests-special): Add $(conformtest-header-list-tests).  If
39705         [$(fast-check) && !$(cross-compiling)], add
39706         $(conformtest-header-tests) instead of
39707         $(objpfx)run-conformtest.out.
39708         (generated): Add $(conformtest-header-list-base).  If
39709         [$(fast-check) && !$(cross-compiling)], add
39710         $(conformtest-header-base).  Remove previous setting.
39711         ($(conformtest-header-list-tests)): New target.
39712         (test-xfail-run-conformtest): Remove variable.
39713         ($(objpfx)run-conformtest.out): Remove target.
39714         (test-xfail-ISO11/complex.h/conform): New variable.
39715         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39716         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39717         (test-xfail-XPG3/varargs.h/conform): Likewise.
39718         (test-xfail-XPG4/varargs.h/conform): Likewise.
39719         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39720         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39721         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39722         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39723         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39724         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39725         (test-xfail-XPG3/ftw.h/conform): Likewise.
39726         (test-xfail-XPG3/grp.h/conform): Likewise.
39727         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39728         (test-xfail-XPG3/limits.h/conform): Likewise.
39729         (test-xfail-XPG3/pwd.h/conform): Likewise.
39730         (test-xfail-XPG3/search.h/conform): Likewise.
39731         (test-xfail-XPG3/signal.h/conform): Likewise.
39732         (test-xfail-XPG3/stdio.h/conform): Likewise.
39733         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39734         (test-xfail-XPG3/string.h/conform): Likewise.
39735         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39736         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39737         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39738         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39739         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39740         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39741         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39742         (test-xfail-XPG3/termios.h/conform): Likewise.
39743         (test-xfail-XPG3/time.h/conform): Likewise.
39744         (test-xfail-XPG3/unistd.h/conform): Likewise.
39745         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39746         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39747         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39748         (test-xfail-XPG4/netdb.h/conform): Likewise.
39749         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39750         (test-xfail-XPG4/signal.h/conform): Likewise.
39751         (test-xfail-XPG4/stdio.h/conform): Likewise.
39752         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39753         (test-xfail-XPG4/stropts.h/conform): Likewise.
39754         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39755         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39756         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39757         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39758         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39759         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39760         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39761         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39762         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39763         (test-xfail-XPG4/termios.h/conform): Likewise.
39764         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39765         (test-xfail-XPG4/unistd.h/conform): Likewise.
39766         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39767         (test-xfail-POSIX/sched.h/conform): Likewise.
39768         (test-xfail-POSIX/signal.h/conform): Likewise.
39769         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39770         (test-xfail-POSIX/tar.h/conform): Likewise.
39771         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39772         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39773         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39774         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39775         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39776         (test-xfail-UNIX98/sched.h/conform): Likewise.
39777         (test-xfail-UNIX98/signal.h/conform): Likewise.
39778         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39779         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39780         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39781         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39782         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39783         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39784         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39785         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39786         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39787         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39788         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39789         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39790         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39791         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39792         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39793         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39794         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39795         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39796         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39797         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39798         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39799         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39800         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39801         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39802         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39803         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39804         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39805         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39806         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39807         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39808         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39809         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39810         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39811         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39812         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39813         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39814         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39815         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39816         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39817         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39818         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39819         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39820         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39821         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39822         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39823         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39824         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39825         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39826         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39827         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39828         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39829         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39830         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39831         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39832         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39833         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39834         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39835         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39836         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39837         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39838         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39839         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39840         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39841         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39842         (conformtest-cc-flags): Likewise.
39843         ($(conformtest-header-tests): New target.
39844         * conform/check-header-lists.sh: New file.
39845         * conform/run-conformtest.sh: Remove.
39847         * conform/conformtest.pl: Allow ' and \ in values given for
39848         constants.
39849         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39850         inclusion.
39851         [POSIX] (sys/types.h): Likewise.
39852         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39853         inclusion.
39854         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39855         inclusion.
39856         * conform/data/signal.h-data (SIGIO): Remove expectation.
39857         [XPG3] (SIGBUS): Do not expect.
39858         [POSIX || XPG3] (SIGPOLL): Likewise.
39859         [POSIX || XPG3] (SIGPROF): Likewise.
39860         [POSIX || XPG3] (SIGSYS): Likewise.
39861         [XPG3] (SIGTRAP): Likewise.
39862         [POSIX || XPG3] (SIGURG): Likewise.
39863         [POSIX || XPG3] (SIGVTALRM): Likewise.
39864         [POSIX || XPG3] (SIGXCPU): Likewise.
39865         [POSIX || XPG3] (SIGXFSZ): Likewise.
39866         [POSIX] (SA_SIGINFO): Expect.
39867         [XPG3] (siginfo_t): Do not expect type or contents.
39868         [POSIX] (si_pid): Do not expect element.
39869         [POSIX] (si_uid): Likewise.
39870         [POSIX] (si_addr): Likewise.
39871         [POSIX] (si_status): Likewise.
39872         [POSIX] (si_band): Likewise.
39873         [XPG4] (si_value): Likewise.
39874         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39875         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39876         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39877         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39878         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39879         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39880         [POSIX || XPG3] (ILL_COPROC): Likewise.
39881         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39882         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39883         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39884         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39885         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39886         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39887         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39888         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39889         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39890         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39891         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39892         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39893         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39894         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39895         [POSIX || XPG3] (CLD_EXITED): Likewise.
39896         [POSIX || XPG3] (CLD_KILLED): Likewise.
39897         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39898         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39899         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39900         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39901         [POSIX || XPG3] (POLL_IN): Likewise.
39902         [POSIX || XPG3] (POLL_OUT): Likewise.
39903         [POSIX || XPG3] (POLL_MSG): Likewise.
39904         [POSIX || XPG3] (POLL_ERR): Likewise.
39905         [POSIX || XPG3] (POLL_PRI): Likewise.
39906         [POSIX || XPG3] (POLL_HUP): Likewise.
39907         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39908         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39909         (SIG*): Do not allow.
39910         [XPG3] (si_*): Likewise.
39911         [XPG3] (SI_*): Likewise.
39912         [XPG3 || XPG4] (sigev_*): Likewise.
39913         [XPG3 || XPG4] (SIGEV_*): Likewise.
39914         [XPG3 || XPG4] (sival_*): Likewise.
39915         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39916         [POSIX || XPG3] (BUS_*): Likewise.
39917         [POSIX || XPG3] (CLD_*): Likewise.
39918         [POSIX || XPG3] (FPE_*): Likewise.
39919         [POSIX || XPG3] (ILL_*): Likewise.
39920         [POSIX || XPG3] (POLL_*): Likewise.
39921         [POSIX || XPG3] (SEGV_*): Likewise.
39922         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39923         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39924         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39925         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39926         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39927         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39928         Specify type and value.
39929         (TVERSLEN): Likewise.
39930         (REGTYPE): Likewise.
39931         (AREGTYPE): Likewise.
39932         (LNKTYPE): Likewise.
39933         (SYMTYPE): Likewise.
39934         (CHRTYPE): Likewise.
39935         (BLKTYPE): Likewise.
39936         (DIRTYPE): Likewise.
39937         (FIFOTYPE): Likewise.
39938         (CONTTYPE): Likewise.
39939         (TSUID): Likewise.
39940         (TSGID): Likewise.
39941         (TSVTX): Likewise.
39942         (TUREAD): Likewise.
39943         (TUWRITE): Likewise.
39944         (TUEXEC): Likewise.
39945         (TGREAD): Likewise.
39946         (TGWRITE): Likewise.
39947         (TGEXEC): Likewise.
39948         (TOREAD): Likewise.
39949         (TOWRITE): Likewise.
39950         (TOEXEC): Likewise.
39951         [POSIX] (TSVTX): Expect constant.
39953 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39955         * Makefile (tests): Change dependencies to ....
39956         (tests-special): ... additions to this variable.
39957         (tests): Depend on $(tests-special).
39958         * Makerules (check-abi-list): New variable.
39959         (check-abi): Depend on $(check-abi-list).
39960         [$(subdir) = elf] (tests-special): Add
39961         $(objpfx)check-abi-libc.out.
39962         [$(build-shared) = yes && subdir] (tests-special): Add
39963         $(check-abi-list).
39964         [$(build-shared) = yes && subdir] (tests): Do not depend on
39965         check-abi.
39966         * Rules (tests): Depend on $(tests-special).
39967         (xtests): Depend on $(xtests-special).
39968         * catgets/Makefile (tests): Change dependencies to ....
39969         (tests-special): ... additions to this variable.
39970         * conform/Makefile (tests): Change dependencies to ....
39971         (tests-special): ... additions to this variable.
39972         * elf/Makefile (tests): Change dependencies to ....
39973         (tests-special): ... additions to this variable.
39974         * grp/Makefile (tests): Change dependencies to ....
39975         (tests-special): ... additions to this variable.
39976         * iconv/Makefile (xtests): Change dependencies to ....
39977         (xtests-special): ... additions to this variable.
39978         * iconvdata/Makefile (tests): Change dependencies to ....
39979         (tests-special): ... additions to this variable.
39980         * intl/Makefile (tests): Change dependencies to ....
39981         (tests-special): ... additions to this variable.  Also add
39982         $(objpfx)tst-gettext.out.
39983         * io/Makefile (tests): Change dependencies to ....
39984         (tests-special): ... additions to this variable.
39985         * libio/Makefile (tests): Change dependencies to ....
39986         (tests-special): ... additions to this variable.
39987         * malloc/Makefile (tests): Change dependencies to ....
39988         (tests-special): ... additions to this variable.
39989         * misc/Makefile (tests): Change dependencies to ....
39990         (tests-special): ... additions to this variable.
39991         * nptl/Makefile (tests): Change dependencies to ....
39992         (tests-special): ... additions to this variable.
39993         * nptl_db/Makefile (tests): Change dependencies to ....
39994         (tests-special): ... additions to this variable.
39995         * posix/Makefile (tests): Change dependencies to ....
39996         (tests-special): ... additions to this variable.
39997         (xtests): Change dependencies to ....
39998         (xtests-special): ... additions to this variable.
39999         * resolv/Makefile (tests): Change dependencies to ....
40000         (tests-special): ... additions to this variable.
40001         (xtests): Change dependencies to ....
40002         (xtests-special): ... additions to this variable.
40003         * stdio-common/Makefile (tests): Change dependencies to ....
40004         (tests-special): ... additions to this variable.
40005         (do-tst-unbputc): Remove target.
40006         (do-tst-printf): Likewise.
40007         * stdlib/Makefile (tests): Change dependencies to ....
40008         (tests-special): ... additions to this variable.
40009         * string/Makefile (tests): Change dependencies to ....
40010         (tests-special): ... additions to this variable.
40011         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40012         (tests-special): ... additions to this variable.
40014         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40015         whole file.
40016         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40017         whole file.
40018         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40019         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40021         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40022         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40023         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40024         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40025         * conform/data/libgen.h-data [XPG3]: Likewise.
40026         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40027         * conform/data/ndbm.h-data [XPG3]: Likewise.
40028         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40029         * conform/data/netdb.h-data [XPG3]: Likewise.
40030         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40031         * conform/data/poll.h-data [XPG3]: Likewise.
40032         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40033         * conform/data/strings.h-data [XPG3]: Likewise.
40034         * conform/data/stropts.h-data [XPG3]: Likewise.
40035         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40036         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40037         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40038         Likewise.
40039         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40040         * conform/data/sys/time.h-data [XPG3]: Likewise.
40041         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40042         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40043         * conform/data/sys/un.h-data [XPG3]: Likewise.
40044         * conform/data/syslog.h-data [XPG3]: Likewise.
40045         * conform/data/ucontext.h-data [XPG3]: Likewise.
40046         * conform/data/utmpx.h-data [XPG3]: Likewise.
40047         * conform/data/varargs.h-data [UNIX98]: Enable file.
40049         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40051         * math/libm-test.inc (struct test_f_f_data): Move expected results
40052         into structure for each rounding mode.
40053         (struct test_ff_f_data): Likewise.
40054         (struct test_ff_f_data_nexttoward): Likewise.
40055         (struct test_fi_f_data): Likewise.
40056         (struct test_fl_f_data): Likewise.
40057         (struct test_if_f_data): Likewise.
40058         (struct test_fff_f_data): Likewise.
40059         (struct test_c_f_data): Likewise.
40060         (struct test_f_f1_data): Likewise.
40061         (struct test_fF_f1_data): Likewise.
40062         (struct test_ffI_f1_data): Likewise.
40063         (struct test_c_c_data): Likewise.
40064         (struct test_cc_c_data): Likewise.
40065         (struct test_f_i_data): Likewise.
40066         (struct test_ff_i_data): Likewise.
40067         (struct test_f_l_data): Likewise.
40068         (struct test_f_L_data): Likewise.
40069         (struct test_fFF_11_data): Likewise.
40070         (RM_): New macro.
40071         (RM_FE_DOWNWARD): Likewise.
40072         (RM_FE_TONEAREST): Likewise.
40073         (RM_FE_TOWARDZERO): Likewise.
40074         (RM_FE_UPWARD): Likewise.
40075         (RUN_TEST_LOOP_f_f): Update references to expected results.
40076         (RUN_TEST_LOOP_2_f): Likewise.
40077         (RUN_TEST_LOOP_fff_f): Likewise.
40078         (RUN_TEST_LOOP_c_f): Likewise.
40079         (RUN_TEST_LOOP_f_f1): Likewise.
40080         (RUN_TEST_LOOP_fF_f1): Likewise.
40081         (RUN_TEST_LOOP_fI_f1): Likewise.
40082         (RUN_TEST_LOOP_ffI_f1): Likewise.
40083         (RUN_TEST_LOOP_c_c): Likewise.
40084         (RUN_TEST_LOOP_cc_c): Likewise.
40085         (RUN_TEST_LOOP_f_i): Likewise.
40086         (RUN_TEST_LOOP_f_i_tg): Likewise.
40087         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40088         (RUN_TEST_LOOP_f_b): Likewise.
40089         (RUN_TEST_LOOP_f_b_tg): Likewise.
40090         (RUN_TEST_LOOP_f_l): Likewise.
40091         (RUN_TEST_LOOP_f_L): Likewise.
40092         (RUN_TEST_LOOP_fFF_11): Likewise.
40093         * math/gen-libm-test.pl (parse_args): Output four copies of
40094         expected results for each test.
40096         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40097         (__ASSUME_UTIMES): Remove.
40098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40099         (__ASSUME_UTIMES): Likewise.
40101         * math/gen-auto-libm-tests.c: Update comment on output format.
40102         (output_for_one_input_case): Generate before-rounding and
40103         after-rounding information as conditions on output flags not
40104         floating-point format.
40105         * math/auto-libm-test-out: Regenerated.
40106         * math/gen-libm-test.pl (cond_value): New function.
40107         (or_cond_value): Use cond_value.
40108         (generate_testfile): Handle conditional exceptions.
40110 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40112         * math/libm-test.inc (max_valid_error): New variable.
40113         (init_max_error): Take new argument specifying whether function
40114         results are exactly determined.  Set max_valid_error and bound
40115         other variables for errors based on this argument.
40116         (set_max_error): Do not record results above max_valid_error.
40117         (check_float_internal): Only accept errors of up to 0.5ulps if
40118         also at most max_valid_error.
40119         (START): Take new argument EXACT and pass it to init_max_error.
40120         (acos_test): Update call to START.
40121         (acos_test_tonearest): Likewise.
40122         (acos_test_towardzero): Likewise.
40123         (acos_test_downward): Likewise.
40124         (acos_test_upward): Likewise.
40125         (acosh_test): Likewise.
40126         (asin_test): Likewise.
40127         (asin_test_tonearest): Likewise.
40128         (asin_test_towardzero): Likewise.
40129         (asin_test_downward): Likewise.
40130         (asin_test_upward): Likewise.
40131         (asinh_test): Likewise.
40132         (atan_test): Likewise.
40133         (atanh_test): Likewise.
40134         (atan2_test): Likewise.
40135         (cabs_test): Likewise.
40136         (cacos_test): Likewise.
40137         (cacosh_test): Likewise.
40138         (carg_test): Likewise.
40139         (casin_test): Likewise.
40140         (casinh_test): Likewise.
40141         (catan_test): Likewise.
40142         (catanh_test): Likewise.
40143         (cbrt_test): Likewise.
40144         (ccos_test): Likewise.
40145         (ccosh_test): Likewise.
40146         (ceil_test): Likewise.
40147         (cexp_test): Likewise.
40148         (cimag_test): Likewise.
40149         (clog_test): Likewise.
40150         (clog10_test): Likewise.
40151         (conj_test): Likewise.
40152         (copysign_test): Likewise.
40153         (cos_test): Likewise.
40154         (cos_test_tonearest): Likewise.
40155         (cos_test_towardzero): Likewise.
40156         (cos_test_downward): Likewise.
40157         (cos_test_upward): Likewise.
40158         (cosh_test): Likewise.
40159         (cosh_test_tonearest): Likewise.
40160         (cosh_test_towardzero): Likewise.
40161         (cosh_test_downward): Likewise.
40162         (cosh_test_upward): Likewise.
40163         (cpow_test): Likewise.
40164         (cproj_test): Likewise.
40165         (creal_test): Likewise.
40166         (csin_test): Likewise.
40167         (csinh_test): Likewise.
40168         (csqrt_test): Likewise.
40169         (ctan_test): Likewise.
40170         (ctan_test_tonearest): Likewise.
40171         (ctan_test_towardzero): Likewise.
40172         (ctan_test_downward): Likewise.
40173         (ctan_test_upward): Likewise.
40174         (ctanh_test): Likewise.
40175         (ctanh_test_tonearest): Likewise.
40176         (ctanh_test_towardzero): Likewise.
40177         (ctanh_test_downward): Likewise.
40178         (ctanh_test_upward): Likewise.
40179         (erf_test): Likewise.
40180         (erfc_test): Likewise.
40181         (exp_test): Likewise.
40182         (exp_test_tonearest): Likewise.
40183         (exp_test_towardzero): Likewise.
40184         (exp_test_downward): Likewise.
40185         (exp_test_upward): Likewise.
40186         (exp10_test): Likewise.
40187         (exp10_test_tonearest): Likewise.
40188         (exp10_test_towardzero): Likewise.
40189         (exp10_test_downward): Likewise.
40190         (exp10_test_upward): Likewise.
40191         (pow10_test): Likewise.
40192         (exp2_test): Likewise.
40193         (expm1_test): Likewise.
40194         (expm1_test_tonearest): Likewise.
40195         (expm1_test_towardzero): Likewise.
40196         (expm1_test_downward): Likewise.
40197         (expm1_test_upward): Likewise.
40198         (fabs_test): Likewise.
40199         (fdim_test): Likewise.
40200         (floor_test): Likewise.
40201         (fma_test): Likewise.
40202         (fma_test_towardzero): Likewise.
40203         (fma_test_downward): Likewise.
40204         (fma_test_upward): Likewise.
40205         (fmax_test): Likewise.
40206         (fmin_test): Likewise.
40207         (fmod_test): Likewise.
40208         (fpclassify_test): Likewise.
40209         (frexp_test): Likewise.
40210         (hypot_test): Likewise.
40211         (ilogb_test): Likewise.
40212         (isfinite_test): Likewise.
40213         (finite_test): Likewise.
40214         (isgreater_test): Likewise.
40215         (isgreaterequal_test): Likewise.
40216         (isinf_test): Likewise.
40217         (isless_test): Likewise.
40218         (islessequal_test): Likewise.
40219         (islessgreater_test): Likewise.
40220         (isnan_test): Likewise.
40221         (isnormal_test): Likewise.
40222         (issignaling_test): Likewise.
40223         (isunordered_test): Likewise.
40224         (j0_test): Likewise.
40225         (j1_test): Likewise.
40226         (jn_test): Likewise.
40227         (ldexp_test): Likewise.
40228         (lgamma_test): Likewise.
40229         (gamma_test): Likewise.
40230         (lrint_test): Likewise.
40231         (lrint_test_tonearest): Likewise.
40232         (lrint_test_towardzero): Likewise.
40233         (lrint_test_downward): Likewise.
40234         (lrint_test_upward): Likewise.
40235         (llrint_test): Likewise.
40236         (llrint_test_tonearest): Likewise.
40237         (llrint_test_towardzero): Likewise.
40238         (llrint_test_downward): Likewise.
40239         (llrint_test_upward): Likewise.
40240         (log_test): Likewise.
40241         (log10_test): Likewise.
40242         (log1p_test): Likewise.
40243         (log2_test): Likewise.
40244         (logb_test): Likewise.
40245         (logb_test_downward): Likewise.
40246         (lround_test): Likewise.
40247         (llround_test): Likewise.
40248         (modf_test): Likewise.
40249         (nearbyint_test): Likewise.
40250         (nextafter_test): Likewise.
40251         (nexttoward_test): Likewise.
40252         (pow_test): Likewise.
40253         (pow_test_tonearest): Likewise.
40254         (pow_test_towardzero): Likewise.
40255         (pow_test_downward): Likewise.
40256         (pow_test_upward): Likewise.
40257         (remainder_test): Likewise.
40258         (drem_test): Likewise.
40259         (remainder_test_tonearest): Likewise.
40260         (drem_test_tonearest): Likewise.
40261         (remainder_test_towardzero): Likewise.
40262         (drem_test_towardzero): Likewise.
40263         (remainder_test_downward): Likewise.
40264         (drem_test_downward): Likewise.
40265         (remainder_test_upward): Likewise.
40266         (drem_test_upward): Likewise.
40267         (remquo_test): Likewise.
40268         (rint_test): Likewise.
40269         (rint_test_tonearest): Likewise.
40270         (rint_test_towardzero): Likewise.
40271         (rint_test_downward): Likewise.
40272         (rint_test_upward): Likewise.
40273         (round_test): Likewise.
40274         (scalb_test): Likewise.
40275         (scalbn_test): Likewise.
40276         (scalbln_test): Likewise.
40277         (signbit_test): Likewise.
40278         (sin_test): Likewise.
40279         (sin_test_tonearest): Likewise.
40280         (sin_test_towardzero): Likewise.
40281         (sin_test_downward): Likewise.
40282         (sin_test_upward): Likewise.
40283         (sincos_test): Likewise.
40284         (sinh_test): Likewise.
40285         (sinh_test_tonearest): Likewise.
40286         (sinh_test_towardzero): Likewise.
40287         (sinh_test_downward): Likewise.
40288         (sinh_test_upward): Likewise.
40289         (sqrt_test): Likewise.
40290         (sqrt_test_tonearest): Likewise.
40291         (sqrt_test_towardzero): Likewise.
40292         (sqrt_test_downward): Likewise.
40293         (sqrt_test_upward): Likewise.
40294         (tan_test): Likewise.
40295         (tan_test_tonearest): Likewise.
40296         (tan_test_towardzero): Likewise.
40297         (tan_test_downward): Likewise.
40298         (tan_test_upward): Likewise.
40299         (tanh_test): Likewise.
40300         (tgamma_test): Likewise.
40301         (trunc_test): Likewise.
40302         (y0_test): Likewise.
40303         (y1_test): Likewise.
40304         (yn_test): Likewise.
40305         (significand_test): Likewise.
40307         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40308         individual tests in comment.
40309         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40310         (prev_max_error): New variable.
40311         (prev_real_max_error): Likewise.
40312         (prev_imag_max_error): Likewise.
40313         (compare_ulp_data): Don't refer to test names in comment.
40314         (find_test_ulps): Remove function.
40315         (find_function_ulps): Likewise.
40316         (find_complex_function_ulps): Likewise.
40317         (init_max_error): Take function name as argument.  Look up ulps
40318         for that function.
40319         (print_ulps): Remove function.
40320         (print_max_error): Use prev_max_error instead of calling
40321         find_function_ulps.
40322         (print_complex_max_error): Use prev_real_max_error and
40323         prev_imag_max_error instead of calling find_complex_function_ulps.
40324         (check_float_internal): Take max_ulp parameter instead of calling
40325         find_test_ulps.  Don't call print_ulps.
40326         (check_float): Update call to check_float_internal.
40327         (check_complex): Update calls to check_float_internal.
40328         (START): Pass argument to init_max_error.
40329         * math/gen-libm-test.pl (%results): Don't include "kind"
40330         information.
40331         (parse_ulps): Don't handle ulps of individual tests.
40332         (print_ulps_file): Likewise.
40333         (output_ulps): Likewise.
40334         * math/README.libm-test: Update.
40335         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40336         individual tests.
40337         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40338         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40339         * sysdeps/arm/libm-test-ulps: Likewise.
40340         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40341         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40342         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40343         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40344         * sysdeps/microblaze/libm-test-ulps: Likewise.
40345         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40346         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40347         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40348         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40349         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40350         * sysdeps/sh/libm-test-ulps: Likewise.
40351         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40352         * sysdeps/tile/libm-test-ulps: Likewise.
40353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40355 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40357         * math/libm-test.inc (print_complex_max_error): Check separately
40358         whether real and imaginary errors are within allowed range and
40359         pass 0 to print_complex_function_ulps instead of value within
40360         allowed range.
40362 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40364         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40365         formatting.
40366         (get_handles_fopen): Likewise.
40367         (do_write_test): Likewise.
40369         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40371         * libio/fileops.c (do_ftell): Use cached offset when
40372         available.
40373         * libio/iofwide.c (do_ftell_wide): Likewise.
40374         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40375         _IO_file_attach.
40376         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40378         [BZ #16532]
40379         * libio/libioP.h (get_file_offset): New function.
40380         * libio/fileops.c (get_file_offset): Likewise.
40381         (do_ftell): Likewise.
40382         (_IO_new_file_seekoff): Split out ftell logic.
40383         * libio/wfileops.c (do_ftell_wide): Likewise.
40384         (_IO_wfile_seekoff): Split out ftell logic.
40385         * libio/tst-ftell-active-handler.c: New test case.
40386         * libio/Makefile (tests): Add it.
40388 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40390         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40391         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40393 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40395         [BZ #16639]
40396         * nscd/connections.c (nscd_init): Call do_exit.
40397         (start_threads): Call do_exit and notify_parent.
40398         (begin_drop_privileges): Call do_exit.
40399         (finish_drop_privileges): Likewise.
40400         * nscd/selinux.c (preserve_capabilities): Likewise.
40401         (install_real_capabilities): Likewise.
40402         (nscd_selinux_enabled): Likewise.
40403         (avc_create_thread): Likewise.
40404         (avc_alloc_lock): Likewise.
40405         (nscd_avc_init): Likewise.
40406         * nscd/nscd.c (parent_fd): New static variable.
40407         (main): Create a pipe between parent and child processes.
40408         Skip closing parent_fd.
40409         (monitor_child): New function.
40410         (do_exit): Likewise.
40411         (notify_parent): Likewise.
40412         * nscd/nscd.h (notify_parent): Likewise.
40413         (do_exit): Likewise.
40415 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40417         * malloc/malloc.c (__libc_calloc): Revert last change.
40419 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40423 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40425         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40427         implementation.
40428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40429         (__libc_ifunc_impl_list): Likewise.
40430         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40431         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40432         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40433         * string/strrchr.c: Define STRRCHR.
40435 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40437         * benchtest/bench-strtok.c (simple_strtok): Delete.
40438         (strtok_string): Use as benchmark.
40439         * string/strtok (STRTOK): New macro.
40441 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40443         * manual/threads.texi: Add header and standard comments to all
40444         functions.
40446         * elf/dl-lookup.c (check_match): New function.
40447         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40448         (do_lookup_x): Remove nested function check_match. Use non-nested
40449         function check_match.
40451 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40453         * csu/Makefile (generated, before-compile): Use += rather than =.
40454         * catgets/Makefile (generated, generated-dirs): Likewise.
40455         * debug/Makefile (generated): Likewise.
40456         * dlfcn/Makefile (generated): Likewise.
40457         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40458         * iconvdata/Makefile (before-compile, generated): Likewise.
40459         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40460         * libio/Makefile (generated): Likewise.
40461         * malloc/Makefile (generated): Likewise.
40462         * manual/Makefile (generated, generated-dirs): Likewise.
40463         * misc/Makefile (generated): Likewise.
40464         * posix/Makefile (generated): Likewise.
40465         * resolv/Makefile (generated): Likewise.
40466         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40467         * timezone/Makefile (generated, generated-dirs): Likewise.
40469         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40471 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40474         power8 implementation.
40475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40476         file: POWER8 llround ifunc implementation.
40477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40478         (__lllround): Add POWER8 implementation.
40479         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40480         POWER8 llround implementation.
40482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40483         power8 implementation.
40484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40485         file: POWER8 llrint ifunc implementation.
40486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40487         Add POWER8 implementation.
40488         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40489         POWER8 llrint implementation.
40491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40492         power8 implementation.
40493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40494         file: POWER8 finite ifunc implementation.
40495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40496         Add POWER8 implementation.
40497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40498         Likewise.
40499         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40500         POWER8 finite implementation.
40501         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40504         power8 implementation.
40505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40506         file: POWER8 isinf ifunc implementation.
40507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40508         POWER8 implementation.
40509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40510         Likewise.
40511         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40512         isinf implementation.
40513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40515         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40516         (INIT_ARCH): Add hwcap2 initialization.
40517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40518         power8 implementation.
40519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40520         file: POWER8 isnan ifunc implementation.
40521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40522         POWER8 implementation.
40523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40524         Likewise.
40525         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40526         isnan implementation.
40527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40529 2014-02-27  Joey Ye  <joey.ye@arm.com>
40531         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40532         (_FP_NANFRAC_Q): Set to zero.
40534 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40536         [BZ #16623]
40537         * math/auto-libm-test-in: New test inputs.
40538         * math/auto-libm-test-out: Regenerate.
40539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40540         and DA.
40541         (__cos): Likewise.
40542         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40544 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40546         * scripts/evaluate-test.sh: Take new argument indicating whether
40547         failure is expected.
40548         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40549         indicating whether failure is expected.
40550         * conform/Makefile (test-xfail-run-conformtest): New variable.
40551         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40552         level.
40553         * posix/Makefile (test-xfail-annexc): New variable.
40554         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40556 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40558         * argp/Makefile: Include Makeconfig immediately after defining
40559         subdir.
40560         * assert/Makefile: Likewise.
40561         * benchtests/Makefile: Likewise.
40562         * catgets/Makefile: Likewise.
40563         * conform/Makefile: Likewise.
40564         * crypt/Makefile: Likewise.
40565         * csu/Makefile: Likewise.
40566         (all): Remove target.
40567         * ctype/Makefile: Include Makeconfig immediately after defining
40568         subdir.
40569         * debug/Makefile: Likewise.
40570         * dirent/Makefile: Likewise.
40571         * dlfcn/Makefile: Likewise.
40572         * gmon/Makefile: Likewise.
40573         * gnulib/Makefile: Likewise.
40574         * grp/Makefile: Likewise.
40575         * gshadow/Makefile: Likewise.
40576         * hesiod/Makefile: Likewise.
40577         * hurd/Makefile: Likewise.
40578         (all): Remove target.
40579         * iconvdata/Makefile: Include Makeconfig immediately after
40580         defining subdir.
40581         * inet/Makefile: Likewise.
40582         * intl/Makefile: Likewise.
40583         * io/Makefile: Likewise.
40584         * libio/Makefile: Likewise.
40585         (all): Remove target.
40586         * locale/Makefile: Include Makeconfig immediately after defining
40587         subdir.
40588         * login/Makefile: Likewise.
40589         * mach/Makefile: Likewise.
40590         (all): Remove target.
40591         * malloc/Makefile: Include Makeconfig immediately after defining
40592         subdir.
40593         (all): Remove target.
40594         * manual/Makefile: Include Makeconfig immediately after defining
40595         subdir.
40596         * math/Makefile: Likewise.
40597         * misc/Makefile: Likewise.
40598         * nis/Makefile: Likewise.
40599         * nss/Makefile: Likewise.
40600         * po/Makefile: Likewise.
40601         (all): Remove target.
40602         * posix/Makefile: Include Makeconfig immediately after defining
40603         subdir.
40604         * pwd/Makefile: Likewise.
40605         * resolv/Makefile: Likewise.
40606         * resource/Makefile: Likewise.
40607         * rt/Makefile: Likewise.
40608         * setjmp/Makefile: Likewise.
40609         * shadow/Makefile: Likewise.
40610         * signal/Makefile: Likewise.
40611         * socket/Makefile: Likewise.
40612         * soft-fp/Makefile: Likewise.
40613         * stdio-common/Makefile: Likewise.
40614         * stdlib/Makefile: Likewise.
40615         * streams/Makefile: Likewise.
40616         * string/Makefile: Likewise.
40617         * sunrpc/Makefile: Likewise.
40618         (all): Remove target.
40619         * sysvipc/Makefile: Include Makeconfig immediately after defining
40620         subdir.
40621         * termios/Makefile: Likewise.
40622         * time/Makefile: Likewise.
40623         * timezone/Makefile: Likewise.
40624         (all): Remove target.
40625         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40626         subdir.
40627         * wctype/Makefile: Likewise.
40629 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40631         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40632         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40633         (libc_feholdexcept_setround_mips): Ditto.
40634         (libc_feholdsetround): New.
40635         (libc_feholdsetroundf): New.
40636         (libc_feholdsetroundl): New.
40637         (libc_feupdateenv_test_mips): New.
40638         (libc_feupdateenv_test): New.
40639         (libc_feupdateenv_testf): New.
40640         (libc_feupdateenv_testl): New.
40641         (libc_feresetround): New.
40642         (libc_feresetroundf): New.
40643         (libc_feresetroundl): New.
40644         (libc_fetestexcept_mips): New.
40645         (libc_fetestexcept): New.
40646         (libc_fetestexceptf): New.
40647         (libc_fetestexceptl): New.
40648         (HAVE_RM_CTX): New.
40649         (libc_feholdexcept_setround_mips_ctx): New.
40650         (libc_feholdexcept_setround_ctx): New.
40651         (libc_feholdexcept_setroundf_ctx): New.
40652         (libc_feholdexcept_setroundl_ctx): New.
40653         (libc_fesetenv_mips_ctx): New.
40654         (libc_fesetenv_ctx): New.
40655         (libc_fesetenv_ctxf): New.
40656         (libc_fesetenv_ctxl): New.
40657         (libc_feupdateenv_mips_ctx): New.
40658         (libc_feupdateenv_ctx): New.
40659         (libc_feupdateenvf_ctx): New.
40660         (libc_feupdateenvl_ctx): New.
40661         (libc_feholdsetround_mips_ctx): New.
40662         (libc_feholdsetround_ctx): New.
40663         (libc_feholdsetroundf_ctx): New.
40664         (libc_feholdsetroundl_ctx): New.
40665         (libc_feresetround_mips_ctx): New.
40666         (libc_feresetround_ctx): New.
40667         (libc_feresetroundf_ctx): New.
40668         (libc_feresetroundl_ctx): New.
40670 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40672         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40674         * manual/ipc.texi: New file.
40675         * manual/Makefile (chapters): Add ipc.
40676         * manual/job.texi: Add "Inter-Process Communication" to next.
40677         * manual/process.texi: Add "Inter-Process Communication" to prev.
40679 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40683 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40685         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40687         * manual/arith.texi: Fix spaces after sentences.
40688         * manual/charset.texi: Likewise.
40689         * manual/errno.texi: Likewise.
40690         * manual/install.texi: Likewise.
40691         * manual/llio.texi: Likewise.
40692         * manual/locale.texi: Likewise.
40693         * manual/maint.texi: Likewise.
40694         * manual/math.texi: Likewise.
40695         * manual/memory.texi: Likewise.
40696         * manual/message.texi: Likewise.
40697         * manual/probes.texi: Likewise.
40698         * manual/resource.texi: Likewise.
40699         * manual/signal.texi: Likewise.
40700         * manual/socket.texi: Likewise.
40701         * manual/stdio.texi: Likewise.
40702         * manual/string.texi: Likewise.
40703         * manual/time.texi: Likewise.
40704         * manual/users.texi: Likewise.
40706 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40708         [BZ #16632]
40709         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40710         _DEFAULT_SOURCE is defined.
40712 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40713             Carlos O'Donell  <carlos@redhat.com>
40715         [BZ #16613]
40716         * elf/dl-tls.c (_dl_count_modids): New function.
40717         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40718         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40719         audit library and increment generation counter.
40720         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40721         * elf/tst-audit9.c: New file.
40722         * elf/tst-auditmod9a.c: New file.
40723         * elf/tst-auditmod9b.c: New file.
40724         * elf/Makefile: Add rules to build and run tst-audit9.
40726 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40728         [BZ #15347]
40729         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40731 2014-02-25  Will Newton  <will.newton@linaro.org>
40733         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40734         (__longjmp): Restore sp and lr before restoring callee
40735         saved registers.  Add longjmp and longjmp_target
40736         SystemTap probe point.
40737         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40738         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40739         Define to zero to match jmpbuf layout.
40740         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40741         (__sigsetjmp): Save sp and lr before saving callee
40742         saved registers.  Add setjmp SystemTap probe point.
40744 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40746         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40748 2014-02-24  Andreas Schwab  <schwab@suse.de>
40750         [BZ #15804]
40751         * elf/pldd.c (wait_for_ptrace_stop): New function.
40752         (main): Call it after attaching.
40754 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40756         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40757         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40758         Versions files is now verboten.
40759         * hurd/Versions (libc: GLIBC_2.0):
40760         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40761         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40762         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40763         * mach/Versions: Likewise.
40765         * csu/Versions: Remove unused %include.
40766         * resolv/Versions: Likewise.
40768 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40770         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40771         ($(objpfx)check-local-headers.out): Likewise.
40772         ($(objpfx)begin-end-check.out): Likewise.
40773         * Makerules (check-abi-%.out): Likewise.
40774         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40775         ($(objpfx)test2.cat): Likewise.
40776         ($(objpfx)de/libc.cat): Likewise.
40777         ($(objpfx)test-gencat.out): Likewise.
40778         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40779         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40780         ($(objpfx)noload-mem): Likewise.
40781         ($(objpfx)tst-pathopt.out): Likewise.
40782         ($(objpfx)tst-rtld-load-self.out): Likewise.
40783         ($(objpfx)tst-array1-cmp.out): Likewise.
40784         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40785         ($(objpfx)tst-array2-cmp.out): Likewise.
40786         ($(objpfx)tst-array3-cmp.out): Likewise.
40787         ($(objpfx)tst-array4-cmp.out): Likewise.
40788         ($(objpfx)tst-array5-cmp.out): Likewise.
40789         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40790         ($(objpfx)check-textrel.out): Likewise.
40791         ($(objpfx)check-execstack.out): Likewise.
40792         ($(objpfx)check-localplt.out): Likewise.
40793         ($(objpfx)order2-cmp.out): Likewise.
40794         ($(objpfx)tst-leaks1-mem): Likewise.
40795         ($(objpfx)tst-leaks1-static-mem): Likewise.
40796         ($(objpfx)tst-initorder-cmp.out): Likewise.
40797         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40798         ($(objpfx)tst-unused-dep.out): Likewise.
40799         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40800         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40801         * iconv/Makefile (test-iconvconfig): Likewise.
40802         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40803         ($(objpfx)iconv-test.out): Likewise.
40804         ($(objpfx)tst-tables.out): Likewise.
40805         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40806         ($(objpfx)tst-gettext.out): Likewise.
40807         ($(objpfx)tst-translit.out): Likewise.
40808         ($(objpfx)tst-gettext2.out): Likewise.
40809         ($(objpfx)tst-gettext4.out): Likewise.
40810         ($(objpfx)tst-gettext6.out): Likewise.
40811         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40812         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40813         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40814         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40816         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40817         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40818         ($(objpfx)wordexp-tst.out): Likewise.
40819         ($(objpfx)annexc.out): Likewise.
40820         ($(objpfx)tst-fnmatch-mem): Likewise.
40821         ($(objpfx)bug-regex2-mem): Likewise.
40822         ($(objpfx)bug-regex14-mem): Likewise.
40823         ($(objpfx)bug-regex21-mem): Likewise.
40824         ($(objpfx)bug-regex31-mem): Likewise.
40825         ($(objpfx)tst-vfork3-mem): Likewise.
40826         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40827         ($(objpfx)tst-pcre-mem): Likewise.
40828         ($(objpfx)tst-boost-mem): Likewise.
40829         ($(objpfx)tst-getconf.out): Likewise.
40830         ($(objpfx)bug-ga2-mem): Likewise.
40831         ($(objpfx)bug-glob2-mem): Likewise.
40832         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40833         ($(objpfx)mtrace-tst-leaks2): Likewise.
40834         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40835         ($(objpfx)tst-printf.out): Likewise.
40836         ($(objpfx)tst-setvbuf1.out): Likewise.
40837         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40838         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40839         ($(objpfx)tst-fmtmsg.out): Likewise.
40840         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40841         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40843         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40844         * bits/sigaction.h [__USE_MISC]: Likewise.
40845         * bits/waitstatus.h: Update #endif comments.
40846         * ctype/ctype.h: Likewise.
40847         * dirent/dirent.h: Likewise.
40848         [__USE_MISC]: Remove redundant conditionals.
40849         * grp/grp.h: Update #endif comments.
40850         [__USE_GNU]: Remove redundant conditionals.
40851         [__USE_MISC]: Likewise.
40852         * inet/netinet/in.h [__USE_GNU]: Likewise.
40853         * io/sys/stat.h [__USE_MISC]: Likewise.
40854         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40855         * libio/bits/stdio.h: Update #endif comments.
40856         [__USE_MISC]: Remove redundant conditionals.
40857         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40858         * libio/stdio.h: Update #endif comments.
40859         [__USE_MISC]: Remove redundant conditionals.
40860         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40861         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40862         * math/math.h: Update #else and #endif comments.
40863         [__USE_MISC]: Remove redundant conditionals.
40864         * misc/sys/uio.h: Update #endif comments.
40865         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40866         * posix/glob.h [__USE_MISC]: Likewise.
40867         * posix/sys/types.h: Update #endif comments.
40868         [__USE_MISC]: Remove redundant conditionals.
40869         * posix/sys/wait.h: Update #endif comments.
40870         [__USE_MISC]: Remove redundant conditionals.
40871         * posix/unistd.h: Update #endif comments.
40872         [__USE_MISC]: Remove redundant conditionals.
40873         * pwd/pwd.h [__USE_GNU]: Likewise.
40874         [__USE_MISC]: Likewise.
40875         * resolv/netdb.h [__USE_GNU]: Likewise.
40876         * signal/signal.h: Update #endif comments.
40877         [__USE_MISC]: Remove redundant conditionals.
40878         * stdlib/stdlib.h: Update #else and #endif comments.
40879         [__USE_MISC]: Remove redundant conditionals.
40880         [__USE_GNU]: Likewise.
40881         * string/bits/string2.h [__USE_MISC]: Likewise.
40882         * string/string.h: Update #endif comments.
40883         [__USE_MISC]: Remove redundant conditionals.
40884         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40885         Likewise.
40886         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40887         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40888         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40889         Likewise.
40890         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40891         Likewise.
40892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40893         comments.
40894         [__USE_MISC]: Remove redundant conditionals.
40895         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40896         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40897         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40898         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40899         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40900         Likewise.
40901         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40902         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40903         Likewise.
40904         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40905         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40906         Likewise.
40907         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40908         Likewise.
40909         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40910         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40911         Likewise.
40912         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40913         Likewise.
40914         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40915         * sysdeps/x86/bits/string.h: Update #endif comments.
40916         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40917         conditionals.
40918         * time/sys/time.h: Update #endif comments.
40919         * time/time.h: Likewise.
40920         [__USE_MISC]: Remove redundant conditionals.
40922 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40924         [BZ #16600]
40925         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40927 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40929         * Versions.def (librt): Add GLIBC_2.17.
40931 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40933         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40934         synonym for _SYS_AUXV_H to allow direct inclusion.
40935         * sysdeps/sparc/bits/hwcap.h: Likewise.
40936         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40937         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40938         * sysdeps/sparc/sysdep.h: Likewise.
40940 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40942         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40944 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40946         * benchtests/bench-strrchr.c: Print length instead of position.
40948 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40950         [BZ #16611]
40951         * sysdeps/unix/sysv/linux/kernel-features.h
40952         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40953         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40954         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40955         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40956         Likewise.
40957         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40958         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40959         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40960         (__ASSUME_SENDMMSG): Define instead of using previous
40961         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40962         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40963         (__ASSUME_SENDMMSG_SYSCALL): Define.
40964         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40965         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40966         Likewise.
40967         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40968         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40969         Likewise.
40970         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40971         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40972         Likewise.
40973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40974         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40975         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40976         [__ASSUME_SENDMMSG]: Change conditionals to
40977         [__ASSUME_SENDMMSG_SOCKETCALL].
40978         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40979         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40980         Define.
40981         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40982         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40983         Likewise.
40984         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40985         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40986         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40987         [!__ASSUME_SENDMMSG]: Change conditional to
40988         [!__ASSUME_SENDMMSG_SOCKETCALL].
40989         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40990         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40991         Define.
40993         [BZ #16610]
40994         * sysdeps/unix/sysv/linux/kernel-features.h
40995         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40996         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40997         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40998         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40999         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41000         [__i386__ || __sparc__]
41001         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41002         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41003         (__ASSUME_RECVMMSG): Define instead of using previous
41004         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41005         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41006         (__ASSUME_RECVMMSG_SYSCALL): Define.
41007         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41008         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41009         Likewise.
41010         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41011         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41012         Likewise.
41013         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41015         Likewise.
41016         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41017         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41018         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41019         [__ASSUME_RECVMMSG]: Change condition to
41020         [__ASSUME_RECVMMSG_SOCKETCALL].
41021         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41023         Define.
41024         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41025         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41026         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41027         Likewise.
41028         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41029         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41030         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41031         [!__ASSUME_RECVMMSG]: Change condition to
41032         [!__ASSUME_RECVMMSG_SOCKETCALL].
41033         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41034         (__ASSUME_RECVMMSG_SYSCALL): Define.
41036         [BZ #16609]
41037         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41038         __powerpc__ || __s390__ || __sh__ || __sparc__]
41039         (__ASSUME_SOCKETCALL): Define.
41040         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41041         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41042         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41043         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41044         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41045         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41046         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41047         (__ASSUME_ACCEPT4): Define instead of using previous
41048         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41049         __powerpc__ || __sparc__ || __s390__)] condition.
41050         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41051         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41052         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41053         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41054         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41055         [!__ASSUME_ACCEPT4]: Change condition to
41056         [!__ASSUME_ACCEPT4_SOCKETCALL].
41057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41058         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41059         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41061         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41062         __ASSUME_ACCEPT4_SYSCALL.
41063         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41064         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41065         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41066         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41067         __ASSUME_ACCEPT4_SYSCALL.
41068         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41069         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41070         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41071         [__ASSUME_ACCEPT4]: Change condition to
41072         [__ASSUME_ACCEPT4_SOCKETCALL].
41073         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41074         (__ASSUME_SOCKETCALL): Define.
41075         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41077         (__ASSUME_SOCKETCALL): Define.
41078         (__ASSUME_ACCEPT4): Remove.
41079         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41080         Define.
41081         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41082         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41083         Likewise.
41084         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41085         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41087         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41088         macro.
41089         (HWCAP_ARM_LPAE): Likewise.
41090         (HWCAP_ARM_EVTSTRM): Likewise.
41091         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41092         Add vpfd32, lpae and evtstrm.
41093         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41094         Increase to 22.
41096 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41098         * math/auto-libm-test-in: Add tests of clog10.
41099         * math/auto-libm-test-out: Regenerated.
41100         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41101         * sysdeps/i386/fpu/libm-test-ulps: Update.
41102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41104 2014-02-18  Andreas Schwab  <schwab@suse.de>
41106         [BZ #16574]
41107         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41108         Store non-zero if the second buffer was newly allocated.
41109         (send_dg): Likewise.
41110         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41111         to send_vc and send_dg.
41112         (res_nsend): Pass NULL for ansp2_malloced.
41113         * resolv/res_query.c (__libc_res_nquery): Add parameter
41114         answerp2_malloced and pass it down to __libc_res_nsend.
41115         (res_nquery): Pass additional NULL to __libc_res_nquery.
41116         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41117         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41118         second answer buffer if answerp2_malloced was set.
41119         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41120         (__libc_res_nquerydomain): Add parameter
41121         answerp2_malloced and pass it down to __libc_res_nquery.
41122         (res_nquerydomain): Pass additional NULL to
41123         __libc_res_nquerydomain.
41124         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41125         additional NULL to __libc_res_nsend and __libc_res_nquery.
41126         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41127         additional NULL to __libc_res_nsearch.
41128         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41129         parameter of __libc_res_nsearch to check for separately allocated
41130         second buffer.
41131         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41132         __libc_res_nquery.
41133         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41134         additional NULL to __libc_res_nquery.
41135         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41136         __libc_res_nsearch.
41137         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41138         * include/resolv.h: Update prototypes of __libc_res_nquery,
41139         __libc_res_nsearch, __libc_res_nsend.
41141 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41143         * math/auto-libm-test-in: Add tests of fma.
41144         * math/auto-libm-test-out: Regenerated.
41145         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41146         (fma_towardzero_test_data): Likewise.
41147         (fma_downward_test_data): Likewise.
41148         (fma_upward_test_data): Likewise.
41149         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41150         mpc_mode.
41151         (rounding_modes): Add values for new field.
41152         (func_calc_method): Add value mpfr_fff_f.
41153         (func_calc_desc): Add mpfr_fff_f union field.
41154         (test_function): Add field exact_args.
41155         (FUNC): Add macro argument EXACT_ARGS.
41156         (FUNC_mpfr_f_f): Update call to FUNC.
41157         (FUNC_mpfr_f_f): Likewise.
41158         (FUNC_mpfr_ff_f): Likewise.
41159         (FUNC_mpfr_if_f): Likewise.
41160         (FUNC_mpc_c_f): Likewise.
41161         (FUNC_mpc_c_c): Likewise.
41162         (test_functions): Add fma.  Update calls to FUNC.
41163         (handle_input_arg): Add argument exact_args.
41164         (add_test): Update call to handle_input_arg.
41165         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41166         (output_for_one_input_case): Update call to calc_generic_results.
41167         Recalculate exact zero results in each rounding mode.
41169         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41170         non-negative before setting low bit.
41171         * math/auto-libm-test-in: Mark one asin test possibly having
41172         spurious underflow.
41173         * math/auto-libm-test-out: Regenerated.
41174         * sysdeps/i386/fpu/libm-test-ulps: Update.
41175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41177 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41179         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41180         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41181         ports/sysdeps/unix/sysv/linux/microblaze.
41182         * README: Add missing listing for microblaze*-*-linux-gnu.
41184 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41186         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41187         duplicate code
41189 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41191         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41192         * sysdeps/unix/sysv/linux/ia64: Move directory from
41193         ports/sysdeps/unix/sysv/linux/ia64.
41194         * README: Update listing for ia64-*-linux-gnu.
41196 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41197             Joseph Myers  <joseph@codesourcery.com>
41199         * Makeconfig (test-name): New variable.
41200         (evaluate-test): Likewise.
41201         * Makerules (do-test-clean): Remove .test-result files.
41202         (common-mostlyclean): Likewise.
41203         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41204         * scripts/evaluate-test.sh: New file.
41206 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41208         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41209         separate $(objpfx)tst-fopenloc-cmp.out and
41210         $(objpfx)tst-fopenloc-mem.out targets.
41211         (tests): Update dependencies.
41212         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41213         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41214         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41215         (tst-rxspencer-no-utf8-ARGS): New variable.
41216         (tst-rxspencer-no-utf8-ENV): Likewise.
41217         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41218         instead of $(objpfx)tst-rxspencer-mem.
41219         ($(objpfx)tst-rxspencer-mem): Change target to
41220         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41221         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41222         * posix/tst-rxspencer-no-utf8.c: New file.
41224         * elf/Makefile ($(objpfx)order.out): Remove rule.
41225         [$(run-built-tests) = yes] (tests): Depend on
41226         $(objpfx)order-cmp.out.
41227         ($(objpfx)order-cmp.out): New rule.
41228         [$(run-built-tests) = yes] (tests): Depend on
41229         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41230         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41231         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41232         $(objpfx)tst-array5-static-cmp.out.
41233         ($(objpfx)tst-array1.out): Remove rule.
41234         ($(objpfx)tst-array1-cmp.out): New rule.
41235         ($(objpfx)tst-array1-static.out): Remove rule.
41236         ($(objpfx)tst-array1-static-cmp.out): New rule.
41237         ($(objpfx)tst-array2.out): Remove rule.
41238         ($(objpfx)tst-array2-cmp.out): New rule.
41239         ($(objpfx)tst-array3.out): Remove rule.
41240         ($(objpfx)tst-array3-cmp.out): New rule.
41241         ($(objpfx)tst-array4.out): Remove rule.
41242         ($(objpfx)tst-array4-cmp.out): New rule.
41243         ($(objpfx)tst-array5.out): Remove rule.
41244         ($(objpfx)tst-array5-cmp.out): New rule.
41245         ($(objpfx)tst-array5-static.out): Remove rule.
41246         ($(objpfx)tst-array5-static-cmp.out): New rule.
41247         [$(run-built-tests) = yes] (tests): Depend on
41248         $(objpfx)order2-cmp.out.
41249         ($(objpfx)order2.out): Remove rule.
41250         ($(objpfx)order2-cmp.out): New rule.
41251         ($(objpfx)tst-initorder.out): Remove rule.
41252         [$(run-built-tests) = yes] (tests): Depend on
41253         $(objpfx)tst-initorder-cmp.out.
41254         ($(objpfx)tst-initorder-cmp.out): New rule.
41255         ($(objpfx)tst-initorder2.out): Remove rule.
41256         [$(run-built-tests) = yes] (tests): Depend on
41257         $(objpfx)tst-initorder2-cmp.out.
41258         ($(objpfx)tst-initorder2-cmp.out): New rule.
41259         [$(run-built-tests) = yes] (tests): Depend on
41260         $(objpfx)tst-unused-dep-cmp.out.
41261         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41262         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41263         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41264         on $(objpfx)tst-setvbuf1-cmp.out.
41265         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41266         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41267         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41268         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41269         ($(objpfx)tst-svc.out): Remove rule.
41270         ($(objpfx)tst-svc-cmp.out): New rule.
41272 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41274         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41275         * ctype/ctype.h [__USE_MISC]: Likewise.
41276         * dirent/dirent.h [__USE_MISC]: Likewise.
41277         * grp/grp.h [__USE_MISC]: Likewise.
41278         * io/fcntl.h [__USE_MISC]: Likewise.
41279         * io/sys/stat.h [__USE_MISC]: Likewise.
41280         * libio/stdio.h [__USE_MISC]: Likewise.
41281         * posix/unistd.h [__USE_MISC]: Likewise.
41282         * pwd/pwd.h [__USE_MISC]: Likewise.
41283         * stdlib.h [__USE_MISC]: Likewise.
41284         * string/bits/string2.h [__USE_MISC]: Likewise.
41285         * string/string.h [__USE_MISC]: Likewise.
41286         * time/time.h [__USE_MISC]: Likewise.
41288 2014-02-13  Andreas Schwab  <schwab@suse.de>
41290         [BZ #16574]
41291         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41292         second answer buffer if it was separately allocated.
41294 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41296         * sysdeps/mips/math-tests.h: Include <features.h>.
41297         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41298         (ROUNDING_TESTS_long_double): Do not define.
41299         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41300         (EXCEPTION_TESTS_long_double): Likewise.
41301         * sysdeps/mips/mips64/libm-test-ulps: Update.
41303         * include/features.h (__USE_BSD): Remove macro definitions.
41304         (__USE_SVID): Likewise.
41305         (_BSD_SOURCE): Likewise.
41306         (_SVID_SOURCE): Likewise.
41307         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41308         from definition of _DEFAULT_SOURCE.
41309         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41310         [_DEFAULT_SOURCE].
41311         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41312         * bits/mman.h [__USE_BSD]: Likewise.
41313         * bits/termios.h [__USE_BSD]: Likewise.
41314         * bits/waitstatus.h [__USE_BSD]: Likewise.
41315         * ctype/ctype.h [__USE_SVID]: Likewise.
41316         * dirent/dirent.h [__USE_BSD]: Likewise.
41317         * grp/grp.h [__USE_SVID]: Likewise.
41318         [__USE_BSD]: Likewise.
41319         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41320         * io/fcntl.h [__USE_BSD]: Likewise.
41321         * io/ftw.h [__USE_BSD]: Likewise.
41322         * io/sys/stat.h [__USE_BSD]: Likewise.
41323         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41324         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41325         * libio/stdio.h [__USE_SVID]: Likewise.
41326         [__USE_BSD]: Likewise.
41327         * math/math.h [__USE_SVID]: Likewise.
41328         [__USE_BSD]: Likewise.
41329         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41330         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41331         * misc/search.h [__USE_SVID]: Likewise.
41332         * misc/sys/mman.h [__USE_BSD]: Likewise.
41333         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41334         * misc/sys/uio.h [__USE_BSD]: Likewise.
41335         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41336         * posix/glob.h [__USE_BSD]: Likewise.
41337         * posix/regex.h [__USE_BSD]: Likewise.
41338         * posix/sys/types.h [__USE_BSD]: Likewise.
41339         [__USE_SVID]: Likewise.
41340         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41341         * posix/sys/wait.h [__USE_BSD]: Likewise.
41342         [__USE_SVID]: Likewise.
41343         * posix/unistd.h [__USE_BSD]: Likewise.
41344         [__USE_SVID]: Likewise.
41345         * pwd/pwd.h [__USE_SVID]: Likewise.
41346         * resolv/netdb.h [__USE_BSD]: Likewise.
41347         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41348         * signal/signal.h [__USE_BSD]: Likewise.
41349         [__USE_SVID]: Likewise.
41350         * socket/sys/socket.h [__USE_BSD]: Likewise.
41351         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41352         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41353         [__USE_SVID]: Likewise.
41354         * string/bits/string2.h [__USE_BSD]: Likewise.
41355         [__USE_SVID]: Likewise.
41356         * string/bits/string3.h [__USE_BSD]: Likewise.
41357         * string/endian.h [__USE_BSD]: Likewise.
41358         * string/string.h [__USE_SVID]: Likewise.
41359         [__USE_BSD]: Likewise.
41360         * string/strings.h [__USE_BSD]: Likewise.
41361         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41362         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41363         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41364         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41365         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41366         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41367         Likewise.
41368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41369         Likewise.
41370         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41371         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41372         Likewise.
41373         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41374         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41375         Likewise.
41376         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41377         Likewise.
41378         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41379         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41380         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41381         Likewise.
41382         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41383         Likewise.
41384         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41385         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41386         * termios/termios.h [__USE_BSD]: Likewise.
41387         * time/sys/time.h [__USE_BSD]: Likewise.
41388         * time/time.h [__USE_BSD]: Likewise.
41389         [__USE_SVID]: Likewise.
41391         * Makefile (subdir_targets): Remove subdir_lint.out.
41393         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41394         (do-tst-printf): Likewise.
41395         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41396         $(objpfx)tst-printf.out.
41398         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41400         * Makerules (check-abi-%): Change target to
41401         $(objpfx)check-abi-%.out.
41402         (check-abi target): Update dependencies.
41403         (check-abi-pattern variable): Redirect output of diff to $@.
41404         (check-abi variable): Likewise.
41405         * elf/Makefile (check-abi): Update dependencies.
41407         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41408         unused.
41409         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41410         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41411         subnormal range.
41412         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41413         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41414         value has largest subnormal exponent.
41415         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41416         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41417         * sysdeps/aarch64/soft-fp/sfp-machine.h
41418         (_FP_TININESS_AFTER_ROUNDING): New macro.
41419         * sysdeps/alpha/soft-fp/sfp-machine.h
41420         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41421         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41422         Likewise.
41423         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41424         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41425         * sysdeps/mips/soft-fp/sfp-machine.h
41426         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41427         * sysdeps/powerpc/soft-fp/sfp-machine.h
41428         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41429         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41430         Likewise.
41431         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41433         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41434         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41435         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41436         Likewise.
41438 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41440         [BZ #16545]
41441         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41442         model 1.
41444 2014-02-12  Richard Henderson  <rth@redhat.com>
41446         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41447         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41448         * sysdeps/unix/sysv/linux/alpha: Move directory from
41449         ports/sysdeps/unix/sysv/linux/alpha.
41450         * README: Update listing for alpha-*-linux-gnu.
41452 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41454         * include/features.h: Update comment documenting feature test
41455         macros.
41456         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41457         _DEFAULT_SOURCE.
41458         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41459         (_SVID_SOURCE): Likewise.
41460         (_DEFAULT_SOURCE): Update description of default features.
41461         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41462         with _GNU_SOURCE.
41463         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41464         (S_ISVTX): Likewise.
41465         * manual/math.texi (Mathematical Constants): Likewise.
41466         * manual/signal.texi (Interrupted Primitives): Likewise.
41467         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41468         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41469         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41470         Don't refer to _SVID_SOURCE in warning text.
41472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41474         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41475         already defined.
41476         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41477         * sysdeps/mips/dl-lookup.c: Remove.
41478         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41480 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41482         [BZ #16447]
41483         * math/auto-libm-test-in: Add testcase for expl.
41484         * math/auto-libm-test-out: Regenerate.
41485         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41486         calculation of unsafe.
41487         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41489 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41491         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41492         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41493         ports/sysdeps/unix/sysv/linux/aarch64.
41494         * README: Update listing for aarch64*-*-linux-gnu.
41496 2014-02-11  Will Newton  <will.newton@linaro.org>
41498         * manual/probes.texi (Mathematical Function Probes): Use
41499         "triggered" instead of "hit".
41501         * manual/probes.texi (Internal Probes): Add documentation
41502         of setjmp, longjmp and longjmp_target probes.
41504         * include/stap-probe.h: Add comment about probe argument
41505         format.
41507         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41508         definition.  (tr_where, tr_freehook, tr_mallochook,
41509         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41511 2014-02-11  David S. Miller  <davem@davemloft.net>
41513         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41514         processing int_tests.
41516 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41518         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41519         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41520         * sysdeps/unix/sysv/linux/mips: Move directory from
41521         ports/sysdeps/unix/sysv/linux/mips.
41522         * README: Update listing for mips-*-linux-gnu and
41523         mips64-*-linux-gnu.
41525 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41527         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41528         * sysdeps/unix/sysv/linux/m68k: Move directory from
41529         ports/sysdeps/unix/sysv/linux/m68k.
41530         * README: Update listing for m68k-*-linux-gnu.
41532 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41534         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41535         * sysdeps/unix/sysv/linux/generic: Move directory from
41536         ports/sysdeps/unix/sysv/linux/generic.
41537         * sysdeps/unix/sysv/linux/tile: Move directory from
41538         ports/sysdeps/unix/sysv/linux/tile.
41539         * README: Update listing for tile*-*-linux-gnu.
41541 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41543         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41544         __builtin_expect.
41545         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41546         * catgets/open_catalog.c (__open_catalog): Likewise.
41547         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41548         * debug/confstr_chk.c: Likewise.
41549         * debug/fread_chk.c (__fread_chk): Likewise.
41550         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41551         * debug/getgroups_chk.c: Likewise.
41552         * debug/mbsnrtowcs_chk.c: Likewise.
41553         * debug/mbsrtowcs_chk.c: Likewise.
41554         * debug/mbstowcs_chk.c: Likewise.
41555         * debug/memcpy_chk.c: Likewise.
41556         * debug/memmove_chk.c: Likewise.
41557         * debug/mempcpy_chk.c: Likewise.
41558         * debug/memset_chk.c: Likewise.
41559         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41560         * debug/strcat_chk.c (__strcat_chk): Likewise.
41561         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41562         * debug/strncat_chk.c (__strncat_chk): Likewise.
41563         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41564         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41565         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41566         * debug/wcpncpy_chk.c: Likewise.
41567         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41568         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41569         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41570         * debug/wcsncpy_chk.c: Likewise.
41571         * debug/wcsnrtombs_chk.c: Likewise.
41572         * debug/wcsrtombs_chk.c: Likewise.
41573         * debug/wcstombs_chk.c: Likewise.
41574         * debug/wmemcpy_chk.c: Likewise.
41575         * debug/wmemmove_chk.c: Likewise.
41576         * debug/wmempcpy_chk.c: Likewise.
41577         * debug/wmemset_chk.c: Likewise.
41578         * dirent/scandirat.c (SCANDIRAT): Likewise.
41579         * dlfcn/dladdr1.c (dladdr1): Likewise.
41580         * dlfcn/dladdr.c (dladdr): Likewise.
41581         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41582         * dlfcn/dlerror.c (__dlerror): Likewise.
41583         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41584         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41585         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41586         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41587         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41588         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41589         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41590         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41591         Likewise.
41592         * elf/dl-conflict.c: Likewise.
41593         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41594         * elf/dl-dst.h: Likewise.
41595         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41596         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41597         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41598         * elf/dl-init.c (call_init, _dl_init): Likewise.
41599         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41600         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41601         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41602         Likewise.
41603         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41604         Likewise.
41605         * elf/dl-minimal.c (__libc_memalign): Likewise.
41606         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41607         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41608         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41609         * elf/dl-sym.c (do_sym): Likewise.
41610         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41611         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41612         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41613         * elf/dl-writev.h (_dl_writev): Likewise.
41614         * elf/ldconfig.c (search_dir): Likewise.
41615         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41616         (dl_main): Likewise.
41617         * elf/setup-vdso.h (setup_vdso): Likewise.
41618         * grp/compat-initgroups.c (compat_call): Likewise.
41619         * grp/fgetgrent.c (fgetgrent): Likewise.
41620         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41621         * grp/putgrent.c (putgrent): Likewise.
41622         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41623         Likewise.
41624         * hurd/hurdinit.c: Likewise.
41625         * iconvdata/8bit-gap.c (struct): Likewise.
41626         * iconvdata/ansi_x3.110.c : Likewise.
41627         * iconvdata/big5.c : Likewise.
41628         * iconvdata/big5hkscs.c : Likewise.
41629         * iconvdata/cp1255.c: Likewise.
41630         * iconvdata/cp1258.c : Likewise.
41631         * iconvdata/cp932.c : Likewise.
41632         * iconvdata/euc-cn.c: Likewise.
41633         * iconvdata/euc-jisx0213.c : Likewise.
41634         * iconvdata/euc-jp.c: Likewise.
41635         * iconvdata/euc-jp-ms.c : Likewise.
41636         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41637         * iconvdata/gb18030.c : Likewise.
41638         * iconvdata/gbbig5.c (const): Likewise.
41639         * iconvdata/gbgbk.c: Likewise.
41640         * iconvdata/gbk.c : Likewise.
41641         * iconvdata/ibm1364.c : Likewise.
41642         * iconvdata/ibm930.c : Likewise.
41643         * iconvdata/ibm932.c: Likewise.
41644         * iconvdata/ibm933.c : Likewise.
41645         * iconvdata/ibm935.c : Likewise.
41646         * iconvdata/ibm937.c : Likewise.
41647         * iconvdata/ibm939.c : Likewise.
41648         * iconvdata/ibm943.c: Likewise.
41649         * iconvdata/iso_11548-1.c: Likewise.
41650         * iconvdata/iso-2022-cn.c : Likewise.
41651         * iconvdata/iso-2022-cn-ext.c : Likewise.
41652         * iconvdata/iso-2022-jp-3.c: Likewise.
41653         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41654         * iconvdata/iso-2022-kr.c : Likewise.
41655         * iconvdata/iso646.c (gconv_end): Likewise.
41656         * iconvdata/iso_6937-2.c : Likewise.
41657         * iconvdata/iso_6937.c : Likewise.
41658         * iconvdata/iso8859-1.c: Likewise.
41659         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41660         * iconvdata/shift_jisx0213.c : Likewise.
41661         * iconvdata/sjis.c : Likewise.
41662         * iconvdata/t.61.c : Likewise.
41663         * iconvdata/tcvn5712-1.c : Likewise.
41664         * iconvdata/tscii.c: Likewise.
41665         * iconvdata/uhc.c : Likewise.
41666         * iconvdata/unicode.c (gconv_end): Likewise.
41667         * iconvdata/utf-16.c (gconv_end): Likewise.
41668         * iconvdata/utf-32.c (gconv_end): Likewise.
41669         * iconvdata/utf-7.c (base64): Likewise.
41670         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41671         * iconv/gconv_close.c (__gconv_close): Likewise.
41672         * iconv/gconv_open.c (__gconv_open): Likewise.
41673         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41674         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41675         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41676         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41677         (ucs4le_internal_loop_single): Likewise.
41678         * iconv/iconv.c (iconv): Likewise.
41679         * iconv/iconv_close.c: Likewise.
41680         * iconv/loop.c (SINGLE): Likewise.
41681         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41682         * include/atomic.h: Likewise.
41683         * inet/inet6_option.c (option_alloc): Likewise.
41684         * intl/bindtextdom.c (set_binding_values): Likewise.
41685         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41686         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41687         * intl/localealias.c (read_alias_file): Likewise.
41688         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41689         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41690         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41691         * libio/fmemopen.c (fmemopen): Likewise.
41692         * libio/iofgets.c (_IO_fgets): Likewise.
41693         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41694         * libio/iofgetws.c (fgetws): Likewise.
41695         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41696         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41697         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41698         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41699         * locale/findlocale.c (_nl_find_locale): Likewise.
41700         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41701         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41702         Likewise.
41703         * locale/setlocale.c (setlocale): Likewise.
41704         * login/programs/pt_chown.c (main): Likewise.
41705         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41706         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41707         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41708         (mmap, mmap64, mremap, munmap): Likewise.
41709         * math/e_exp2l.c: Likewise.
41710         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41711         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41712         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41713         * math/s_catan.c (__catan): Likewise.
41714         * math/s_catanf.c (__catanf): Likewise.
41715         * math/s_catanh.c (__catanh): Likewise.
41716         * math/s_catanhf.c (__catanhf): Likewise.
41717         * math/s_catanhl.c (__catanhl): Likewise.
41718         * math/s_catanl.c (__catanl): Likewise.
41719         * math/s_ccosh.c (__ccosh): Likewise.
41720         * math/s_ccoshf.c (__ccoshf): Likewise.
41721         * math/s_ccoshl.c (__ccoshl): Likewise.
41722         * math/s_cexp.c (__cexp): Likewise.
41723         * math/s_cexpf.c (__cexpf): Likewise.
41724         * math/s_cexpl.c (__cexpl): Likewise.
41725         * math/s_clog10.c (__clog10): Likewise.
41726         * math/s_clog10f.c (__clog10f): Likewise.
41727         * math/s_clog10l.c (__clog10l): Likewise.
41728         * math/s_clog.c (__clog): Likewise.
41729         * math/s_clogf.c (__clogf): Likewise.
41730         * math/s_clogl.c (__clogl): Likewise.
41731         * math/s_csin.c (__csin): Likewise.
41732         * math/s_csinf.c (__csinf): Likewise.
41733         * math/s_csinh.c (__csinh): Likewise.
41734         * math/s_csinhf.c (__csinhf): Likewise.
41735         * math/s_csinhl.c (__csinhl): Likewise.
41736         * math/s_csinl.c (__csinl): Likewise.
41737         * math/s_csqrt.c (__csqrt): Likewise.
41738         * math/s_csqrtf.c (__csqrtf): Likewise.
41739         * math/s_csqrtl.c (__csqrtl): Likewise.
41740         * math/s_ctan.c (__ctan): Likewise.
41741         * math/s_ctanf.c (__ctanf): Likewise.
41742         * math/s_ctanh.c (__ctanh): Likewise.
41743         * math/s_ctanhf.c (__ctanhf): Likewise.
41744         * math/s_ctanhl.c (__ctanhl): Likewise.
41745         * math/s_ctanl.c (__ctanl): Likewise.
41746         * math/w_pow.c: Likewise.
41747         * math/w_powf.c: Likewise.
41748         * math/w_powl.c: Likewise.
41749         * math/w_scalb.c (sysv_scalb): Likewise.
41750         * math/w_scalbf.c (sysv_scalbf): Likewise.
41751         * math/w_scalbl.c (sysv_scalbl): Likewise.
41752         * misc/error.c (error_tail): Likewise.
41753         * misc/pselect.c (__pselect): Likewise.
41754         * nis/nis_callback.c (__nis_create_callback): Likewise.
41755         * nis/nis_call.c (__nisfind_server): Likewise.
41756         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41757         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41758         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41759         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41760         * nis/nis_lookup.c (nis_lookup): Likewise.
41761         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41762         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41763         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41764         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41765         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41766         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41767         * nis/nss_compat/compat-initgroups.c (add_group)
41768         (internal_getgrent_r): Likewise.
41769         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41770         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41771         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41772         (internal_getspnam_r): Likewise.
41773         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41774         (_nss_nis_getaliasbyname_r): Likewise.
41775         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41776         (_nss_nis_getntohost_r): Likewise.
41777         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41778         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41779         (_nss_nis_getgrgid_r): Likewise.
41780         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41781         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41782         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41783         (_nss_nis_gethostbyname4_r): Likewise.
41784         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41785         (initgroups_netid): Likewise.
41786         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41787         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41788         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41789         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41790         (_nss_nis_getprotobynumber_r): Likewise.
41791         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41792         (_nss_nis_getsecretkey): Likewise.
41793         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41794         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41795         (_nss_nis_getpwuid_r): Likewise.
41796         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41797         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41798         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41799         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41800         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41801         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41802         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41803         Likewise.
41804         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41805         (_nss_nisplus_getntohost_r): Likewise.
41806         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41807         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41808         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41809         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41810         Likewise.
41811         * nis/nss_nisplus/nisplus-initgroups.c
41812         (_nss_nisplus_initgroups_dyn): Likewise.
41813         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41814         (_nss_nisplus_getnetbyaddr_r): Likewise.
41815         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41816         (_nss_nisplus_getprotobynumber_r): Likewise.
41817         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41818         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41819         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41820         Likewise.
41821         * nis/nss_nisplus/nisplus-service.c
41822         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41823         (_nss_nisplus_getservbyport_r): Likewise.
41824         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41825         (_nss_nisplus_getspnam_r): Likewise.
41826         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41827         Likewise.
41828         * nscd/aicache.c (addhstaiX): Likewise.
41829         * nscd/cache.c (cache_search, prune_cache): Likewise.
41830         * nscd/connections.c (register_traced_file, send_ro_fd)
41831         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41832         (main_loop_epoll): Likewise.
41833         * nscd/grpcache.c (addgrbyX): Likewise.
41834         * nscd/hstcache.c (addhstbyX): Likewise.
41835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41836         * nscd/mem.c (gc, mempool_alloc): Likewise.
41837         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41838         (addinnetgrX): Likewise.
41839         * nscd/nscd-client.h (__nscd_acquire_maplock)
41840         (__nscd_drop_map_ref): Likewise.
41841         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41842         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41843         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41844         Likewise.
41845         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41846         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41847         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41848         (__nscd_get_map_ref): Likewise.
41849         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41850         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41851         Likewise.
41852         * nscd/pwdcache.c (addpwbyX): Likewise.
41853         * nscd/selinux.c (preserve_capabilities): Likewise.
41854         * nscd/servicescache.c (addservbyX): Likewise.
41855         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41856         * posix/fnmatch.c (fnmatch): Likewise.
41857         * posix/getopt.c (_getopt_internal_r): Likewise.
41858         * posix/glob.c (glob, glob_in_dir): Likewise.
41859         * posix/wordexp.c (exec_comm_child): Likewise.
41860         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41861         (getanswer_r, gaih_getanswer_slice): Likewise.
41862         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41863         * resolv/res_init.c: Likewise.
41864         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41865         * resolv/res_query.c (__libc_res_nquery): Likewise.
41866         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41867         Likewise.
41868         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41869         * stdio-common/perror.c (perror): Likewise.
41870         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41871         * stdio-common/tmpnam.c (tmpnam): Likewise.
41872         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41873         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41874         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41875         Likewise.
41876         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41877         * stdlib/putenv.c (putenv): Likewise.
41878         * stdlib/setenv.c (__add_to_environ): Likewise.
41879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41880         * stdlib/strtol_l.c (INTERNAL): Likewise.
41881         * string/memmem.c (memmem): Likewise.
41882         * string/strerror.c (strerror): Likewise.
41883         * string/strnlen.c (__strnlen): Likewise.
41884         * string/test-memmem.c (simple_memmem): Likewise.
41885         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41886         * sunrpc/pm_getport.c (__get_socket): Likewise.
41887         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41888         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41889         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41890         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41891         Likewise.
41892         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41894         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41895         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41896         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41897         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41898         Likewise.
41899         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41900         Likewise.
41901         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41902         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41903         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41904         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41905         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41907         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41908         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41909         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41910         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41911         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41912         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41913         Likewise.
41914         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41915         Likewise.
41916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41917         Likewise.
41918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41919         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41920         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41921         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41922         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41923         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41925         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41926         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41927         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41928         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41929         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41930         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41931         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41934         Likewise.
41935         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41936         Likewise.
41937         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41938         Likewise.
41939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41940         Likewise.
41941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41943         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41944         Likewise.
41945         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41946         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41947         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41948         * sysdeps/posix/sleep.c: Likewise.
41949         * sysdeps/posix/tempname.c: Likewise.
41950         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41951         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41952         Likewise.
41953         * sysdeps/powerpc/powerpc32/dl-machine.h
41954         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41955         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41956         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41957         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41958         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41959         Likewise.
41960         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41961         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41962         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41963         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41964         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41965         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41966         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41967         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41968         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41969         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41971         (elf_machine_lazy_rel): Likewise.
41972         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41973         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41974         (elf_machine_lazy_rel): Likewise.
41975         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41976         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41977         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41978         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41979         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41980         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41981         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41983         Likewise.
41984         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41985         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41986         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41987         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41988         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41989         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41990         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41991         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41992         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41993         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41995         Likewise.
41996         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41997         (__posix_fallocate64_l64): Likewise.
41998         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41999         (posix_fallocate): Likewise.
42000         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42001         Likewise.
42002         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42003         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42004         (getifaddrs_internal): Likewise.
42005         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42006         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42007         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42008         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42009         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42010         (__posix_fallocate64_l64): Likewise.
42011         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42012         Likewise.
42013         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42014         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42015         (__get_clockfreq): Likewise.
42016         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42017         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42018         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42021         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42022         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42023         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42024         Likewise.
42025         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42026         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42027         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42028         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42029         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42030         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42031         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42032         Likewise.
42033         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42034         (posix_fallocate): Likewise.
42035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42036         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42037         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42038         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42039         (elf_machine_rela, elf_machine_rela_relative)
42040         (elf_machine_lazy_rel): Likewise.
42041         * time/asctime.c (asctime_internal): Likewise.
42042         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42043         * time/tzset.c (__tzset_parse_tz): Likewise.
42044         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42045         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42046         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42047         * wcsmbs/wcsmbsload.h: Likewise.
42049         [BZ #15894]
42050         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42052         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42053         (arena_get2): Remove THREAD_STATS conditionals.
42054         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42055         (__malloc_stats, int): Likewise.
42057 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42059         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42060         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42062         * manual/setjmp.texi: Fix typos/grammar errors.
42064         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42065         Only return early when n is <= 0.  Delete unused return statement.
42067         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42068         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42069         * debug/tst-longjmp_chk3.c: New file.
42071         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42072         (test_main): Replace code with set_fortify_handler call.
42073         * debug/test-strcpy_chk.c: Likewise.
42074         * debug/tst-chk1.c: Likewise.
42075         * debug/tst-longjmp_chk.c: Likewise.
42076         * test-skeleton.c: Include fcntl.h & paths.h
42077         (set_fortify_handler): Define.
42079         * debug/tst-longjmp_chk.c: Add header comment and include
42080         ../test-skeleton.c.
42081         (do_test): Mark static.
42082         (TEST_FUNCTION): Define.
42084         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42085         (IP_PMTUDISC_INTERFACE): Likewise.
42086         (IP_MULTICAST_IF): Likewise.
42087         (IP_MULTICAST_TTL): Likewise.
42088         (IP_MULTICAST_LOOP): Likewise.
42089         (IP_ADD_MEMBERSHIP): Likewise.
42090         (IP_DROP_MEMBERSHIP): Likewise.
42091         (IP_UNBLOCK_SOURCE): Likewise.
42092         (IP_BLOCK_SOURCE): Likewise.
42093         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42094         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42095         (IP_MSFILTER): Likewise.
42096         (MCAST_JOIN_GROUP): Likewise.
42097         (MCAST_BLOCK_SOURCE): Likewise.
42098         (MCAST_UNBLOCK_SOURCE): Likewise.
42099         (MCAST_LEAVE_GROUP): Likewise.
42100         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42101         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42102         (MCAST_MSFILTER): Likewise.
42103         (IP_MULTICAST_ALL): Likewise.
42104         (IP_UNICAST_IF): Likewise.
42106         * timezone/Makefile: Delete $(have-ksh) check.
42107         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42108         * timezone/tzselect.ksh: Add +x mode bits.
42110         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42111         (ANON_INODE_FS_MAGIC): Likewise.
42112         (BDEVFS_MAGIC): Likewise.
42113         (BINFMTFS_MAGIC): Likewise.
42114         (BTRFS_TEST_MAGIC): Likewise.
42115         (CRAMFS_MAGIC_WEND): Likewise.
42116         (DEBUGFS_MAGIC): Likewise.
42117         (ECRYPTFS_SUPER_MAGIC): Likewise.
42118         (EXT3_SUPER_MAGIC): Likewise.
42119         (EXT4_SUPER_MAGIC): Likewise.
42120         (FUTEXFS_SUPER_MAGIC): Likewise.
42121         (HOSTFS_SUPER_MAGIC): Likewise.
42122         (HUGETLBFS_MAGIC): Likewise.
42123         (MINIX3_SUPER_MAGIC): Likewise.
42124         (MTD_INODE_FS_MAGIC): Likewise.
42125         (NILFS_SUPER_MAGIC): Likewise.
42126         (OPENPROM_SUPER_MAGIC): Likewise.
42127         (PIPEFS_MAGIC): Likewise.
42128         (PSTOREFS_MAGIC): Likewise.
42129         (QNX6_SUPER_MAGIC): Likewise.
42130         (RAMFS_MAGIC): Likewise.
42131         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42132         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42133         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42134         (SECURITYFS_MAGIC): Likewise.
42135         (SELINUX_MAGIC): Likewise.
42136         (SMACK_MAGIC): Likewise.
42137         (SOCKFS_MAGIC): Likewise.
42138         (SQUASHFS_MAGIC): Likewise.
42139         (STACK_END_MAGIC): Likewise.
42140         (TMPFS_MAGIC): Likewise.
42141         (USBDEVICE_SUPER_MAGIC): Likewise.
42142         (V9FS_MAGIC): Likewise.
42143         (XENFS_SUPER_MAGIC): Likewise.
42144         (CRAMFS_MAGIC): Fix typo in comment.
42145         (EXT2_SUPER_MAGIC): Update comment.
42146         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42148 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42150         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42151         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42152         * sysdeps/unix/sysv/linux/arm: Move directory from
42153         ports/sysdeps/unix/sysv/linux/arm.
42154         * README: Update listing for arm-*-linux-gnueabi.
42156         * README: Remove mention of am33.
42158 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42160         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42161         than the comma operator, to avoid "rhs of comma has no effect"
42162         compiler warnings.
42163         (__sigfillset, __sigandset, __sigorset): Likewise.
42164         * include/signal.h (__sigemptyset): Likewise.
42165         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42167 2014-02-07  Allan McRae  <allan@archlinux.org>
42169         * version.h (RELEASE): Set to "development".
42170         (VERSION): Set to "2.19.90"
42171         * NEWS: Add 2.20 section.
42173 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42175         [BZ #16529]
42176         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42178 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42180         * manual/contrib.texi: Update entry for Carlos O'Donell,
42181         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42183 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42185         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42187         * sysdeps/unix/sysv/linux/kernel-features.h
42188         [__LINUX_KERNEL_VERSION >= 0x020621]
42189         (__ASSUME_PROC_PID_TASK_COMM): Define.
42191 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42193         [BZ #16398]
42194         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42195         conversion when destination buffer does not have enough space.
42196         * libio/tst-ftell-partial-wide.c: New test case.
42197         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42199         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42200         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42201         Leonard and Allan McRae.
42203 2014-02-04  David S. Miller  <davem@davemloft.net>
42205         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42206         32-bit.
42208 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42211         New file
42212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42213         New file
42214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42215         New file.
42216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42217         New file.
42218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42219         New file.
42220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42221         New file.
42222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42223         New file.
42224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42225         New file.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42227         New file.
42228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42229         New file.
42230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42231         New file.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42233         New file.
42234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42235         New file.
42237 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42239         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42240         * shlib-versions: Likewise.
42242 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42245         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42246         (abilist-pattern): New variable, set to %-le.abilist.
42248         * Makerules (abilist-pattern): New variable.
42249         (vpath): Use $(abilist-pattern) in place of %.abilist.
42250         (check-abi-% pattern rule): Likewise.
42251         (check-abi, update-abi): Likewise.
42253 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42257 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42259         * manual/startup.texi: Add next, previous, and top entries for
42260         the `Program Arguments' and `Environment Variables' nodes.
42262 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42264         * manual/macros.texi: Add comments before MTASC-safety macros.
42266         * manual/users.texi: Document MTASC-safety properties.
42268         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42269         (pthread_getspecific, pthread_setspecific): Format with
42270         @deftypefun, and add @safety note.
42271         * manual/signal.texi: Move comments that analyze the above
42272         functions to their home place.
42274 2014-02-03  Allan McRae  <allan@archlinux.org>
42276         * po/sl.po: Update Slovenian translation from translation project.
42278 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42280         * manual/time.texi (timegm): Add missing blank after @c.
42281         Reported by Joseph Myers <joseph@codesourcery.com>.
42283 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42285         * manual/check-safety.sh: New.
42286         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42288         * manual/terminal.texi: Document MTASC-safety properties.
42290         * manual/filesys.texi: Document MTASC-safety properties.
42292         * manual/errno.texi: Document MTASC-safety properties.
42294         * manual/intro.texi: Document safety identifiers and
42295         conditionals.
42297         * manual/string.texi (wcstok): Fix prototype.
42298         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42300         * manual/time.texi: Document MTASC-safety properties.
42302         * manual/string.texi: Document MTASC-safety properties.
42304         * manual/threads.texi: Document MTASC-safety properties.
42306         * manual/stdio.texi: Document MTASC-safety properties.
42308         * manual/syslog.texi: Document MTASC-safety properties.
42310         * manual/sysinfo.texi: Document MTASC-safety properties.
42312         * manual/startup.texi: Document MTASC-safety properties.
42314         * manual/socket.texi: Document MTASC-safety properties.
42316         * manual/signal.texi: Document MTASC-safety properties.
42318 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42320         * manual/setjmp.texi: Document MTASC-safety properties.
42322         * manual/search.texi: Document MTASC-safety properties.
42324         * manual/resource.texi: Document MTASC-safety properties.
42326         * manual/process.texi: Document MTASC-safety properties.
42328         * manual/platform.texi: Document MTASC-safety properties.
42330         * manual/pipe.texi: Document MTASC-safety properties.
42332         * manual/pattern.texi: Document MTASC-safety properties.
42334         * manual/message.texi: Document MTASC-safety properties.
42336         [BZ #12751]
42337         * manual/memory.texi: Document MTASC-safety properties.
42339         * manual/math.texi: Document MTASC-safety properties.
42341         * manual/locale.texi: Document MTASC-safety properties.
42343         * manual/llio.texi: Document MTASC-safety properties.
42345         * manual/libdl.texi: New.
42347         * manual/lang.texi: Document MTASC-safety properties.
42349         * manual/job.texi: Document MTASC-safety properties.
42351         * manual/getopt.texi: Document MTASC-safety properties.
42353         * manual/ctype.texi: Document MTASC-safety properties.
42355 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42357         [BZ #16046]
42358         * csu/libc-tls.c (static_map): Remove variable.
42359         (__libc_setup_tls): Use main executable's link map for TLS data.
42360         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42361         casing for LM_ID_BASE and GL(dl_nns).
42362         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42363         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42364         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42365         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42366         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42367         member.
42368         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42369         l_phnum members.
42371 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42373         * manual/debug.texi: Document MTASC-safety properties.
42375 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42377         [BZ #16510]
42378         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42379         of __x86_64__ when disabling x87 inline functions.
42381 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42383         * manual/charset.texi: Document MTASC-safety properties.
42385         * manual/crypt.texi: Document MTASC-safety properties.
42387         * manual/conf.texi: Document MTASC-safety properties.
42389         * manual/arith.texi: Document MTASC-safety properties.
42391         * manual/argp.texi: Document MTASC-safety properties.
42393         * manual/macros.texi: Introduce macros to document multi
42394         thread, asynchronous signal and asynchronous cancellation
42395         safety properties.
42396         * manual/intro.texi: Introduce the properties themselves.
42398 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42400         * sysdeps/sh/sh4/Makefile: New file.
42402 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42404         * math/gen-libm-test.pl ($srcdir): New variable.
42405         ($auto_input): Use it.
42407 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42409         [BZ #16506]
42410         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42411         access beyond array bounds when parsing netgroups file.
42413         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42414         the old buffer before realloc.
42416 2014-01-27  Allan McRae  <allan@archlinux.org>
42418         * po/fr.po: Update French translation from translation project.
42420 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42422         * sysdeps/sh/libm-test-ulps: Regenerate.
42424 2014-01-24  David S. Miller  <davem@davemloft.net>
42426         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42428 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42430         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42431         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42433 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42435         [BZ #16474]
42436         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42437         string pointers after reallocation.
42439 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42441         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42442         __SH4A__ instead of __SH_FPU_ANY__.
42444 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42446         * sysdeps/sh/fpu_control.h: New file.
42447         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42448         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42449         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42450         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42451         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42452         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42453         * sysdeps/sh/sys/ucontext.h: Remove.
42454         * sysdeps/sh/sys: Remove directory.
42456 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42458         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42459         s390/sys/ucontext.h.
42460         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42461         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42463 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42465         [BZ #15605]
42466         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42468 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42470         [BZ#16431]
42471         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42472         Adjust the vDSO correctly for internal calls.
42473         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42475 2014-01-20  Allan McRae  <allan@archlinux.org>
42477         * po/ca.po: Update Catalan translation from translation project.
42479 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42481         * sysdeps/s390/sotruss-lib.c: New file.
42483 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42485         [BZ#16430]
42486         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42487         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42488         local calls issues by not having a PLT stub required for IFUNC calls.
42489         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42491 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42493         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42494         * math/test-fpucw-static.c: Likewise.
42496 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42498         [BZ #16453]
42499         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42501 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42503         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42504         implementation for powerpc.
42506 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42508         [BZ #14782]
42509         * sysdeps/posix/system.c (__libc_system): Do not enable
42510         asynchronous cancellation.
42512 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42514         [BZ #16427]
42515         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42516         handling only for numbers special also in the IEEE case.
42518 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42522 2014-01-11  Allan McRae  <allan@archlinux.org>
42524         * po/bg.po: Update Bulgarian translation from translation project.
42526         * po/de.po: Update German translation from translation project.
42528 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42530         * sysdeps/generic/gcc-compat.h: New file.
42532 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42534         * benchtests/asin-inputs: Correct slow inputs.
42535         * benchtests/acos-inputs: Likewise.
42537 2014-01-10  Allan McRae  <allan@archlinux.org>
42539         * po:sv.po: Update Swedish translation from translation project.
42541         * po/vi.po: Update Vietnamese translation from translation project.
42543         * po/eo.po: Update Esperanto translation from translation project.
42545         * po/cs.po: Update Czech translation from translation project.
42547         * po/nl.po: Update Dutch translation from translation project.
42549         * po/pl.po: Update Polish translation from translation project.
42551         * po/ru.po: Update Russian translation from translation project.
42553         * po/uk.po: Update Ukrainian translation from translation project.
42555 2014-01-08  Brooks Moses  <bmoses@google.com>
42557         * elf/dl-load.c: Fix comment typo.
42559 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42561         * po/header.pot: Rename to...
42562         * po/pot.header: ... this.
42563         * po/Makefile: Use pot.header.
42565 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42566             Maxim Kuvyrkov  <maxim@kugelworks.com>
42568         [BZ #16394]
42569         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42570         SRC and DEST against LEN.
42572 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42574         [BZ #16414]
42575         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42576         implementation.
42577         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42579 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42583 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42585         [BZ #16408]
42586         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42587         for large positive arguments.
42589 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42591         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42593         * math/auto-libm-test-in: Mark various tests with
42594         xfail-rounding:ldbl-128ibm.
42595         * math/auto-libm-test-out: Regenerated.
42597         [BZ #16407]
42598         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42599         Increase overflow threshold.
42601 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42603         [BZ #14286]
42604         * stdio-common/vfprintf.c: Check for integer overflow.
42606 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42608         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42609         the first argument and return value of __tls_get_addr_internal.
42611 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42613         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42614         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42616 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42618         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42619         * sysdeps/s390/rtld-global-offsets.sym: New file.
42620         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42621         GLIBC_2.19 symbol.
42622         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42623         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42624         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42625         ... this.
42626         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42627         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42628         ... this.
42629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42630         Regenerate.
42631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42632         Regenerate.
42633         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42634         halfs of GPRs for high_gprs contexts.
42635         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42636         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42637         field.
42638         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42639         uc_flags field.
42640         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42641         64 bit versions:
42642         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42643         for high GPRs (uc_high_gprs) and for future extensions
42644         (__reserved).
42645         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42646         for future extensions (__reserved).
42647         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42648         64 bit versions:
42649         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42650         SC_HIGHGPRS offset definition.
42651         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42652         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42654         * Versions.def: Add GLIBC_2.19 for libpthread.
42655         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42656         siglongjmp for libpthread with GLIBC_2.19 symver.
42657         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42658         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42659         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42660         * sysdeps/s390/__longjmp.c: New file.
42661         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42662         * sysdeps/s390/longjmp.c: New file.
42663         * sysdeps/s390/setjmp.S: New file.
42664         * sysdeps/s390/sigjmp.S: New file.
42665         * sysdeps/s390/v1-longjmp.c: New file.
42666         * sysdeps/s390/v1-setjmp.h: New file.
42667         * sysdeps/s390/v1-sigjmp.c: New file.
42668         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42669         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42670         GLIBC_2.19 version.
42671         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42672         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42673         versioned symbols for ____longjmp_chk.
42674         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42675         Likewise.
42676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42677         Regenerate.
42678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42679         Regenerate.
42680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42681         Regenerate.
42682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42683         Regenerate.
42684         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42685         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42686         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42687         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42688         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42689         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42690         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42691         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42692         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42693         * sysdeps/s390/rtld-__longjmp.c: New file.
42694         * sysdeps/s390/rtld-setjmp.S: New file.
42696 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42698         [BZ #16400]
42699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42700         Return -__logl (x) for small positive arguments without evaluating
42701         a polynomial.
42703 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42705         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42706         Rename to ...
42707         (__ptrace_peeksiginfo_args): ... this.
42708         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42709         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42712 2014-01-06  Allan McRae  <allan@archlinux.org>
42714         * inet/netinet/in.h: Fix typo in comment.
42716 2014-01-05  Andreas Jaeger  <aj@suse.de>
42718         * sysdeps/i386/fpu/libm-test-ulps: Update.
42720 2014-01-05  Allan McRae  <allan@archlinux.org>
42722         * po/libc.pot: Regenerated.
42724         * malloc/memusagestat.c: Fix gettext call formatting.
42726 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42728         * nscd/nscd.c: Improve usage() output.
42730 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42732         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42733         * sysdeps/unix/sysv/linux/configure: Regenerated.
42734         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42735         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42737 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42739         [BZ #16390]
42740         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42741         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42743 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42746         extra tokens at end of #undef directive.
42747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42748         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42749         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42751 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42753         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42755         * math/auto-libm-test-in: Mark various tests with
42756         xfail-rounding:ldbl-128ibm.
42757         * math/auto-libm-test-out: Regenerated.
42759 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42761         [BZ #16386]
42762         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42763         numbers with subnormal high part when calculating exponent.
42765         [BZ #16385]
42766         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42767         fabs.
42769         [BZ #16384]
42770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42771         M_LN2l.
42772         (__ieee754_acoshl): Use __log1pl not __log1p.
42774 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42776         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42777         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42778         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42779         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42780         (reused_arena, arena_get2): Convert to GNU style.
42781         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42782         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42783         (memalign_check, __malloc_set_state): Likewise.
42784         * malloc/mallocbug.c (main): Likewise.
42785         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42786         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42787         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42788         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42789         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42790         (__posix_memalign, malloc_info): Likewise.
42791         * malloc/malloc.h: Likewise.
42792         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42793         (mallochook, memalignhook, reallochook, mabort): Likewise.
42794         * malloc/mcheck.h: Likewise.
42795         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42796         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42797         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42798         * malloc/morecore.c (__default_morecore): Likewise.
42799         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42800         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42801         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42802         (print_and_abort): Likewise.
42803         * malloc/obstack.h: Likewise.
42804         * malloc/set-freeres.c (__libc_freeres): Likewise.
42805         * malloc/tst-mallocstate.c (main): Likewise.
42806         * malloc/tst-mtrace.c (main): Likewise.
42807         * malloc/tst-realloc.c (do_test): Likewise.
42809 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42811         [BZ #16366]
42812         * nscd/netgroupcache.c (do_notfound): New function.
42813         (addgetnetgrentX): Use it.
42815         [BZ # 16365]
42816         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42817         NSS_STATUS_NOTFOUND.
42819 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42821         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42824 2014-01-01  Allan McRae  <allan@archlinux.org>
42826         * scripts/update-copyrights: Update configure input file suffix.
42828         * NEWS: Update copyright year.
42829         * catgets/gencat.c: Likewise.
42830         * csu/version.c: Likewise.
42831         * debug/catchsegv.sh: Likewise.
42832         * debug/pcprofiledump.c: Likewise.
42833         * debug/xtrace.sh: Likewise.
42834         * elf/ldconfig.c: Likewise.
42835         * elf/ldd.bash.in: Likewise.
42836         * elf/pldd.c: Likewise.
42837         * elf/sotruss.ksh: Likewise.
42838         * elf/sprof.c: Likewise.
42839         * iconv/iconv_prog.c: Likewise.
42840         * iconv/iconvconfig.c: Likewise.
42841         * locale/programs/locale.c: Likewise.
42842         * locale/programs/localedef.c: Likewise.
42843         * login/programs/pt_chown.c: Likewise.
42844         * malloc/memusage.sh: Likewise.
42845         * malloc/memusagestat.c: Likewise.
42846         * malloc/mtrace.pl: Likewise.
42847         * manual/libc.texinfo: Likewise.
42848         * nscd/nscd.c: Likewise.
42849         * nss/getent.c: Likewise.
42850         * nss/makedb.c: Likewise.
42851         * posix/getconf.c: Likewise.
42852         * scripts/test-installation.pl: Likewise.
42854         * All files with FSF copyright notices: Update copyright dates
42855         using scripts/update-copyrights.
42856         * intl/plural.c: Regenerated.
42857         * locale/programs/charmap-kw.h: Likewise.
42858         * locale/programs/locfile-kw.h: Likewise.
42860 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42862         * sysdeps/unix/sysv/linux/configure: Regenerated.
42863         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42864         the linux/fanotify.h header.
42865         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42866         HAVE_LINUX_FANOTIFY_H is defined.
42868 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42870         * benchtests/cos-inputs: New inputs.
42871         * benchtests/sin-inputs: Likewise.
42873         * benchtests/atan-inputs: New inputs. Fix name of multiple
42874         precision fallback inputs.
42876         * benchtests/atanh-inputs: New inputs.
42877         * benchtests/tanh-inputs: Likewise.
42879         * benchtests/acosh-inputs: New inputs.
42880         * benchtests/asinh-inputs: Likewise.
42882         * benchtests/cosh-inputs: New inputs.
42883         * benchtests/sinh-inputs: Likewise.
42885         * benchtests/acos-inputs: Add more inputs.
42886         * benchtests/asin-inputs: Likewise.
42888 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42890         [BZ #16375]
42891         * manual/arith.texi: Fix spelling.
42892         * manual/charset.texi: Likewise.
42893         * manual/errno.texi: Likewise.
42894         * manual/filesys.texi: Likewise.
42895         * manual/lang.texi: Likewise.
42896         * manual/llio.texi: Likewise.
42897         * manual/locale.texi: Likewise.
42898         * manual/message.texi: Likewise.
42899         * manual/resource.texi: Likewise.
42900         * manual/search.texi: Likewise.
42901         * manual/setjmp.texi: Likewise.
42902         * manual/stdio.texi: Likewise.
42903         * manual/string.texi: Likewise.
42904         * manual/sysinfo.texi: Likewise.
42905         * manual/time.texi: Likewise.
42907 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42909         * po/sl.po: New file.
42911 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42913         * .gitignore: Add core/.gdbinit/.gdb_history.
42915 2013-12-27  Allan McRae  <allan@archlinux.org>
42917         [BZ #16369]
42918         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42919         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42921 2013-12-24  Brooks Moses  <bmoses@google.com>
42923         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42924         all compilers that claim C++98 compliance, not just GCC.
42925         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42926         Likewise.
42928 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42930         * NEWS: Restore accidentally deleted bug-fix entries.
42932 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42933             Ondřej Bílka  <neleai@seznam.cz>
42935         [BZ #15073]
42936         * malloc/malloc.c (_int_free): Perform sanity check only if we
42937         have_lock.
42939 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42941         [BZ #12986]
42942         * manual/stdio.texi (String Input Conversions): Clarify that character
42943         classes are not supported.
42945 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42949 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42951         [BZ #16337]
42952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42953         Calculate results for small negative arguments directly rather
42954         than using reflection formula with special underflow handling.
42956         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42957         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42958         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42959         (fchflags): Likewise.
42960         (revoke): Likewise.
42961         (setlogin): Likewise.
42962         (sigaltstack): Likewise.
42963         (wait4): Likewise.
42964         (sigblock): Remove.
42965         (sigsetmask): Likewise.
42966         (wait3): Likewise.
42967         (waitpid): Likewise.
42968         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42969         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42970         file.
42971         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42972         * sysdeps/unix/bsd/Makefile: ... here.
42973         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42974         * sysdeps/unix/bsd/Versions: ... here.
42975         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42976         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42977         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42978         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42979         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42980         * sysdeps/unix/bsd/sigblock.c: ... here.
42981         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42982         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42983         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42984         * sysdeps/unix/bsd/sigvec.c: ... here.
42985         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42986         * sysdeps/unix/bsd/tcdrain.c: ... here.
42987         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42988         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42989         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42990         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42991         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42992         * sysdeps/unix/bsd/wait.c: ... here.
42993         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42994         * sysdeps/unix/bsd/wait3.c: ... here.
42995         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42996         * sysdeps/unix/bsd/waitpid.c: ... here.
42998 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43000         [BZ #16356]
43001         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43002         round-to-nearest for [!USE_AS_EXPM1L].
43003         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43004         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43005         more tests of exp and exp10.  Expect some exp10 tests to miss
43006         exceptions or fail in directed rounding modes.
43007         * math/auto-libm-test-out: Regenerated.
43008         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43009         (exp10_test_tonearest): New function.
43010         (exp10_towardzero_test_data): New array.
43011         (exp10_test_towardzero): New function.
43012         (exp10_downward_test_data): New array.
43013         (exp10_test_downward): New function.
43014         (exp10_upward_test_data): New array.
43015         (exp10_test_upward): New function.
43016         (main): Call the new functions.
43017         * sysdeps/i386/fpu/libm-test-ulps: Update.
43018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43020 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43022         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43023         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43024         * math/auto-libm-test-out: Regenerated.
43025         * math/libm-test.inc (acosh_test_data): Add more tests.
43026         (atanh_test_data): Likewise.
43027         (ceil_test_data): Likewise.
43028         (copysign_test_data): Likewise.
43029         * sysdeps/i386/fpu/libm-test-ulps: Update.
43030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43032         * timezone/checktab.awk: Update from tzcode 2013i.
43033         * timezone/private.h: Likewise.
43034         * timezone/scheck.c: Likewise.
43035         * timezone/tzfile.h: Likewise.
43036         * timezone/tzselect.ksh: Likewise.
43037         * timezone/zdump.c: Likewise.
43038         * timezone/zic.c: Likewise.
43040         * math/auto-libm-test-in: Add tests of cpow.
43041         * math/auto-libm-test-out: Regenerated.
43042         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43043         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43044         mpc_cc_c.
43045         (func_calc_desc): Add mpc_cc_c union field.
43046         (test_functions): Add cpow.
43047         (special_fill_2pi): New function.
43048         (special_real_inputs): Add 2pi.
43049         (calc_generic_results): Handle mpc_cc_c.
43050         * sysdeps/i386/fpu/libm-test-ulps: Update.
43051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43053         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43054         csqrt, ctan and ctanh.
43055         * math/auto-libm-test-out: Regenerated.
43056         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43057         (TEST_COND_x86): Likewise.
43058         (ccos_test_data): Use AUTO_TESTS_c_c.
43059         (ccosh_test_data): Likewise.
43060         (cexp_test_data): Likewise.
43061         (clog_test_data): Likewise.
43062         (csqrt_test_data): Likewise.
43063         (ctan_test_data): Likewise.
43064         (ctan_tonearest_test_data): Likewise.
43065         (ctan_towardzero_test_data): Likewise.
43066         (ctan_downward_test_data): Likewise.
43067         (ctan_upward_test_data): Likewise.
43068         (ctanh_test_data): Likewise.
43069         (ctanh_tonearest_test_data): Likewise.
43070         (ctanh_towardzero_test_data): Likewise.
43071         (ctanh_downward_test_data): Likewise.
43072         (ctanh_upward_test_data): Likewise.
43073         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43074         mpc_c_c.
43075         (func_calc_desc): Add mpc_c_c union field.
43076         (FUNC_mpc_c_c): New macro.
43077         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43078         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43079         ctanh.
43080         (special_fill_min_subnorm_p120): New function.
43081         (special_real_inputs): Add min_subnorm_p120.
43082         (calc_generic_results): Handle mpc_c_c.
43083         * sysdeps/i386/fpu/libm-test-ulps: Update.
43084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43086 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43088         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43089         (do_sin_slow): New functions.
43090         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43091         (cslow2, csloww1, csloww2): Use the new functions.
43093         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43094         Use M to change sign of result instead of X.  Assume X is
43095         positive.
43096         (csloww1): Likewise.
43097         (__sin): Adjust.
43098         (__cos): Adjust.
43100         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43101         arguments A and DA.
43102         (__sin): Adjust.
43103         (__cos): Likewise.
43105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43106         (__cos): Likewise.
43107         (sloww1): Don't adjust sign of DX.
43108         (csloww1): Likewise.
43109         (sloww2): Use X directly and don't adjust sign of DX.
43110         (csloww2): Likewise.
43112 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43114         * math/auto-libm-test-in: Add tests of cabs and carg.
43115         * math/auto-libm-test-out: Regenerated.
43116         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43117         (carg_test_data): Likewise.
43118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43119         mpc_c_f.
43120         (func_calc_desc): Add mpc_c_f union field.
43121         (test_functions): Add cabs and carg.
43122         (calc_generic_results): Handle mpc_c_f.
43124         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43125         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43126         as a macro and a compat symbol.
43127         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43128         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43129         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43130         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43131         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43132         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43133         not use .hidden.
43134         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43135         Likewise.
43136         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43137         Likewise.
43138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43139         Likewise.
43140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43141         Likewise.
43142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43143         Likewise.
43144         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43145         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43146         from GLIBC_2.3.2.
43148 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43152 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43154         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43155         trailing whitespace removed.
43156         * scripts/config.guess: Update to version 2013-11-29.
43157         * scripts/config.sub: Update to version 2013-10-01.
43159         * math/auto-libm-test-in: Add tests of sincos.
43160         * math/auto-libm-test-out: Regenerated.
43161         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43162         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43163         mpfr_f_11.
43164         (func_calc_desc): Add mpfr_f_11 union field.
43165         (test_functions): Add sincos.
43166         (calc_generic_results): Handle mpfr_f_11.
43167         * sysdeps/i386/fpu/libm-test-ulps: Update.
43168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43170 2013-12-19  Andreas Schwab  <schwab@suse.de>
43172         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43173         CALL_MCOUNT.
43174         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43175         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43176         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43178 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43180         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43181         * sysdeps/i386/fpu/libm-test-ulps: Update.
43182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43184         [BZ #16293]
43185         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43186         round-to-nearest mode when using frndint.
43187         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43188         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43189         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43190         Likewise.
43191         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43192         sinh test to fail.
43193         * math/auto-libm-test-out: Regenerated.
43194         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43195         (TEST_COND_x86): Likewise.
43196         (expm1_tonearest_test_data): New array.
43197         (expm1_test_tonearest): New function.
43198         (expm1_towardzero_test_data): New array.
43199         (expm1_test_towardzero): New function.
43200         (expm1_downward_test_data): New array.
43201         (expm1_test_downward): New function.
43202         (expm1_upward_test_data): New array.
43203         (expm1_test_upward): New function.
43204         (main): Run the new test functions.
43205         * sysdeps/i386/fpu/libm-test-ulps: Update.
43206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43208         * include/features.h: Update comment documenting feature test
43209         macros.  Mention _DEFAULT_SOURCE in comment.
43210         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43211         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43212         _BSD_SOURCE and _SVID_SOURCE.
43213         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43214         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43215         !_SVID_SOURCE]: Likewise.
43216         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43217         (__USE_POSIX_IMPLICITLY): Define.
43218         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43219         (_POSIX_SOURCE): Undefine and redefine.
43220         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43221         (_POSIX_C_SOURCE): Likewise.
43222         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43223         (Feature Test Macros): Update documentation of default features.
43225 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43227         * benchtests/Makefile: Add bench-strtok.
43228         * benchtests/bench-strtok.c: New file: strtok benchtest.
43230 2013-12-19  Allan McRae  <allan@archlinux.org>
43232         * manual/install.texi: Suppress menu for plain text output.
43233         * INSTALL: Regenerated.
43235 2013-12-18  Brooks Moses  <bmoses@google.com>
43237         [BZ #15846]
43238         * misc/getauxval.c: Include errno.h.
43239         (__getauxval): Set errno to ENOENT if the requested type is not
43240         found.
43241         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43242         don't declare with __attribute_const__.
43243         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43244         * manual/startup.texi: Document that getauxval sets errno.
43246 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43248         * math/auto-libm-test-in: Add tests of jn and yn.
43249         * math/auto-libm-test-out: Regenerated.
43250         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43251         (yn_test_data): Likewise.
43252         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43253         mpfr_if_f.
43254         (func_calc_desc): Add mpfr_if_f union field.
43255         (FUNC_mpfr_if_f): New macro.
43256         (test_functions): Add jn and yn.
43257         (calc_generic_results): Assert type of second input for
43258         mpfr_ff_f.  Handle mpfr_if_f.
43259         (output_for_one_input_case): Disable all checking for arguments
43260         fitting floating-point types in case of an integer argument.
43261         * sysdeps/i386/fpu/libm-test-ulps: Update.
43262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43265         Don't expect fegetround reference in libm.so.
43267 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43269         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43270         $(config-cflags-nofma).
43272 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43274         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43275         * math/auto-libm-test-out: Regenerated.
43277         [BZ #16338]
43278         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43279         to determine exponent and adjust argument to have exponent of -1.
43280         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43281         log2.
43282         * math/auto-libm-test-out: Regenerated.
43283         * sysdeps/i386/fpu/libm-test-ulps: Update.
43284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43286 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43288         * manual/probes.texi: Remove cases when per-thread arenas are
43289         disabled.
43291 2013-12-18  Andreas Schwab  <schwab@suse.de>
43293         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43294         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43295         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43296         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43297         * sysdeps/i386/i686/multiarch/Makefile: Update.
43298         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43300 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43302         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43303         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43305 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43307         [BZ #15968]
43308         Support TZ transition times < 00:00:00.
43309         This is needed for version-3 tz-format files; it supports time
43310         stamps past 2037 for America/Godthab (the only entry in the tz
43311         database for which this change is relevant).
43312         * manual/time.texi (TZ Variable): Document transition times
43313         from -167:59:59 through -00:00:01.
43314         * time/tzset.c (tz_rule): Time of day is now signed.
43315         (__tzset_parse_tz): Parse negative time of day.
43317         Document TZ transition times >= 25:00:00.
43318         * manual/time.texi (TZ Variable): Document transition times from
43319         25:00:00 through 167:59:59.  These are already supported, and this
43320         support will help with version-3 tz-format files.
43322         * manual/time.texi (TZ Variable): Modernize North America example
43323         to reflect current (i.e., 2007-and-later) daylight saving rules.
43325         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43327 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43329         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43330         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43331         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43333         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43334         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43335         * sysdeps/unix/bsd/clock.c: Likewise.
43336         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43337         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43338         * sysdeps/unix/bsd/init-posix.c: Likewise.
43339         * sysdeps/unix/bsd/poll.c: Likewise.
43340         * sysdeps/unix/bsd/ptsname.c: Likewise.
43341         * sysdeps/unix/bsd/seekdir.c: Likewise.
43342         * sysdeps/unix/bsd/setegid.c: Likewise.
43343         * sysdeps/unix/bsd/seteuid.c: Likewise.
43344         * sysdeps/unix/bsd/setgid.c: Likewise.
43345         * sysdeps/unix/bsd/setrgid.c: Likewise.
43346         * sysdeps/unix/bsd/setruid.c: Likewise.
43347         * sysdeps/unix/bsd/setsid.c: Likewise.
43348         * sysdeps/unix/bsd/setuid.c: Likewise.
43349         * sysdeps/unix/bsd/sigaction.c: Likewise.
43350         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43351         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43352         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43353         * sysdeps/unix/bsd/telldir.c: Likewise.
43354         * sysdeps/unix/bsd/times.c: Likewise.
43355         * sysdeps/unix/bsd/usleep.c: Likewise.
43357         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43358         ($(objpfx)libbsd-compat.a): Remove rule.
43360         * include/features.h (__FAVOR_BSD): Do not define.
43361         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43362         features conflicting with POSIX.
43363         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43364         (_BSD_SOURCE): Remove description of not being a subset of other
43365         feature test macros.
43366         * manual/job.texi (getpgrp): Do not document BSD version.
43367         (getpgid): Do not document by reference to BSD getpgrp.
43368         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43369         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43370         * signal/signal.h [__FAVOR_BSD]: Likewise.
43371         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43372         instead of making contents conditional on [__FAVOR_BSD].
43373         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43375 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43379 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43381         [BZ #16314]
43382         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43383         values below 2**-450, not 2**-500.
43384         * math/auto-libm-test-in: Don't allow spurious underflow from
43385         hypot.
43386         * math/auto-libm-test-out: Regenerated.
43388         [BZ #16316]
43389         [BZ #16330]
43390         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43391         values of ha and hb and sort them after adjusting subnormal
43392         arguments.
43393         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43394         Likewise.
43395         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43396         values of ea and eb and sort them after adjusting subnormal
43397         arguments.
43398         * math/auto-libm-test-in: Do not expect some hypot tests of
43399         subnormals to fail.  Add more hypot tests.
43400         * math/auto-libm-test-out: Regenerated.
43402 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43404         [BZ #13304]
43405         * sysdeps/sh/s_fma.c: New file.
43406         * sysdeps/sh/s_fmaf.c: New file.
43407         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43408         version.
43409         * sysdeps/sh/Implies: Add sh/soft-fp.
43411 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43413         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43414         level of indirection to members `objname', `errstring', `malloced'.
43415         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43416         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43417         it as the __longjmp argument (just pass 1 instead).
43418         (_dl_catch_error): Initialize C with argument pointers and address of
43419         volatile local ERRCODE rather than copying values out of C at return.
43421 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43423         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43424         * math/auto-libm-test-out: Regenerated.
43425         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43426         (hypot_test_data): Likewise.
43427         (pow_test_data): Likewise.
43428         (pow_tonearest_test_data): Likewise.
43429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43430         mpfr_ff_f.
43431         (func_calc_desc): Add mpfr_ff_f union field.
43432         (FUNC_mpfr_ff_f): New macro.
43433         (test_functions): Add atan2, hypot and pow.
43434         (special_fill_min): New function.
43435         (special_fill_minus_min): Likewise.
43436         (special_fill_min_subnorm): Likewise.
43437         (special_fill_minus_min_subnorm): Likewise.
43438         (special_real_inputs): Add min, -min, min_subnorm and
43439         -min_subnorm.
43440         (calc_generic_results): Handle mpfr_ff_f.
43441         * sysdeps/i386/fpu/libm-test-ulps: Update.
43442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43444 2013-12-16  Will Newton  <will.newton@linaro.org>
43446         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43447         (Aligned Memory Blocks): Add documentation for aligned_alloc
43448         and suggest it as an alternative to posix_memalign.
43449         (Hooks for Malloc): Document __memalign_hook is also called
43450         for aligned_alloc.  (Summary of Malloc): Add summary for
43451         aligned alloc.  Document __memalign_hook is also called
43452         for aligned_alloc.
43454 2013-12-16  Will Newton  <will.newton@linaro.org>
43456         * manual/memory.texi (Malloc Examples): Clarify default
43457         alignment documentation.  Suggest posix_memalign rather
43458         than memalign or valloc.
43459         (Aligned Memory Blocks): Remove suggestion to use memalign
43460         or valloc.  Remove obsolete comment about BSD.
43461         Document memalign errno values and mark the function obsolete.
43462         Document posix_memalign returned error codes.  Mark valloc
43463         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43464         called for posix_memalign and valloc.
43465         (Summary of Malloc): Add posix_memalign to function summary.
43466         __memalign_hook is also called for posix_memalign and valloc.
43468 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43470         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43471         TAYLOR_SIN.
43472         (__sin): Adjust.
43473         (__cos): Likewise.
43474         (sloww): Use mynumber union.  Expand ternary operator into
43475         if-else statements.
43476         (cslow): use mynumber union.
43478 2013-12-16  Allan McRae  <allan@archlinux.org>
43480         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43481         * configure: Regenerated.
43483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43485         [BZ #14120]
43486         * configure.ac: Added --enable-maintainer-mode. Check for
43487         autoconf when enabled.
43488         * configure: Regenerated.
43490         * nscd/nscd.service: New file.
43491         * nscd/nscd.tmpfiles: New file.
43493 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43495         [BZ #12100]
43496         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43497         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43498         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43499         (strstr): Add __strstr_sse2_unaligned ifunc.
43500         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43501         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43502         (strcasestr): Remove __strcasestr_sse42 ifunc.
43503         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43507 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43509         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43510         * sysdeps/sh/bits/fenv.h: ... here.
43511         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43513 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43515         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43518         hypotf multiarch implementations.
43519         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43520         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43521         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43522         multiarch hypot for PPC64.
43523         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43524         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43526         multiarch hypotf for PPC64.
43528         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43529         modff multiarch implementations.
43530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43533         multiarch modf for PPC64.
43534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43537         multiarch modff for PPC64.
43539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43540         and logl multiarch implementations.
43541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43544         multiarch logb for PPC64.
43545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43548         multiarch logb for PPC64.
43549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43552         multiarch logb for PPC64.
43554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43555         isinff multiarch implementation.
43556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43557         file.
43558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43560         multiarch isinf for PPC64.
43561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43562         file.
43563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43564         multiarch isinff for PPC64.
43566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43567         finitef multiarch implementation.
43568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43569         file.
43570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43572         multiarch finite for PPC64.
43573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43574         file.
43575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43576         multiarch finitef for PPC64.
43578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43579         lrint multiarch implementation.
43580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43581         file.
43582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43584         multiarch llrint for PPC64.
43585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43586         multiarch lrint for PPC64.
43588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43589         copysignf multiarch implementation.
43590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43591         file.
43592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43593         file.
43594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43595         multiarch copysign for PPC64.
43596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43597         multiarch copysignf for PPC64.
43599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43600         multiarch implementation.
43601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43602         file.
43603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43604         file.
43605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43606         file.
43607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43608         file.
43609         multiarch llround for PPC64.
43610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43611         multiarch trunc for PPC64.
43612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43613         multiarch truncf for PPC64.
43615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43616         multiarch implementation.
43617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43618         file.
43619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43620         file.
43621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43622         file.
43623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43624         file.
43625         multiarch llround for PPC64.
43626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43627         multiarch round for PPC64.
43628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43629         multiarch roundf for PPC64.
43631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43632         multiarch implementation.
43633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43634         file.
43635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43636         file.
43637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43638         file.
43639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43640         file.
43641         multiarch llround for PPC64.
43642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43643         multiarch floor for PPC64.
43644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43645         multiarch floorf for PPC64.
43647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43648         multiarch implementation.
43649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43650         file.
43651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43652         file.
43653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43654         file.
43655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43656         file.
43657         multiarch llround for PPC64.
43658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43659         multiarch ceil for PPC64.
43660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43661         multiarch ceilf for PPC64.
43663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43664         multiarch implementation.
43665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43666         file.
43667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43668         file.
43669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43670         file.
43671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43672         multiarch llround for PPC64.
43673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43674         multiarch lround for PPC64.
43676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43677         multiarch implementation.
43678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43681         file.
43682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43685         multiarch isnan for PPC64.
43686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43687         multiarch isnanf for PPC64.
43689         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43690         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43691         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43692         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43693         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43696         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43697         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43702         multiarch implementations.
43703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43704         (__libc_ifunc_impl_list): Likewise.
43705         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43706         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43707         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43708         multiarch stpcpy for PPC64.
43710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43711         multiarch implementations.
43712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43713         (__libc_ifunc_impl_list): Likewise.
43714         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43715         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43716         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43717         multiarch strcpy for PPC64.
43719         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43720         redefine function name.
43721         (_wordcopy_fwd_dest_aligned): Likewise.
43722         (_wordcopy_bwd_aligned): Likewise.
43723         (_wordcopy_bwd_dest_aligned): Likewise.
43724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43725         multiarch implementations.
43726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43727         (__libc_ifunc_impl_list): Likewise.
43728         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43732         multiarch wcscpy for PPC64.
43734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43735         multiarch implementations.
43736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43737         (__libc_ifunc_impl_list): Likewise.
43738         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43739         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43740         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43741         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43742         multiarch wcscpy for PPC64.
43744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43745         multiarch implementations.
43746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43747         (__libc_ifunc_impl_list): Likewise.
43748         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43749         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43750         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43751         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43752         multiarch wcsrchr for PPC64.
43754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43755         multiarch implementations.
43756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43757         (__libc_ifunc_impl_list): Likewise.
43758         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43759         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43760         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43761         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43762         multiarch wcschr for PPC64.
43764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43765         multiarch implementations.
43766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43767         (__libc_ifunc_impl_list): Likewise.
43768         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43769         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43770         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43771         multiarch strchrnul for PPC64.
43773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43774         implementations.
43775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43776         (__libc_ifunc_impl_list): Likewise.
43777         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43778         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43779         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43780         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43781         strchr for PPC64.
43783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43784         implementations.
43785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43786         (__libc_ifunc_impl_list): Likewise.
43787         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43788         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43789         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43790         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43791         strncmp for PPC64.
43793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43794         multiarch implementations.
43795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43796         (__libc_ifunc_impl_list): Likewise.
43797         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43798         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43799         strncasecmp for PPC64.
43800         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43801         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43802         multiarch strncasecmp_l for PPC64.
43804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43805         multiarch implementations.
43806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43807         (__libc_ifunc_impl_list): Likewise.
43808         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43810         multiarch strcasecmp for PPC64.
43811         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43812         file.
43813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43814         multiarch strcasecmp_l for PPC64.
43816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43817         implementations.
43818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43819         (__libc_ifunc_impl_list): Likewise.
43820         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43821         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43822         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43823         strnlen for PPC64.
43825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43826         implementations.
43827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43828         (__libc_ifunc_impl_list): Likewise.
43829         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43830         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43831         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43832         strlen for PPC64.
43834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43835         implementations.
43836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43837         (__libc_ifunc_impl_list): Likewise.
43838         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43839         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43840         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43841         rawmemrchr for PPC64.
43843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43844         implementation.
43845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43846         (__libc_ifunc_impl_list): Likewise.
43847         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43848         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43849         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43850         memrchr for PPC64.
43852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43853         implementation.
43854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43855         (__libc_ifunc_impl_list): Likewise.
43856         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43857         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43858         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43859         memchr for PPC64.
43861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43862         implementation.
43863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43864         (__libc_ifunc_impl_list): Likewise.
43865         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43866         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43867         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43868         mempcpy for PPC64.
43870         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43871         avoid cretion of __bzero symbol.
43872         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43873         Likewise.
43874         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43875         Likewise.
43876         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43877         Likewise.
43878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43879         multiarch implementations.
43880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43881         (__libc_ifunc_impl_list): Likewise.
43882         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43883         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43884         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43885         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43886         bzero for PPC32.
43887         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43888         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43889         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43890         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43891         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43892         memset for PPC64.
43893         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43895         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43897         implementations.
43898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43899         (__libc_ifunc_impl_list): Likewise.
43900         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43901         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43902         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43903         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43904         memcmp for PPC64.
43906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43907         multiarch for POWER/PPC64.
43908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43909         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43910         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43911         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43912         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43913         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43914         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43915         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43916         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43917         memcpy for PPC64.
43919         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43920         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43921         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43922         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43923         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43924         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43925         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43926         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43927         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43928         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43929         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43930         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43931         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43932         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43933         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43942 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43944         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43946 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43948         * benchtests/Makefile (bench): Add exp2 and log2.
43949         (LDLIBS-bench-exp2): Add -lm.
43950         (LDLIBS-bench-log2): Likewise.
43951         * benchtests/exp2-inputs: New inputs file.
43952         * benchtests/log2-inputs: New inputs file.
43953         * benchtests/log-inputs: Add new inputs.
43954         * benchtests/tan-inputs: Likewise.
43956 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43958         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43959         definition...
43960         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43961         (csloww2): ... from here.
43963         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43964         instead of structures.
43965         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43966         (POLYNOMIAL): Likewise.
43967         (TAYLOR_SLOW): Likewise.
43968         (__sin): Likewise.
43969         (__cos): Likewise.
43970         (slow1): Likewise.
43971         (slow2): Likewise.
43972         (sloww): Likewise.
43973         (sloww1); Likewise.
43974         (sloww2): Likewise.
43975         (bsloww1): Likewise.
43976         (bsloww2): Likewise.
43977         (cslow2): Likewise.
43978         (csloww): Likewise.
43979         (csloww1): Likewise.
43980         (csloww2): Likewise.
43982 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43984         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43985         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43986         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43987         * malloc/hooks.c (realloc_check): Likewise.
43989         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43990         * malloc/arena.c: Remove PER_THREAD conditional.
43991         [!PER_THREAD]: Remove code.
43992         (ptmalloc_unlock_all2): Likewise.
43993         (ptmalloc_init): Likewise.
43994         (_int_new_arena): Likewise.
43995         (arena_get2): Likewise.
43996         * malloc/hooks.c (__malloc_get_state): Likewise.
43997         (__malloc_set_state): Likewise.
43998         * malloc/malloc.c: Likewise.
43999         (struct malloc_state): Likewise.
44000         (struct malloc_par): Likewise.
44001         (__libc_realloc): Likewise.
44002         (__libc_mallopt): Likewise.
44004 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44006         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44008 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44010         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44011         macro to a function.  Check for zero perturb_byte.
44012         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44014         * malloc/malloc.c: (force_reg): Remove.
44015         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44016         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44017         force_reg by atomic_forced_read.
44018         * malloc/arena.c (ptmalloc_init): Likewise.
44019         * malloc/hooks.c (top_check): Likewise.
44021 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44025 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44029 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44031         * math/auto-libm-test-in: Add tests of lgamma.
44032         * math/auto-libm-test-out: Regenerated.
44033         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44034         (M_LOG_2_SQRT_PIl): Likewise.
44035         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44037         mpfr_f_f1.
44038         (func_calc_desc): Add mpfr_f_f1 union field.
44039         (ARGS1): New macro.
44040         (ARGS2): Likewise.
44041         (ARGS3): Likewise.
44042         (ARGS4): Likewise.
44043         (RET1): Likewise.
44044         (RET2): Likewise.
44045         (CALC): Likewise.
44046         (FUNC): Likewise.
44047         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44048         (test_functions): Add lgamma.
44049         (calc_generic_results): Handle mpfr_f_f1.
44050         * sysdeps/i386/fpu/libm-test-ulps: Update.
44051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44053 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44055         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44056         __mpn_add_n for PowerPC64/POWER7.
44057         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44058         __mpn_sub_n for PowerPC64/POWER7.
44060         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44061         __mpn_addmul_1 for PowerPC64.
44062         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44063         __mpn_submul_1 for PowerPC64.
44064         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44065         for PowerPC64.
44066         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44067         for PowerPC64.
44069 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44071         [BZ #15089]
44072         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44074 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44076         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44078         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44079         add multiarch folders.
44080         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44081         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44082         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44083         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44084         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44085         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44086         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44087         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44088         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44089         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44090         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44099         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44101         New file.
44102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44103         New file.
44104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44105         multiarch __ieee754_hypot for PowerPC32.
44106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44107         New file.
44108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44109         New file.
44110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44111         multiarch __ieee754_hypotf for PowerPC32.
44113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44114         long_double_symbol only if __logbl is defined.
44115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44116         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44117         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44118         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44120         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44121         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44122         path for implementation.
44123         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44124         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44126         logb, and logbl multiarch implementations for PowerPC32.
44127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44128         file.
44129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44130         file.
44131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44132         multiarch logb for PowerPC32.
44133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44134         file.
44135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44136         file.
44137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44138         multiarch logbf for PowerPC32.
44139         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44141         file.
44142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44143         multiarch logbl implementation for PowerPC32.
44145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44146         and modff multiarch implementations.
44147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44148         New file.
44149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44150         New file.
44151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44152         multiarch modf for PowerPC32.
44153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44154         New file.
44155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44156         New file.
44157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44158         multiarch modff for PowerPC32.
44160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44161         and lrintf multiarch implementations.
44162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44163         New file.
44164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44165         New file.
44166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44167         multiarch lrint for PowerPC32.
44168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44169         file: multiarch lrintf for PowerPC32.
44171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44172         and lroundf multiarch implementations.
44173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44174         New file.
44175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44176         New file.
44177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44178         New file.
44179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44180         multiarch lround for PowerPC32.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44182         file: multiarch lroundf for PowerPC32.
44184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44185         copysign and copysignf multiarch implementations.
44186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44187         New file.
44188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44189         New file.
44190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44191         file: multiarch copysign for PowerPC32.
44192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44193         file: multiarch copysignf for PowerPC32.
44195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44196         and truncf multiarch implementations.
44197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44198         New file.
44199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44200         file.
44201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44202         multiarch trunc for PowerPC32.
44203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44204         New file.
44205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44206         New file.
44207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44208         multiarch truncf for PowerPC32.
44210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44211         and roundf multiarch implementations.
44212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44213         New file.
44214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44215         file.
44216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44217         multiarch round for PowerPC32.
44218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44219         New file.
44220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44221         New file.
44222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44223         multiarch roundf for PowerPC32.
44225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44226         and floorf multiarch implementations.
44227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44228         New file.
44229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44230         file.
44231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44232         multiarch floor for PowerPC32.
44233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44234         New file.
44235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44236         New file.
44237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44238         multiarch floorf for PowerPC32.
44240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44241         and ceilf multiarch implementations.
44242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44243         New file.
44244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44245         file.
44246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44247         multiarch ceil for PowerPC32.
44248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44249         New file.
44250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44251         file.
44252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44253         multiarch ceilf for PowerPC32.
44255         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44256         is defined.
44257         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44258         FINITEF is defined.
44259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44260         and finitef multiarch implementations.
44261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44262         New file.
44263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44264         file.
44265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44266         multiarch finite for PowerPC32.
44267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44268         New file.
44269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44270         file: multiarch finitef for PowerPC32.
44272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44273         and isinff multiarch implementations.
44274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44275         file.
44276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44277         file.
44278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44279         multiarch isinf for PowerPC32.
44280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44281         New file.
44282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44283         multiarch isinff for PowerPC32.
44285         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44286         alias when __isnan is defined.
44287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44288         and isnanf multiarch implementations.
44289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44290         file.
44291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44292         file.
44293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44294         file.
44295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44296         file.
44297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44298         multiarch isnan for PowerPC32.
44299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44300         New file.
44301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44302         New file.
44303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44304         multiarch isnanf for PowerPC32.
44306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44307         and sqrtf multiarch implementations.
44308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44309         file.
44310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44311         file.
44312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44313         multiarch sqrt for PowerPC32.
44314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44315         file.
44316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44317         file.
44318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44319         multiarch sqrtf for PowerPC32.
44321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44322         and llroundf multiarch implementations.
44323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44324         New file.
44325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44326         New file.
44327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44328         New file.
44329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44330         file: multiarch llround for PowerPC32.
44331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44332         file: multiarch llroundf for PowerPC32.
44334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44335         multiarch PowerPC32 fpu implementations.
44336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44337         New file.
44338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44339         New file.
44340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44341         multiarch llrint for PowerPC32.
44342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44343         New file.
44344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44345         New file.
44346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44347         file.
44349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44351         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44352         file.
44353         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44354         file.
44355         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44356         file.
44357         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44358         multiarch wordcopy for PPC32.
44359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44360         wordcopy objects.
44361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44362         (__libc_ifunc_impl_list): Likewise.
44363         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44364         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44365         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44366         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44367         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44368         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44370         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44372         file.
44373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44374         file.
44375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44376         file.
44377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44378         multiarch wcscpy for PPC32.
44379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44380         multiarch objects.
44381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44382         (__libc_ifunc_impl_list): Likewise.
44383         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44384         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44385         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44386         sysdeps/powerpc/power6/wcscpy.c.
44388         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44390         file.
44391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44392         file.
44393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44394         file.
44395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44396         multiarch wcsrchr for PPC32.
44397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44398         multiarch objects.
44399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44400         (__libc_ifunc_impl_list): Likewise.
44401         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44402         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44403         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44404         sysdeps/powerpc/power6/wcsrchr.c.
44406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44407         file.
44408         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44409         file.
44410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44412         multiarch wcschr for PPc32.
44413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44414         multiarch objects.
44415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44416         (__libc_ifunc_impl_list): Likewise.
44417         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44418         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44419         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44420         sysdeps/powerpc/power6/wcschr.c.
44422         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44423         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44424         file.
44425         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44426         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44427         file: multiarch strchr for PPC32.
44428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44429         multiarch objects.
44430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44431         (__libc_ifunc_impl_list): Likewise.
44433         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44434         name.
44435         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44436         file.
44437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44438         file.
44439         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44440         multiarch strchrnul for PPC32.
44441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44442         multiarch objects.
44443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44444         (__libc_ifunc_impl_list): Likewise.
44446         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44447         file.
44448         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44449         multiarch strncasecmp for PPC32.
44450         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44451         file.
44452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44453         multiarch strncasecmp_l for PPC32.
44454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44455         strncasecmp multiarch objects.
44456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44457         (__libc_ifunc_impl_list): Likewise.
44459         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44460         file.
44461         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44462         multiarch strncasecmp for PPC32.
44463         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44464         New file.
44465         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44466         multiarch strcasecmp_l for PPC32.
44467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44468         multiarch objects.
44469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44470         (__libc_ifunc_impl_list): Likewise.
44472         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44473         file.
44474         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44475         file.
44476         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44477         multiarch strncmp for PPC32.
44478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44479         multiarch objects.
44480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44481         (__libc_ifunc_impl_list): Likewise.
44483         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44484         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44485         file.
44486         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44487         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44489         multiarch objects.
44490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44491         (__libc_ifunc_impl_list): Likewise.
44493         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44494         file.
44495         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44496         file.
44497         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44499         multiarch objects.
44500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44501         (__libc_ifunc_impl_list): Likewise.
44503         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44504         file.
44505         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44506         file.
44507         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44508         multiarch rawmemchr for PPC32.
44509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44510         multiarch objects.
44511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44512         (__libc_ifunc_impl_list): Likewise.
44514         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44515         file.
44516         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44517         file.
44518         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44519         file: memrchr multiarch for PPC32.
44520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44521         multiarch objects.
44522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44523         (__libc_ifunc_impl_list): Likewise.
44525         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44527         file.
44528         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44529         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44530         multiarch memchr for PPC32.
44531         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44532         multiarch objects.
44533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44534         (__libc_ifunc_impl_list): Likewise.
44536         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44537         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44538         file.
44539         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44540         file.
44541         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44542         file: multiarch mempcpy for PPC32.
44543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44544         multiarch objects.
44545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44546         (__libc_ifunc_impl_list): Likewise.
44548         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44549         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44550         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44551         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44552         multiarch bzero for PPC32.
44553         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44554         file.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44556         file.
44557         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44558         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44559         file: multiarch memset for PPC32.
44560         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44562         memset multiarch objects.
44563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44564         (__libc_ifunc_impl_list): Likewise.
44566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44567         file.
44568         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44569         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44570         memcmp for PPC32.
44571         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44573         multiarch objects.
44574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44575         (__libc_ifunc_impl_list): Likewise.
44577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44578         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44579         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44580         file.
44581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44582         file.
44583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44584         file.
44585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44586         multiarch memcpy for PPC32.
44587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44588         multiarch objects.
44589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44590         (__libc_ifunc_impl_list): Likewise.
44592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44593         support multiarch for POWER/PPC32.
44594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44595         Likewise.
44596         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44598         Implies file to make multiarch folder appers before the fpu and
44599         default folder for power4 configuration.
44601 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44603         * scripts/bench.pl: Append volatile keyword to type.
44605 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44607         * sysdeps/sh/sotruss-lib.c: New file.
44608         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44610 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44614 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44616         [BZ #6810]
44617         * math/w_tgamma.c: Include <errno.h>.
44618         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44619         * math/w_tgammaf.c: Include <errno.h>.
44620         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44621         * math/w_tgammal.c: Include <errno.h>.
44622         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44623         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44624         underflow.  Add more tgamma tests.
44625         * math/auto-libm-test-out: Regenerated.
44626         * sysdeps/i386/fpu/libm-test-ulps: Update.
44627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44629         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44630         sin, sinh, tan, tanh, tgamma, y0 and y1.
44631         * math/auto-libm-test-out: Regenerated.
44632         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44633         (TEST_COND_x86): Likewise.
44634         (M_E2l): Remove macro.
44635         (M_E3l): Likewise.
44636         (M_2_SQRT_PIl): Likewise.
44637         (M_SQRT_PIl): Likewise.
44638         (M_1_DIV_El): Likewise.
44639         (log_test_data): Use AUTO_TESTS_f_f.
44640         (log10_test_data): Likewise.
44641         (log1p_test_data): Likewise.
44642         (log2_test_data): Likewise.
44643         (sin_test_data): Likewise.
44644         (sin_tonearest_test_data): Likewise.
44645         (sin_towardzero_test_data): Likewise.
44646         (sin_downward_test_data): Likewise.
44647         (sin_upward_test_data): Likewise.
44648         (sinh_test_data): Likewise.
44649         (sinh_tonearest_test_data): Likewise.
44650         (sinh_towardzero_test_data): Likewise.
44651         (sinh_downward_test_data): Likewise.
44652         (sinh_upward_test_data): Likewise.
44653         (tan_test_data): Likewise.
44654         (tan_tonearest_test_data): Likewise.
44655         (tan_towardzero_test_data): Likewise.
44656         (tan_downward_test_data): Likewise.
44657         (tan_upward_test_data): Likewise.
44658         (tanh_test_data): Likewise.
44659         (tgamma_test_data): Likewise.
44660         (y0_test_data): Likewise.
44661         (y1_test_data): Likewise.
44662         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44663         (special_real_inputs): Add pi/4.
44664         * sysdeps/i386/fpu/libm-test-ulps: Update.
44665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44667 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44669         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44670         "longjmp_target" static probes.
44671         (__longjmp): Rename to __longjmp_symbol.
44672         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44673         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44674         on which longjmp to generate.
44675         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44676         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44677         probe.
44678         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44679         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44680         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44681         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44682         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44683         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44685         __longjmp_symbol based on which __longjmp to generate.
44686         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44687         probe.
44688         (setjmp): Rename to setjmp_symbol.
44689         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44690         (_setjmp): Rename to _setjmp_symbol.
44691         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44692         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44693         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44694         which setjmp to generate.
44695         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44696         "longjmp_target" static probes.
44698 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44700         * benchtests/README: Add note about output arguments.
44701         * benchtests/bench-sincos.c: Remove file.
44702         * benchtests/sincos-inputs: New file.
44703         * scripts/bench.pl: Identify output arguments and define
44704         static variables for them.
44706         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44708         [BZ #15941]
44709         * Makefile (INSTALL): Add install-plain.texi as the primary
44710         dependency.
44711         * manual/install-plain.texi: New file.
44712         * manual/install.texi: Include node directive only for
44713         non-plaintext output.
44715 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44717         * stdlib/longlong.h: Update from GCC.
44719         [BZ #6807]
44720         [BZ #15901]
44721         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44722         * math/w_j0f.c (y0f): Likewise.
44723         * math/w_j0l.c (__y0l): Likewise.
44724         * math/w_j1.c (y1): Likewise.
44725         * math/w_j1f.c (y1f): Likewise.
44726         * math/w_j1l.c (__y1l): Likewise.
44727         * math/w_jn.c (yn): Likewise.
44728         * math/w_jnf.c (ynf): Likewise.
44729         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44730         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44731         value for Bessel function domain errors outside _SVID_ mode.
44732         Adjust sign of return value for yn (negative integer, 0).
44733         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44734         by zero in return for negative x and set sign appropriately for
44735         negative n.
44736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44737         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44738         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44739         expectations in error cases.
44740         (y1_test_data): Likewise.
44741         (yn_test_data): Likewise.
44742         * sysdeps/i386/fpu/libm-test-ulps: Update.
44743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44745 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44747         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44748         "64" to "64-v1".  Add "64-v2".
44749         (abi-64-options): Rename to ...
44750         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44751         (abi-64-condition): Rename to ...
44752         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44753         (abi-64-ld-soname): Rename to ...
44754         (abi-64-v1-ld-soname): ... this.
44755         (abi-64-v2-options): Define.
44756         (abi-64-v2-condition): Likewise.
44757         (abi-64-v2-ld-soname): Likewise.
44758         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44759         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44764 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44765             Alan Modra  <amodra@gmail.com>
44767         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44768         New versions for use with the ELFv2 ABI.
44769         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44770         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44771         declaration.
44772         (struct La_ppc64v2_retval): Likewise.
44773         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44774         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44775         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44776         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44777         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44778         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44779         Do not save or restore CR.
44780         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44781         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44782         return values for ELFv2 ABI.  Fix location of FPR return registers.
44783         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44784         updated values for _CALL_ELF == 2.
44785         (La_regs, La_retval, int_retval): Likewise.
44787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44789         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44790         (FRAME_MIN_SIZE_PARM): Likewise.
44791         (FRAME_BACKCHAIN): Likewise.
44792         (FRAME_CR_SAVE): Likewise.
44793         (FRAME_LR_SAVE): Likewise.
44794         (FRAME_TOC_SAVE): Likewise.
44795         (FRAME_PARM_SAVE): Likewise.
44796         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44797         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44798         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44799         (call_mcount_parm_offset): New macro.
44800         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44801         (PROF): Use symbolic stack frame offsets.
44802         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44803         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44804         Redefine in terms of FRAME_MIN_SIZE.
44805         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44806         (_dl_profile_resolve): Likewise.  Update comment.
44807         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44808         symbols stack frame offsets.
44809         (__sigsetjmp): Likewise.
44810         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44811         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44812         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44813         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44816         (FRAME_BACKCHAIN): Remove.
44817         (FRAME_CR_SAVE): Likewise.
44818         (FRAME_LR_SAVE): Likewise.
44819         (FRAME_COMPILER_DW): Likewise.
44820         (FRAME_LINKER_DW): Likewise.
44821         (FRAME_TOC_SAVE): Likewise.
44822         (FRAME_PARM_SAVE): Likewise.
44823         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44824         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44825         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44827         (CHECK_SP): Use symbolic stack frame offsets.
44828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44829         zone" instead of caller's parameter save area for temp storage.
44830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44831         Likewise.  Also, use symbolic stack frame offsets.
44832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44833         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44834         our own stack frame instead of the caller's.
44835         (__socket): Use symbolic stack frame offsets.
44837 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44838             Alan Modra  <amodra@gmail.com>
44840         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44841         Define.
44842         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44843         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44844         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44845         New function.
44846         (elf_machine_fixup_plt): Call it.
44847         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44848         reloc arguments.
44849         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44850         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44851         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44852         r2 before calling target.
44854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44855             Alan Modra  <amodra@gmail.com>
44857         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44858         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44859         versions of macros to support ELFv2 ABI.
44860         (LOCALENTRY): New macro.
44861         (ENTRY, EALIGN): Use it.
44862         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44863         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44864         fall through into ENTRY entry point.
44865         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44866         Only define if _CALL_ELF != 2.
44868         (elf_machine_matches_host): Verify ABI version matches.
44869         (RTLD_START): Use LOCALENTRY.
44870         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44871         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44872         (PLT_ENTRY_WORDS): New macro.
44873         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44874         (elf_machine_runtime_setup): Support ELFv2 ABI.
44875         (elf_machine_fixup_plt): Likewise.
44876         (elf_machine_plt_conflict): Likewise.
44877         (resolve_ifunc): Likewise.
44878         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44879         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44880         Likewise.
44881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44882         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44884         (makecontext): Support ELFv2 ABI.
44885         * elf/elf.h (EF_PPC64_ABI): Define.
44887 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44889         * sysdeps/powerpc/powerpc64/sysdep.h
44890         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44891         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44892         (ENTRY) [ASSEMBLER]: ... but instead here ...
44893         (EALIGN) [ASSEMBLER]: ... and here.
44894         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44895         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44896         (ENTRY_2) [!ASSEMBLER]: Use it.
44897         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44898         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44899         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44900         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44901         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44903         Use PPC64_LOAD_FUNCPTR.
44905         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44907 2013-12-04  Alan Modra  <amodra@gmail.com>
44909         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44910         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44911         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44912         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44915         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44916         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44917         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44918         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44919         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44921 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44924         (__makecontext): Fix incorrect CFI when backtracing out of
44925         context created via makecontext.
44926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44927         (__setcontext): Fix incorrect CFI during switch to new context.
44928         (__novec_setcontext): Likewise.
44930 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44932         [BZ #4772]
44933         * time/strptime_l.c (__strptime_internal): Allow modifiers
44934         in strptime.
44935         * time/tst-strptime.c (day_tests): Add testcase.
44937 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44939         * scripts/bench.pl: Skip over blank lines.
44941 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44943         [BZ #926]
44944         * manual/time.texi (Calendar Time): Clarify what timezone functions
44945         use.
44947 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44951 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44953         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44954         implementation.
44955         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44956         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44957         * debug/memset_chk.c (__memset_chk): Likewise.
44958         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44959         * debug/strncpy_chk.c: Likewise.
44961 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44963         [BZ #15268]
44964         [BZ #15425]
44965         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44966         (__ieee754_exp): For possibly underflowing results, check size of
44967         result and force underflow exception if required.
44968         * math/auto-libm-test-in: Add more tests of exp.
44969         * math/auto-libm-test-out: Regenerated.
44970         * sysdeps/i386/fpu/libm-test-ulps: Update.
44971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44973         [BZ #16283]
44974         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44975         * math/w_exp2f.c (__exp2f): Likewise.
44976         * math/w_exp2l.c (__exp2l): Likewise.
44977         * math/auto-libm-test-in: Do not allow missing errno on exp2
44978         underflow.
44979         * math/auto-libm-test-out: Regenerated.
44981 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44983         [BZ #16274]
44984         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44985         handle filename validation.
44986         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44987         (do_open): Delete.
44989 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44991         [BZ #6786]
44992         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44993         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44994         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44995         <float.h>.
44996         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44997         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44998         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45000         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45001         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45002         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45003         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45004         Add more erfc tests.
45005         * math/auto-libm-test-out: Regenerated.
45006         * sysdeps/i386/fpu/libm-test-ulps: Update.
45007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45009         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45010         exp2, expm1, j0 and j1.
45011         * math/auto-libm-test-out: Regenerated.
45012         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45013         (erfc_test_data): Likewise.
45014         (exp_test_data): Likewise.
45015         (exp_tonearest_test_data): Likewise.
45016         (exp_towardzero_test_data): Likewise.
45017         (exp_downward_test_data): Likewise.
45018         (exp_upward_test_data): Likewise.
45019         (exp10_test_data): Likewise.
45020         (exp2_test_data): Likewise.
45021         (expm1_test_data): Likewise.
45022         (j0_test_data): Likewise.
45023         (j1_test_data): Likewise.
45024         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45025         (input_flag_type): Add flag_xfail_rounding.
45026         (input_flags): Add xfail-rounding.
45027         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45028         (output_for_one_input_case): Handle flag_xfail_rounding.
45029         * sysdeps/i386/fpu/libm-test-ulps: Update.
45030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45032 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45034         [BZ #16289]
45035         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45036         division by 0.
45038 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45040         [BZ #16195]
45041         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45042         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45043         (STAP_PROBE0): New macro.
45044         (STAP_PROBE1): Likewise.
45045         (STAP_PROBE2): Likewise.
45046         (STAP_PROBE3): Likewise.
45047         (STAP_PROBE4): Likewise.
45049 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45051         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45053 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45055         * benchtests/Makefile (bench): Add sqrt.
45056         (LDLIBS-bench-sqrt): New.
45057         * benchtests/sqrt-input: New.
45059 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45061         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45062         (GAIH_EAI): Likewise.
45063         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45064         (gaih_inet): Likewise.
45065         (getaddrinfo): Don't use GAIH_EAI.
45067         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45068         (struct gaih): Remove definition.
45070 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45072         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45073         Use HERRNOP directly.
45075 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45079 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45081         * math/gen-auto-libm-tests.c (test_functions): Add more
45082         single-argument functions.
45083         (special_fill_pi_2): New function.
45084         (special_fill_minus_pi_2): Likewise.
45085         (special_fill_pi_6): Likewise.
45086         (special_fill_minus_pi_6): Likewise.
45087         (special_fill_pi_3): Likewise.
45088         (special_fill_2pi_3): Likewise.
45089         (special_fill_e): Likewise.
45090         (special_fill_1_e): Likewise.
45091         (special_fill_e_minus_1): Likewise.
45092         (special_real_inputs): Add more special inputs.
45093         (output_for_one_input_case): Do not require ERANGE on underflow to
45094         zero if round-to-nearest result does not underflow to zero, unless
45095         exact results required.
45096         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45097         atan, atanh, cbrt, cos and cosh.
45098         * math/auto-libm-test-out: Regenerated.
45099         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45100         (acos_tonearest_test_data): Likewise.
45101         (acos_towardzero_test_data): Likewise.
45102         (acos_downward_test_data): Likewise.
45103         (acos_upward_test_data): Likewise.
45104         (acosh_test_data): Likewise.
45105         (asin_test_data): Likewise.
45106         (asin_tonearest_test_data): Likewise.
45107         (asin_towardzero_test_data): Likewise.
45108         (asin_upward_test_data): Likewise.
45109         (asinh_test_data): Likewise.
45110         (atan_test_data): Likewise.
45111         (atanh_test_data): Likewise.
45112         (cbrt_test_data): Likewise.
45113         (cos_test_data): Likewise.
45114         (cos_tonearest_test_data): Likewise.
45115         (cos_towardzero_test_data): Likewise.
45116         (cos_downward_test_data): Likewise.
45117         (cos_upward_test_data): Likewise.
45118         (cosh_test_data): Likewise.
45119         (cosh_tonearest_test_data): Likewise.
45120         (cosh_towardzero_test_data): Likewise.
45121         (cosh_downward_test_data): Likewise.
45122         (cosh_upward_test_data): Likewise.
45123         * sysdeps/i386/fpu/libm-test-ulps: Update.
45124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45126 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #6787]
45129         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45130         * math/w_exp10f.c (__exp10f): Likewise.
45131         * math/w_exp10l.c (__exp10l): Likewise.
45132         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45133         errno settings in existing tests.
45135         [BZ #14032]
45136         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45137         precision control set to double precision.
45138         * sysdeps/i386/fpu/w_sqrt.c: New file.
45139         * math/auto-libm-test-in: Add more tests.
45140         * math/auto-libm-test-out: Update.
45142         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45143         (sqrt_test_tonearest): New function.
45144         (sqrt_towardzero_test_data): New variable.
45145         (sqrt_test_towardzero): New function.
45146         (sqrt_downward_test_data): New variable.
45147         (sqrt_test_downward): New function.
45148         (sqrt_upward_test_data): New variable.
45149         (sqrt_test_upward): New function.
45150         (main): Call the new functions.
45152         * math/gen-auto-libm-tests.c: New file.
45153         * math/auto-libm-test-in: Likewise.
45154         * math/auto-libm-test-out: New generated file.
45155         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45156         variables.
45157         (%beautify): Add generated representations of zero.
45158         (top level): Set $auto_input and call parse_auto_input.
45159         (beautify): Remove trailing "f" from hex float constants.
45160         (parse_args): Handle XFAIL_TEST.
45161         (convert_condition): New function.
45162         (or_value): Likewise.
45163         (or_cond_value): Likewise.
45164         (generate_testfile): Handle AUTO_TESTS_* lines.
45165         (parse_auto_input): New function.
45166         * math/libm-test.inc (XFAIL_TEST): New macro.
45167         (ERRNO_UNCHANGED): Update value.
45168         (ERRNO_EDOM): Likewise.
45169         (ERRNO_ERANGE): Likewise.
45170         (IGNORE_RESULT): Likewise.
45171         (TEST_COND_flt_32): New macro.
45172         (TEST_COND_dbl_64): Likewise.
45173         (TEST_COND_ldbl_96_intel): Likewise.
45174         (TEST_COND_ldbl_96_m68k): Likewise.
45175         (TEST_COND_ldbl_128): Likewise.
45176         (TEST_COND_ldbl_128ibm): Likewise.
45177         (TEST_COND_long32): Likewise.
45178         (TEST_COND_long64): Likewise.
45179         (TEST_COND_before_rounding): Likewise.
45180         (TEST_COND_after_rounding): Likewise.
45181         (enable_test): Handle XFAIL_TEST flag.
45182         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45183         with finite results.
45184         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45185         auto-libm-test-out.
45187 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45188             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45190         [BZ #16214]
45191         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45192         __tls_get_addr_internal instead of __tls_get_offset in order to
45193         avoid GOT pointer dependency.  Make rtld export
45194         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45195         __tls_get_addr since we are a __tls_get_offset platform.
45196         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45197         GOT pointer being set up before.
45198         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45200 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45202         * manual/math.texi (Errors in Math Functions): Document accuracy
45203         goals.
45205         [BZ #15004]
45206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45207         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45210         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45212         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45215         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45223         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45224         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45225         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45226         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45227         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45228         Likewise.
45229         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45230         Likewise.
45231         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45232         Likewise.
45233         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45234         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45235         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45236         atomic-feupdateenv and flt-rounds.
45237         * sysdeps/powerpc/nofpu/Versions (libc): Add
45238         __atomic_feholdexcept, __atomic_feclearexcept,
45239         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45240         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45241         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45242         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45243         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45244         here.
45245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45246         Update.
45248         * manual/arith.texi (FP Exceptions): Document that exceptions may
45249         not be raised when matherr is used.
45250         (Math Error Reporting): Document overflow in directed rounding
45251         modes.  Document that errno may not be set when finite values are
45252         returned on overflow.  Document intent to set errno on underflow
45253         only for underflow to zero.
45255         [BZ #16271]
45256         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45257         round-to-nearest then adjust result for other rounding modes.
45258         * include/fenv.h (fegetround): Use libm_hidden_proto.
45259         * math/fegetround.c (fegetround): Use libm_hidden_def.
45260         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45261         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45262         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45263         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45264         Likewise.
45265         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45266         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45267         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45268         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45270 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45272         [BZ #16077]
45273         * nss/Versions (libnss_files): Add
45274         _nss_files_gethostbyname3_r.
45275         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45276         New function.
45277         (HOST_DB_LOOKUP): Remove macro.
45278         (_nss_files_gethostbyname_r): Implement function without the
45279         HOST_DB_LOOKUP macro.
45280         (_nss_files_gethostbyname2_r): Likewise.
45282 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45284         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45286 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45288         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45289         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45290         warning.
45292 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45294         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45295         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45296         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45297         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45298         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45299         __fe_nomask_env_priv and attribute_hidden.
45300         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45301         (libc_feupdateenv_test_ppc): Likewise.
45302         (libc_feresetround_ppc): Likewise.
45303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45304         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45305         compat_symbol macro.
45306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45307         (__fe_nomask_env): Likewise.
45308         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45310 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45312         * string/Makefile: Remove ifunc tests.
45313         * string/test-string.h: Define TEST_IFUNC.
45314         * string/test-bcopy-ifunc.c: Remove.
45315         * string/test-bzero-ifunc.c: Likewise.
45316         * string/test-memccpy-ifunc.c: Likewise.
45317         * string/test-memchr-ifunc.c: Likewise.
45318         * string/test-memcmp-ifunc.c: Likewise.
45319         * string/test-memcpy-ifunc.c: Likewise.
45320         * string/test-memmem-ifunc.c: Likewise.
45321         * string/test-memmove-ifunc.c: Likewise.
45322         * string/test-mempcpy-ifunc.c: Likewise.
45323         * string/test-memrchr-ifunc.c: Likewise.
45324         * string/test-memset-ifunc.c: Likewise.
45325         * string/test-rawmemchr-ifunc.c: Likewise.
45326         * string/test-stpcpy-ifunc.c: Likewise.
45327         * string/test-stpncpy-ifunc.c: Likewise.
45328         * string/test-strcasecmp-ifunc.c: Likewise.
45329         * string/test-strcasestr-ifunc.c: Likewise.
45330         * string/test-strcat-ifunc.c: Likewise.
45331         * string/test-strchr-ifunc.c: Likewise.
45332         * string/test-strchrnul-ifunc.c: Likewise.
45333         * string/test-strcmp-ifunc.c: Likewise.
45334         * string/test-strcpy-ifunc.c: Likewise.
45335         * string/test-strcspn-ifunc.c: Likewise.
45336         * string/test-strlen-ifunc.c: Likewise.
45337         * string/test-strncasecmp-ifunc.c: Likewise.
45338         * string/test-strncat-ifunc.c: Likewise.
45339         * string/test-strncmp-ifunc.c: Likewise.
45340         * string/test-strncpy-ifunc.c: Likewise.
45341         * string/test-strnlen-ifunc.c: Likewise.
45342         * string/test-strpbrk-ifunc.c: Likewise.
45343         * string/test-strrchr-ifunc.c: Likewise.
45344         * string/test-strspn-ifunc.c: Likewise.
45345         * string/test-strstr-ifunc.c: Likewise.
45347 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45349         * benchtests/Makefile: Remove ifunc tests.
45350         * benchtests/bench-string.h: Define TEST_IFUNC.
45351         * benchtests/bench-bcopy-ifunc.c: Remove.
45352         * benchtests/bench-bzero-ifunc.c: Likewise.
45353         * benchtests/bench-memccpy-ifunc.c: Likewise.
45354         * benchtests/bench-memchr-ifunc.c: Likewise.
45355         * benchtests/bench-memcmp-ifunc.c: Likewise.
45356         * benchtests/bench-memcpy-ifunc.c: Likewise.
45357         * benchtests/bench-memmem-ifunc.c: Likewise.
45358         * benchtests/bench-memmove-ifunc.c: Likewise.
45359         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45360         * benchtests/bench-memrchr-ifunc.c: Likewise.
45361         * benchtests/bench-memset-ifunc.c: Likewise.
45362         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45363         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45364         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45365         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45366         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45367         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45368         * benchtests/bench-strcat-ifunc.c: Likewise.
45369         * benchtests/bench-strchr-ifunc.c: Likewise.
45370         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45371         * benchtests/bench-strcmp-ifunc.c: Likewise.
45372         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45373         * benchtests/bench-strcpy-ifunc.c: Likewise.
45374         * benchtests/bench-strcspn-ifunc.c: Likewise.
45375         * benchtests/bench-strlen-ifunc.c: Likewise.
45376         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45377         * benchtests/bench-strncat-ifunc.c: Likewise.
45378         * benchtests/bench-strncmp-ifunc.c: Likewise.
45379         * benchtests/bench-strncpy-ifunc.c: Likewise.
45380         * benchtests/bench-strnlen-ifunc.c: Likewise.
45381         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45382         * benchtests/bench-strrchr-ifunc.c: Likewise.
45383         * benchtests/bench-strsep-ifunc.c: Likewise.
45384         * benchtests/bench-strspn-ifunc.c: Likewise.
45385         * benchtests/bench-strstr-ifunc.c: Likewise.
45387 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45389         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45391 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45393         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45394         * rt/aio.h: Likewise.
45395         * sysdeps/gnu/bits/utmp.h: Likewise.
45396         * sysdeps/gnu/bits/utmpx.h: Likewise.
45397         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45398         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45399         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45400         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45401         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45402         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45403         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45404         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45405         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45406         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45407         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45408         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45409         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45411         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45412         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45413         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45414         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45415         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45416         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45417         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45418         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45419         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45420         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45421         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45422         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45423         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45424         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45425         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45426         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45427         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45428         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45429         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45430         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45431         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45432         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45433         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45434         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45435         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45436         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45437         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45438         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45440 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45442         [BZ #16245]
45443         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45444         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45446 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45448         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45449         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45450         Likewise.
45452 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45454         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45455         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45456         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45457         (__fesetround): Remove define.
45458         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45459         rounding and exceptions handling.
45460         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45461         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45462         (__fe_nomask_env): Likewise.
45463         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45464         __fegetround instead of fegetround.
45465         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45466         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45468 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45470         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45471         it's there.
45473         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45475 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45477         [BZ #11157]
45478         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45479         (encrypt_r): Likewise.
45480         * malloc/obstack.h (obstack_free): Likewise.
45481         * posix/unistd.h (encrypt): Likewise.
45483 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45485         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45486         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45487         DL_CALL_DT_FINI() that call the functions directly.
45488         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45489         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45490         * elf/dl-fini.c: Likewise.
45492 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45494         * malloc/hooks.c (memalign_check): Add alignment rounding.
45495         * malloc/malloc.c (_mid_memalign): New function.
45496         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45497         Implement by calling _mid_memalign.
45498         * manual/probes.texi (Memory Allocation Probes): Remove
45499         memory_valloc_retry and memory_pvalloc_retry.
45501 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503         * locale/programs/locarchive.c (open_archive): Add const
45504         qualifier to ARCHIVEFNAME and copy default fname to
45505         DEFAULT_FNAME.
45507         [BZ #15601]
45508         * libio/tst-widetext.input: Rename Oriya to Odia.
45509         * locale/iso-639.def: Likewise.
45511         * manual/probes.texi (Mathematical Function Probes): Add
45512         documentation for sin, cos, asin and acos probes.
45513         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45514         (__sin32): Add slowasin probe.
45515         (__cos32): Add slowacos probe.
45516         (__mpsin): Add slowsin probe.
45517         (__mpcos): Add slowcos probe.
45519 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45521         [BZ #15483]
45522         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45523         thread-local __sim_exceptions_thread and global
45524         __sim_exceptions_global.
45525         (__sim_disabled_exceptions): Change to thread-local
45526         __sim_disabled_exceptions_thread and global
45527         __sim_disabled_exceptions_global.
45528         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45529         and global __sim_round_mode_global.
45530         (__simulate_exceptions): Use thread-local floating-point state and
45531         set global state from it as needed.
45532         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45533         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45534         __sim_round_mode_thread.
45535         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45536         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45537         and global __sim_exceptions_global.
45538         (__sim_disabled_exceptions): Change to thread-local
45539         __sim_disabled_exceptions_thread and global
45540         __sim_disabled_exceptions_global.
45541         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45542         and global __sim_round_mode_global.
45543         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45544         (SIM_SET_GLOBAL): Likewise.
45545         * sysdeps/powerpc/soft-fp/sfp-machine.h
45546         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45547         __sim_round_mode_thread.
45548         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45549         __sim_disabled_exceptions_thread.
45550         (__sim_exceptions): Change to __sim_exceptions_thread.
45551         (__sim_disabled_exceptions): Change to
45552         __sim_disabled_exceptions_thread.
45553         (__sim_round_mode): Change to __sim_round_mode_thread.
45554         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45555         thread-local floating-point state and set global state from it as
45556         needed.
45557         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45558         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45559         (__sim_disabled_exceptions): Remove extern declaration.
45560         (feenableexcept): Use thread-local floating-point state and set
45561         global state from it as needed.
45562         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45563         extern declaration.
45564         (__sim_disabled_exceptions): Likewise.
45565         (__sim_round_mode): Likewise.
45566         (__fegetenv): Use thread-local floating-point state.
45567         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45568         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45569         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45570         floating-point state and set global state from it as needed.
45571         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45572         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45573         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45574         Likewise.
45575         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45576         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45577         Likewise.
45578         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45579         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45580         Use __sim_round_mode_thread.
45581         * math/test-fenv-tls.c: New file.
45582         * math/Makefile (tests): Add test-fenv-tls.
45583         ($(objpfx)test-fenv-tls): Depend on
45584         $(common-objpfx)nptl/libpthread.so.
45586 2013-11-19  Andreas Schwab  <schwab@suse.de>
45588         * locale/programs/locale.c (show_info): Decode wordarray elements.
45589         * locale/categories.def (LC_MONETARY): Add element for
45590         _NL_MONETARY_CRNCYSTR.
45591         * locale/C-monetary.c (conversion_rate): New variable.
45592         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45593         element.
45595 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45597         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45598         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45600 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45602         * elf/Makefile (tst-auxv): New test.
45603         * elf/tst-auxv.c: New
45604         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45606 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45608         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45609         (hidden_proto): Caller changed.
45610         (hidden_tls_proto): New macro.
45611         (libc_hidden_tls_proto): Likewise.
45612         (rtld_hidden_tls_proto): Likewise.
45613         (libm_hidden_tls_proto): Likewise.
45614         (libresolv_hidden_tls_proto): Likewise.
45615         (librt_hidden_tls_proto): Likewise.
45616         (libdl_hidden_tls_proto): Likewise.
45617         (libnss_files_hidden_tls_proto): Likewise.
45618         (libnsl_hidden_tls_proto): Likewise.
45619         (libnss_nisplus_hidden_tls_proto): Likewise.
45620         (libutil_hidden_tls_proto): Likewise.
45622 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45624         [BZ #10253]
45625         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45626         (decompose_rpath): Defer expansion to fillin_rpath.
45627         (_dl_init_paths): Pass linkmap to fillin_rpath.
45629 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45631         * benchtests/Makefile: Add strsep.
45632         * benchtests/bench-strsep.c: New file: strsep benchtest.
45633         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45635 2013-11-18  Andreas Schwab  <schwab@suse.de>
45637         * locale/programs/locale.c (show_info) [case byte]: Check for
45638         '\377' instead of '\177'.
45639         * locale/C-monetary.c (not_available): Always use "\377".
45640         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45641         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45642         detect unavailable sign_posn locale elements.
45643         * locale/localeconv.c (__localeconv): For grouping and
45644         mon_grouping handle "\177" and "\377" like no grouping.
45645         (INT_ELEM): New macro.  Use it to set all numeric members.
45646         * locale/programs/ld-monetary.c (monetary_read)
45647         <tok_mon_grouping>: Normalize single -1 to the empty string.
45648         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45649         Likewise.
45651 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45653         [BZ #16055]
45654         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45655         when we match (nil).
45656         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45658 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45660         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45661         (NO_TEST_INLINE): Update value.
45662         (ERRNO_UNCHANGED): Likewise.
45663         (ERRNO_EDOM): Likewise.
45664         (ERRNO_ERANGE): Likewise.
45665         (IGNORE_RESULT): Likewise.
45666         (check_float_internal): Check signs of NaN results if
45667         TEST_NAN_SIGN used.
45668         (check_complex): Pass TEST_NAN_SIGN flag through to second
45669         check_float_internal call.
45670         (copysign_test_data): Add tests with quiet NaNs as second
45671         argument.  Use TEST_NAN_SIGN.
45672         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45673         TEST_NAN_SIGN.
45674         (signbit_test_data): Add tests of quiet NaN argument.
45675         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45677         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45678         $ignore_result.
45679         (parse_args): Handle function results specified as IGNORE.
45680         * math/libm-test.inc (IGNORE_RESULT): New macro.
45681         (check_float_internal): Do not check numerical result if flag
45682         IGNORE_RESULT set.
45683         (check_complex): Pass through IGNORE_RESULT to second
45684         check_float_internal call.
45685         (check_int): Do not check numerical result if flag IGNORE_RESULT
45686         set.
45687         (check_long): Likewise.
45688         (check_bool): Likewise.
45689         (check_longlong): Likewise.
45690         (lrint_test_data): Add tests of infinite and NaN arguments.
45691         (lrint_tonearest_test_data): Likewise.
45692         (lrint_towardzero_test_data): Likewise.
45693         (lrint_downward_test_data): Likewise.
45694         (lrint_upward_test_data): Likewise.
45695         (llrint_test_data): Likewise.
45696         (llrint_tonearest_test_data): Likewise.
45697         (llrint_towardzero_test_data): Likewise.
45698         (llrint_downward_test_data): Likewise.
45699         (llrint_upward_test_data): Likewise.
45700         (lround_test_data): Likewise.
45701         (llround_test_data): Likewise.
45703         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45704         (ERRNO_UNCHANGED): Update value.
45705         (ERRNO_EDOM): Likewise.
45706         (ERRNO_ERANGE): Likewise.
45707         (NO_TEST_INLINE_FLOAT): New macro.
45708         (NO_TEST_INLINE_DOUBLE): Likewise.
45709         (enable_test): New function.
45710         (RUN_TEST_f_f): Check enable_test before running test.
45711         (RUN_TEST_2_f): Likewise.
45712         (RUN_TEST_fff_f): Likewise.
45713         (RUN_TEST_c_f): Likewise.
45714         (RUN_TEST_f_f1): Likewise.
45715         (RUN_TEST_fF_f1): Likewise.
45716         (RUN_TEST_fI_f1): Likewise.
45717         (RUN_TEST_ffI_f1): Likewise.
45718         (RUN_TEST_c_c): Likewise.
45719         (RUN_TEST_cc_c): Likewise.
45720         (RUN_TEST_f_i): Likewise.
45721         (RUN_TEST_f_i_tg): Likewise.
45722         (RUN_TEST_ff_i_tg): Likewise.
45723         (RUN_TEST_f_b): Likewise.
45724         (RUN_TEST_f_b_tg): Likewise.
45725         (RUN_TEST_f_l): Likewise.
45726         (RUN_TEST_f_L): Likewise.
45727         (RUN_TEST_fFF_11): Likewise.
45728         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45729         conditionals.
45730         (cosh_test_data): Likewise.
45731         (exp_test_data): Likewise.
45732         (expm1_test_data): Likewise.
45733         (hypot_test_data): Likewise.
45734         (pow_test_data): Likewise.
45735         (sinh_test_data): Likewise.
45736         (tanh_test_data): Likewise.
45737         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45738         flags argument.
45740         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45741         tests with quiet NaN input and output.
45742         (acosh_test_data): Likewise.
45743         (asin_test_data): Likewise.
45744         (asinh_test_data): Likewise.
45745         (atan_test_data): Likewise.
45746         (atanh_test_data): Likewise.
45747         (atan2_test_data): Likewise.
45748         (cbrt_test_data): Likewise.
45749         (cos_test_data): Likewise.
45750         (cosh_test_data): Likewise.
45751         (erf_test_data): Likewise.
45752         (erfc_test_data): Likewise.
45753         (exp_test_data): Likewise.
45754         (exp10_test_data): Likewise.
45755         (exp2_test_data): Likewise.
45756         (expm1_test_data): Likewise.
45757         (hypot_test_data): Likewise.
45758         (j0_test_data): Likewise.
45759         (j1_test_data): Likewise.
45760         (jn_test_data): Likewise.
45761         (lgamma_test_data): Likewise.
45762         (log_test_data): Likewise.
45763         (log10_test_data): Likewise.
45764         (log1p_test_data): Likewise.
45765         (log2_test_data): Likewise.
45766         (pow_test_data): Likewise.
45767         (scalb_test_data): Likewise.
45768         (sin_test_data): Likewise.
45769         (sincos_test_data): Likewise.
45770         (sinh_test_data): Likewise.
45771         (tan_test_data): Likewise.
45772         (tanh_test_data): Likewise.
45773         (tgamma_test_data): Likewise.
45774         (y0_test_data): Likewise.
45775         (y1_test_data): Likewise.
45776         (yn_test_data): Likewise.
45778         [BZ #16167]
45779         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45780         argument being NaN and avoid computations with second argument in
45781         that case.
45782         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45783         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45784         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45786 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45788         * locale/iso-639.def: Add Chitwani Tharu (the).
45790 2013-11-14  Andreas Schwab  <schwab@suse.de>
45792         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45793         word instead of empty string.
45795 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45798         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45800         (__fe_nomask_env): Likewise.
45802 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45804         * benchtests/bench-timing.h: Include time.h.
45806 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45808         [BZ #15997]
45809         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45810         to 3.4.0 for x32.
45811         * sysdeps/unix/sysv/linux/configure: Regenerated.
45813 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45815         [BZ #16151]
45816         * stdlib/strtod_l.c (round_and_return): Do not consider
45817         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45818         exponent one less than half the least subnormal exponent.
45819         * stdlib/test-strtod-round-data: Add more tests.
45820         * stdlib/tst-strtod-round.c (tests): Regenerated.
45822 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45824         [BZ #14143]
45825         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45826         (__fe_mask_env): Likewise.
45827         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45828         libm_hidden_proto and add function prototype.
45829         (__fe_mask_env): Add function prototype.
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45831         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45833         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45835         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45837 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45839         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45840         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45842 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45844         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45845         of htab_find_slot().
45847 2013-11-11  David S. Miller  <davem@davemloft.net>
45849         [BZ #16150]
45850         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45851         symbol in the non-vis3 case in static builds.
45852         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45853         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45854         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45855         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45857 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45859         [BZ #387]
45860         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45861         it is empty.
45863 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45865         * benchtests/Makefile: Add bench-strtod.
45866         * benchtests/bench-strtod.c: New file: strtod benchtest
45868 2013-11-11  Andreas Schwab  <schwab@suse.de>
45870         [BZ #16153]
45871         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45872         terminating NUL in key length.
45874 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45876         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45877         Add artificial ODP entry for vDSO symbol for PPC64.
45878         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45879         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45881 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45883         [BZ #15374]
45884         * nss/getent.c (services_keys): Recognize services starting with digit.
45886 2013-11-06  David S. Miller  <davem@davemloft.net>
45888         [BZ #15985]
45889         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45890         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45892 2013-11-06  Will Newton  <will.newton@linaro.org>
45894         * manual/memory.texi (Malloc Examples): Remove register
45895         keyword from examples.
45897 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45899         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45901 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45903         [BZ #6981]
45904         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45905         depending on [__GCC_IEC_559 > 0].
45906         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45907         depending on [__GCC_IEC_559_COMPLEX > 0].
45909 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45911         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45912         to iso-639.def.
45914 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45916         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45918 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45920         [BZ #16112]
45921         * malloc/malloc (malloc_info): Do not handle first bin as
45922         special case.
45924 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45926         * locale/iso-639.def: Add Central Nahuatl (nhn).
45928 2013-11-01  Bruno Haible  <bruno@clisp.org>
45930         [BZ #7003]
45931         * manual/math.texi (BSD Random): Specify range upper bound as
45932         in POSIX.
45934 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45936         * locale/iso-639.def: Add Meadow Mari (mhr).
45938 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45940         [BZ #14752], [BZ #15763]
45941         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45942         Validate name.
45943         * rt/tst_shm.c: Add test for escaping directory.
45945 2013-10-31  Andreas Schwab  <schwab@suse.de>
45947         [BZ #15917]
45948         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45949         followed by 'x' as part of digit sequence.
45950         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45952 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45954         [BZ #16037]
45955         * configure.ac: allow GNU Make 4.0 and greater.
45956         * configure: Regenerated.
45958 2013-10-30  Will Newton  <will.newton@linaro.org>
45960         [BZ #16038]
45961         * malloc/hooks.c (memalign_check): Limit alignment to the
45962         maximum representable power of two.
45963         * malloc/malloc.c (__libc_memalign): Likewise.
45964         * malloc/tst-memalign.c (do_test): Add test for very
45965         large alignment values.
45966         * malloc/tst-posix_memalign.c (do_test): Likewise.
45968 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45970         [BZ #11087]
45971         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45972         (munmap_chunk): Likewise.
45973         (mremap_chunk): Likewise.
45975 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45977         [BZ #15799]
45978         * stdlib/div.c (div): Remove obsolete code.
45979         * stdlib/ldiv.c (ldiv): Likewise.
45980         * stdlib/lldiv.c (lldiv): Likewise.
45982 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45984         [BZ #16071]
45985         * nss/nss_files/files-XXX.c (get_contents_ret): New
45986         enumerator.
45987         (get_contents): New function.
45988         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45990 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45992         * configure.in: Moved to ...
45993         * configure.ac: ... here. Change reference to configure.in
45994         to configure.ac.
45995         * sysdeps/arm/preconfigure.ac: ... here.
45996         configure.in to configure.ac.
45997         * sysdeps/gnu/configure.in: Moved to ...
45998         * sysdeps/gnu/configure.ac: ... here.
45999         * sysdeps/i386/configure.in: Moved to ...
46000         * sysdeps/i386/configure.ac: ... here.
46001         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46002         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46003         * sysdeps/mach/configure.in: Moved to ...
46004         * sysdeps/mach/configure.ac: ... here.
46005         * sysdeps/mach/hurd/configure.in: Moved to ...
46006         * sysdeps/mach/hurd/configure.ac: ... here.
46007         * sysdeps/powerpc/configure.in: Moved to ...
46008         * sysdeps/powerpc/configure.ac: ... here.
46009         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46010         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46011         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46012         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46013         * sysdeps/s390/s390-32/configure.in: Moved to ...
46014         * sysdeps/s390/s390-32/configure.ac: ... here.
46015         * sysdeps/s390/s390-64/configure.in: Moved to ...
46016         * sysdeps/s390/s390-64/configure.ac: ... here.
46017         * sysdeps/sh/configure.in: Moved to ...
46018         * sysdeps/sh/configure.ac: ... here.
46019         * sysdeps/sparc/configure.in: Moved to ...
46020         * sysdeps/sparc/configure.ac: ... here.
46021         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46022         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46023         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46024         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46025         * sysdeps/x86_64/configure.in: Moved to ...
46026         * sysdeps/x86_64/configure.ac: ... here.
46027         * sysdeps/x86_64/preconfigure.in: Moved to ...
46028         * sysdeps/x86_64/preconfigure.ac: ... here.
46029         * aclocal.m4: Change reference to configure.in to configure.ac.
46030         * config.h.in: Likewise.
46031         * manual/install.texi: Likewise.
46032         * manual/maint.texi: Likewise.
46033         * Makefile: Likewise.
46034         * malloc/Makefile: Likewise.
46035         * nscd/Makefile: Likewise.
46036         * Makeconfig: Change reference to configure.in and
46037         preconfigure.in to configure.ac and preconfigure.ac
46038         respectively.
46039         * INSTALL: Regenerated.
46040         * configure: Likewise.
46041         * sysdeps/gnu/configure: Likewise.
46042         * sysdeps/i386/configure: Likewise.
46043         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46044         * sysdeps/mach/configure: Likewise.
46045         * sysdeps/mach/hurd/configure: Likewise.
46046         * sysdeps/powerpc/configure: Likewise.
46047         * sysdeps/powerpc/powerpc32/configure: Likewise.
46048         * sysdeps/powerpc/powerpc64/configure: Likewise.
46049         * sysdeps/s390/s390-32/configure: Likewise.
46050         * sysdeps/s390/s390-64/configure: Likewise.
46051         * sysdeps/sh/configure: Likewise.
46052         * sysdeps/sparc/configure: Likewise.
46053         * sysdeps/unix/sysv/linux/configure: Likewise.
46054         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46055         * sysdeps/x86_64/configure: Likewise.
46056         * sysdeps/x86_64/preconfigure: Likewise.
46058 2013-10-29  Andreas Schwab  <schwab@suse.de>
46060         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46062 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46064         * benchtests/pow-inputs: Add new inputs.
46066         * benchtests/exp-inputs: Add new inputs.
46068         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46069         conditional check for return value.
46070         (__cos32): Likewise.
46072 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46074         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46075         to provide a boost for large inputs with word alignment.
46076         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46077         implementation based on optimized PPC64 strcpy.
46078         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46079         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46080         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46081         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46083 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46085         [BZ #2801]
46086         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46088 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46090         [BZ #14876]
46091         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46092         * time/tst-strptime.c (day_tests): Add testcase.
46094 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46096         [BZ #14029]
46097         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46099 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46101         [BZ #16074]
46102         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46103         MAP_FAILED on error.
46105 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46107         [BZ #16072]
46108         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46109         heap for large requests.
46111 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46113         [BZ #9954]
46114         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46115         result if the result has no associated interface.
46116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46117         interface for all 127.X.Y.Z addresses.
46119 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46121         * locale/iso-639.def: Add Ligurian (lij)
46123 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46125         [BZ #15825]
46126         * sunrpc/rpc_main.c: Document rpcgen -5.
46128 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46130         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46132 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46134         [BZ #10278]
46135         * posix/glob.c: Match only directories when trailing slash is present.
46136         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46137         (main): Add testcase.
46139 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46141         [BZ #15670]
46142         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46144 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46146         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46147         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46148         AUTH_DES and cindex for FIPS 140-2.
46149         (DES Encryption): Add cindex FIPS 46-3.
46151         * locale/locarchive.h (struct locarhandle): Add fname.
46152         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46153         if an optional argument was specified to --list-archive,
46154         otherwise NULL.
46155         * locale/programs/locarchive.c (show_archive_content): Take new
46156         argument fname and pass it via ah.fname to open_archive.
46157         * locale/programs/localedef.h: Update decl.
46158         (open_archive): If AH->fname is non-null, open that file
46159         rather than the default file name, and don't ignore ENOENT.
46160         (create_archive): Set AH.fname to NULL.
46161         (delete_locales_from_archive): Likewise.
46162         (add_locales_to_archive): Likewise.
46163         * locale/programs/locfile.c (write_all_categories): Likewise.
46165 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46166             Aldy Hernandez  <aldyh@redhat.com>
46168         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46169         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46170         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46171         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46172         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46173         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46174         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46175         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46176         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46177         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46178         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46179         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46180         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46181         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46182         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46183         Likewise.
46184         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46185         Likewise.
46186         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46187         Likewise.
46188         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46189         Likewise.
46190         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46191         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46192         Likewise.
46193         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46194         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46195         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46196         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46197         Likewise.
46198         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46199         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46200         * sysdeps/powerpc/preconfigure: Likewise.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46202         Likewise.
46203         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46204         Replace contents of file by #include of <fenv_libc.h>.
46205         * sysdeps/powerpc/soft-fp/sfp-machine.h
46206         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46207         and <sys/prctl.h>.
46208         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46209         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46210         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46211         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46212         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46213         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46218         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46219         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46221         Allow copysignl PLT reference to be missing.
46223 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46224             Joseph Myers  <joseph@codesourcery.com
46226         [BZ #15948]
46227         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46228         single character.
46229         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46231 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46233         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46234         * elf/tst-tls1.c: Likewise.
46235         * elf/tst-tls10.h: Likewise.
46236         * elf/tst-tls14.c: Likewise.
46237         * elf/tst-tls2.c: Likewise.
46238         * elf/tst-tls3.c: Likewise.
46239         * elf/tst-tls4.c: Likewise.
46240         * elf/tst-tls5.c: Likewise.
46241         * elf/tst-tls6.c: Likewise.
46242         * elf/tst-tls7.c: Likewise.
46243         * elf/tst-tls8.c: Likewise.
46244         * elf/tst-tls9.c: Likewise.
46245         * elf/tst-tlsmod1.c: Likewise.
46246         * elf/tst-tlsmod13.c: Likewise.
46247         * elf/tst-tlsmod13a.c: Likewise.
46248         * elf/tst-tlsmod14a.c: Likewise.
46249         * elf/tst-tlsmod16a.c: Likewise.
46250         * elf/tst-tlsmod16b.c: Likewise.
46251         * elf/tst-tlsmod2.c: Likewise.
46252         * elf/tst-tlsmod3.c: Likewise.
46253         * elf/tst-tlsmod4.c: Likewise.
46254         * elf/tst-tlsmod5.c: Likewise.
46255         * elf/tst-tlsmod6.c: Likewise.
46257 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46259         [BZ #12486]
46260         * malloc/malloc.c: remove checks for statistics.
46262 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46264         [BZ #15277]
46265         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46266         * inet/tst-network.c: Add testcase.
46268 2013-10-17  Andreas Schwab  <schwab@suse.de>
46270         [BZ #15218]
46271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46272         to determine canonical name.
46274 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46276         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46277         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46279         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46281         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46282         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46283         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46284         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46285         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46286         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46287         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46288         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46289         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46290         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46291         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46293         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46294         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46295         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46296         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46298         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46299         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46300         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46301         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46303         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46306         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46307         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46308         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46309         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46310         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46311         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46312         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46313         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46316         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46322         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46335 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46337         [BZ #16041]
46338         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46339         make result into a quiet NaN.
46341 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46343         * soft-fp/adddf3.c: Fix horizontal whitespace.
46344         * soft-fp/addsf3.c: Likewise.
46345         * soft-fp/addtf3.c: Likewise.
46346         * soft-fp/divdf3.c: Likewise.
46347         * soft-fp/divsf3.c: Likewise.
46348         * soft-fp/divtf3.c: Likewise.
46349         * soft-fp/double.h: Likewise.
46350         * soft-fp/eqdf2.c: Likewise.
46351         * soft-fp/eqsf2.c: Likewise.
46352         * soft-fp/eqtf2.c: Likewise.
46353         * soft-fp/extenddftf2.c: Likewise.
46354         * soft-fp/extended.h: Likewise.
46355         * soft-fp/extendsfdf2.c: Likewise.
46356         * soft-fp/extendsftf2.c: Likewise.
46357         * soft-fp/extendxftf2.c: Likewise.
46358         * soft-fp/fixdfdi.c: Likewise.
46359         * soft-fp/fixdfsi.c: Likewise.
46360         * soft-fp/fixdfti.c: Likewise.
46361         * soft-fp/fixsfdi.c: Likewise.
46362         * soft-fp/fixsfsi.c: Likewise.
46363         * soft-fp/fixsfti.c: Likewise.
46364         * soft-fp/fixtfdi.c: Likewise.
46365         * soft-fp/fixtfsi.c: Likewise.
46366         * soft-fp/fixtfti.c: Likewise.
46367         * soft-fp/fixunsdfdi.c: Likewise.
46368         * soft-fp/fixunsdfsi.c: Likewise.
46369         * soft-fp/fixunsdfti.c: Likewise.
46370         * soft-fp/fixunssfdi.c: Likewise.
46371         * soft-fp/fixunssfsi.c: Likewise.
46372         * soft-fp/fixunssfti.c: Likewise.
46373         * soft-fp/fixunstfdi.c: Likewise.
46374         * soft-fp/fixunstfsi.c: Likewise.
46375         * soft-fp/fixunstfti.c: Likewise.
46376         * soft-fp/floatdidf.c: Likewise.
46377         * soft-fp/floatdisf.c: Likewise.
46378         * soft-fp/floatditf.c: Likewise.
46379         * soft-fp/floatsidf.c: Likewise.
46380         * soft-fp/floatsisf.c: Likewise.
46381         * soft-fp/floatsitf.c: Likewise.
46382         * soft-fp/floattidf.c: Likewise.
46383         * soft-fp/floattisf.c: Likewise.
46384         * soft-fp/floattitf.c: Likewise.
46385         * soft-fp/floatundidf.c: Likewise.
46386         * soft-fp/floatundisf.c: Likewise.
46387         * soft-fp/floatunditf.c: Likewise.
46388         * soft-fp/floatunsidf.c: Likewise.
46389         * soft-fp/floatunsisf.c: Likewise.
46390         * soft-fp/floatunsitf.c: Likewise.
46391         * soft-fp/floatuntidf.c: Likewise.
46392         * soft-fp/floatuntisf.c: Likewise.
46393         * soft-fp/floatuntitf.c: Likewise.
46394         * soft-fp/fmadf4.c: Likewise.
46395         * soft-fp/fmasf4.c: Likewise.
46396         * soft-fp/fmatf4.c: Likewise.
46397         * soft-fp/gedf2.c: Likewise.
46398         * soft-fp/gesf2.c: Likewise.
46399         * soft-fp/getf2.c: Likewise.
46400         * soft-fp/ledf2.c: Likewise.
46401         * soft-fp/lesf2.c: Likewise.
46402         * soft-fp/letf2.c: Likewise.
46403         * soft-fp/muldf3.c: Likewise.
46404         * soft-fp/mulsf3.c: Likewise.
46405         * soft-fp/multf3.c: Likewise.
46406         * soft-fp/negdf2.c: Likewise.
46407         * soft-fp/negsf2.c: Likewise.
46408         * soft-fp/negtf2.c: Likewise.
46409         * soft-fp/op-1.h: Likewise.
46410         * soft-fp/op-2.h: Likewise.
46411         * soft-fp/op-4.h: Likewise.
46412         * soft-fp/op-8.h: Likewise.
46413         * soft-fp/op-common.h: Likewise.
46414         * soft-fp/quad.h: Likewise.
46415         * soft-fp/single.h: Likewise.
46416         * soft-fp/soft-fp.h: Likewise.
46417         * soft-fp/sqrtdf2.c: Likewise.
46418         * soft-fp/sqrtsf2.c: Likewise.
46419         * soft-fp/sqrttf2.c: Likewise.
46420         * soft-fp/subdf3.c: Likewise.
46421         * soft-fp/subsf3.c: Likewise.
46422         * soft-fp/subtf3.c: Likewise.
46423         * soft-fp/truncdfsf2.c: Likewise.
46424         * soft-fp/trunctfdf2.c: Likewise.
46425         * soft-fp/trunctfsf2.c: Likewise.
46426         * soft-fp/trunctfxf2.c: Likewise.
46427         * soft-fp/unorddf2.c: Likewise.
46428         * soft-fp/unordsf2.c: Likewise.
46429         * soft-fp/unordtf2.c: Likewise.
46431 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46433         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46434         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46436 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46438         * elf/dl-libc.c: Clear initfini list after freeing.
46440 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46442         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46443         * soft-fp/addsf3.c: Likewise.
46444         * soft-fp/addtf3.c: Likewise.
46445         * soft-fp/divdf3.c: Likewise.
46446         * soft-fp/divsf3.c: Likewise.
46447         * soft-fp/divtf3.c: Likewise.
46448         * soft-fp/double.h: Likewise.
46449         * soft-fp/eqdf2.c: Likewise.
46450         * soft-fp/eqsf2.c: Likewise.
46451         * soft-fp/eqtf2.c: Likewise.
46452         * soft-fp/extenddftf2.c: Likewise.
46453         * soft-fp/extended.h: Likewise.
46454         * soft-fp/extendsfdf2.c: Likewise.
46455         * soft-fp/extendsftf2.c: Likewise.
46456         * soft-fp/extendxftf2.c: Likewise.
46457         * soft-fp/fixdfdi.c: Likewise.
46458         * soft-fp/fixdfsi.c: Likewise.
46459         * soft-fp/fixdfti.c: Likewise.
46460         * soft-fp/fixsfdi.c: Likewise.
46461         * soft-fp/fixsfsi.c: Likewise.
46462         * soft-fp/fixsfti.c: Likewise.
46463         * soft-fp/fixtfdi.c: Likewise.
46464         * soft-fp/fixtfsi.c: Likewise.
46465         * soft-fp/fixtfti.c: Likewise.
46466         * soft-fp/fixunsdfdi.c: Likewise.
46467         * soft-fp/fixunsdfsi.c: Likewise.
46468         * soft-fp/fixunsdfti.c: Likewise.
46469         * soft-fp/fixunssfdi.c: Likewise.
46470         * soft-fp/fixunssfsi.c: Likewise.
46471         * soft-fp/fixunssfti.c: Likewise.
46472         * soft-fp/fixunstfdi.c: Likewise.
46473         * soft-fp/fixunstfsi.c: Likewise.
46474         * soft-fp/fixunstfti.c: Likewise.
46475         * soft-fp/floatdidf.c: Likewise.
46476         * soft-fp/floatdisf.c: Likewise.
46477         * soft-fp/floatditf.c: Likewise.
46478         * soft-fp/floatsidf.c: Likewise.
46479         * soft-fp/floatsisf.c: Likewise.
46480         * soft-fp/floatsitf.c: Likewise.
46481         * soft-fp/floattidf.c: Likewise.
46482         * soft-fp/floattisf.c: Likewise.
46483         * soft-fp/floattitf.c: Likewise.
46484         * soft-fp/floatundidf.c: Likewise.
46485         * soft-fp/floatundisf.c: Likewise.
46486         * soft-fp/floatunsidf.c: Likewise.
46487         * soft-fp/floatunsisf.c: Likewise.
46488         * soft-fp/floatuntidf.c: Likewise.
46489         * soft-fp/floatuntisf.c: Likewise.
46490         * soft-fp/floatuntitf.c: Likewise.
46491         * soft-fp/fmadf4.c: Likewise.
46492         * soft-fp/fmasf4.c: Likewise.
46493         * soft-fp/fmatf4.c: Likewise.
46494         * soft-fp/gedf2.c: Likewise.
46495         * soft-fp/gesf2.c: Likewise.
46496         * soft-fp/getf2.c: Likewise.
46497         * soft-fp/ledf2.c: Likewise.
46498         * soft-fp/lesf2.c: Likewise.
46499         * soft-fp/letf2.c: Likewise.
46500         * soft-fp/muldf3.c: Likewise.
46501         * soft-fp/mulsf3.c: Likewise.
46502         * soft-fp/multf3.c: Likewise.
46503         * soft-fp/negdf2.c: Likewise.
46504         * soft-fp/negsf2.c: Likewise.
46505         * soft-fp/negtf2.c: Likewise.
46506         * soft-fp/op-1.h: Likewise.
46507         * soft-fp/op-2.h: Likewise.
46508         * soft-fp/op-4.h: Likewise.
46509         * soft-fp/op-8.h: Likewise.
46510         * soft-fp/op-common.h: Likewise.
46511         * soft-fp/quad.h: Likewise.
46512         * soft-fp/single.h: Likewise.
46513         * soft-fp/soft-fp.h: Likewise.
46514         * soft-fp/sqrtdf2.c: Likewise.
46515         * soft-fp/sqrtsf2.c: Likewise.
46516         * soft-fp/sqrttf2.c: Likewise.
46517         * soft-fp/subdf3.c: Likewise.
46518         * soft-fp/subsf3.c: Likewise.
46519         * soft-fp/subtf3.c: Likewise.
46520         * soft-fp/truncdfsf2.c: Likewise.
46521         * soft-fp/trunctfdf2.c: Likewise.
46522         * soft-fp/trunctfsf2.c: Likewise.
46523         * soft-fp/trunctfxf2.c: Likewise.
46524         * soft-fp/unorddf2.c: Likewise.
46525         * soft-fp/unordsf2.c: Likewise.
46526         * soft-fp/unordtf2.c: Likewise.
46528 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46530         [BZ #15672]
46531         * misc/error.c (error_tail): Fix possible buffer overflow.
46533 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46535         [BZ #13028]
46536         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46537         address.
46539 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46541         [BZ #832]
46542         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46543         testing pipefail option.
46545 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46547         * soft-fp/double.h: Indent preprocessor directives inside #if.
46548         * soft-fp/extended.h: Likewise.
46549         * soft-fp/op-2.h: Likewise.
46550         * soft-fp/op-4.h: Likewise.
46551         * soft-fp/op-common.h: Likewise.
46552         * soft-fp/quad.h: Likewise.
46553         * soft-fp/single.h: Likewise.
46554         * soft-fp/soft-fp.h: Likewise.
46556 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46558         * iconv/iconv_prog.c: Fix typos.
46559         * stdio-common/psiginfo-data.h: Likewise.
46561 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46563         [BZ #15764]
46564         * locale/setlocale.c: Fix typo.
46566 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46568         [BZ #16036]
46569         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46570         signaling NaN arguments.
46571         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46572         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46574         [BZ #14910]
46575         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46576         unordered operands.
46577         * soft-fp/gesf2.c (__gesf2): Likewise.
46578         * soft-fp/getf2.c (__getf2): Likewise.
46579         * soft-fp/ledf2.c (__ledf2): Likewise.
46580         * soft-fp/lesf2.c (__lesf2): Likewise.
46581         * soft-fp/letf2.c (__letf2): Likewise.
46583         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46584         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46585         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46586         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46587         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46588         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46589         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46590         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46591         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46592         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46593         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46594         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46595         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46596         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46597         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46598         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46599         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46600         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46601         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46602         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46603         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46604         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46605         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46606         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46607         * soft-fp/floattidf.c (__floattidf): Likewise.
46608         * soft-fp/floattisf.c (__floattisf): Likewise.
46609         * soft-fp/floattitf.c (__floattitf): Likewise.
46610         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46611         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46612         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46613         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46614         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46615         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46616         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46617         * soft-fp/gesf2.c (__gesf2): Likewise.
46618         * soft-fp/getf2.c (__getf2): Likewise.
46619         * soft-fp/ledf2.c (__ledf2): Likewise.
46620         * soft-fp/lesf2.c (__lesf2): Likewise.
46621         * soft-fp/letf2.c (__letf2): Likewise.
46623         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46624         Undefine and redefine.
46625         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46626         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46627         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46628         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46629         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46630         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46631         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46632         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46633         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46634         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46635         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46636         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46637         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46638         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46639         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46641         [BZ #16032]
46642         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46643         without decrementing exponent if mantissa >= that for the
46644         denominator, not >.
46645         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46646         denominator, not >.  Decrement exponent in < case instead of
46647         incrementing in >= case.
46648         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46649         without decrementing exponent if mantissa >= that for the
46650         denominator, not >.
46652         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46653         computing saturated result for unsigned overflow.
46655 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46656             Jeff Law  <law@redhat.com>
46658         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46659         (atan2Mp): Add systemtap probe marker.
46660         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46661         (__ieee754_log): Add systemtap probe marker.
46662         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46663         (atanMp): Add systemtap probe marker.
46664         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46665         (tanMp): Add systemtap probe marker.
46666         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46667         (__slowexp): Add systemtap probe marker.
46668         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46669         (__slowpow): Add systemtap probe marker.
46670         * manual/probes.texi: Document probes.
46672 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46674         [BZ #15362]
46675         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46676         written.
46677         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46678         written.
46679         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46680         written to buffer but not flushed.
46681         * libio/iofwrite_u.c:  Likewise.
46682         * libio/iopadn.c:  Return bytes returned even if EOF was
46683         encountered.
46684         * libio/iowpadn.c:  Likewise.
46685         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46686         if _IO_padn does not write the whole buffer.
46687         [!COMPILE_WPRINTF] (PAD): Likewise.
46689 2013-10-10  David S. Miller  <davem@davemloft.net>
46691         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46692         directory block.
46694 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46696         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46697         instead of FSF address.
46698         * soft-fp/fixdfti.c: Likewise.
46699         * soft-fp/fixsfti.c: Likewise.
46700         * soft-fp/fixtfti.c: Likewise.
46701         * soft-fp/fixunsdfti.c: Likewise.
46702         * soft-fp/fixunssfti.c: Likewise.
46703         * soft-fp/fixunstfti.c: Likewise.
46704         * soft-fp/floattidf.c: Likewise.
46705         * soft-fp/floattisf.c: Likewise.
46706         * soft-fp/floattitf.c: Likewise.
46707         * soft-fp/floatuntidf.c: Likewise.
46708         * soft-fp/floatuntisf.c: Likewise.
46709         * soft-fp/floatuntitf.c: Likewise.
46710         * soft-fp/trunctfxf2.c: Likewise.
46712         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46713         * soft-fp/fixdfti.c: Likewise.
46714         * soft-fp/fixsfti.c: Likewise.
46715         * soft-fp/fixtfti.c: Likewise.
46716         * soft-fp/fixunsdfti.c: Likewise.
46717         * soft-fp/fixunssfti.c: Likewise.
46718         * soft-fp/fixunstfti.c: Likewise.
46719         * soft-fp/floattidf.c: Likewise.
46720         * soft-fp/floattisf.c: Likewise.
46721         * soft-fp/floattitf.c: Likewise.
46722         * soft-fp/floatuntidf.c: Likewise.
46723         * soft-fp/floatuntisf.c: Likewise.
46724         * soft-fp/floatuntitf.c: Likewise.
46725         * soft-fp/trunctfxf2.c: Likewise.
46727 2013-10-10  David S. Miller  <davem@davemloft.net>
46729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46731 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46733         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46734         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46735         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46736         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46737         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46738         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46739         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46742         for NaNs before doing comparisons on argument.
46743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46744         Likewise.
46746 2013-10-10  Will Newton  <will.newton@linaro.org>
46748         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46749         passed to _int_memalign does not overflow.
46751 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46753         * scripts/bench.pl: Add include-sources directive.
46754         * benchtests/README: Update documentation.
46756 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46758         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46759         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46760         instead of FP_INIT_ROUNDMODE.
46761         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46762         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46764         [BZ #16034]
46765         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46766         copy class of input value.
46767         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46768         not handle exceptions.
46769         * soft-fp/negsf2.c (__negsf2): Likewise.
46770         * soft-fp/negtf2.c (__negtf2): Likewise.
46771         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46773 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46775         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46776         semicolon.  From Linux kernel.
46778 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46780         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46782 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46784         [BZ #156]
46785         * manual/socket.texi: Added statement about buffer
46786         for gethostbyname2_r.
46788 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46790         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46791         Use .p2align directive instead, throughout.
46792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46793         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46794         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46797         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46798         * sysdeps/x86_64/strchr.S: Likewise.
46799         * sysdeps/x86_64/strrchr.S: Likewise.
46801 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46803         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46805         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46807         * sysdeps/generic/math_private.h (__mpsin1): Remove
46808         declaration.
46809         (__mpcos1): Likewise.
46810         (__mpsin): New argument __range_reduce.
46811         (__mpcos): Likewise.
46812         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46813         (slow): Use __mpsin and __mpcos.
46814         (slow1): Likewise.
46815         (slow2): Likewise.
46816         (sloww): Likewise.
46817         (sloww1): Likewise.
46818         (sloww2): Likewise.
46819         (bsloww): Likewise.
46820         (bsloww1): Likewise.
46821         (bsloww2): Likewise.
46822         (cslow2): Likewise.
46823         (csloww): Likewise.
46824         (csloww1): Likewise.
46825         (csloww2): Likewise.
46826         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46827         range_reduce.  Merge in __mpsin1.
46828         (__mpcos): Likewise.
46829         (__mpsin1): Remove.
46830         (__mpcos1): Likewise.
46832 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46834         * locale/loadlocale.c (_nl_intern_locale_data): Use
46835         LOCFILE_ALIGNED_P.
46836         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46837         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46838         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46839         obstack data is appropriately aligned.
46840         (obstack_int32_grow_fast): Likewise.
46841         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46842         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46843         (add_locale_uint32_array): Likewise.
46845 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46847         * benchtests/Makefile: Remove ARGLIST and RET variables.
46848         ($(objpfx)bench-%.c): Pass only function name to the script.
46849         * benchtests/README: Update documentation.
46850         * benchtests/acos-inputs: Add new directives.
46851         * benchtests/acosh-inputs: Likewise.
46852         * benchtests/asin-inputs: Likewise.
46853         * benchtests/asinh-inputs: Likewise.
46854         * benchtests/atan-inputs: Likewise.
46855         * benchtests/atanh-inputs: Likewise.
46856         * benchtests/cos-inputs: Likewise.
46857         * benchtests/cosh-inputs: Likewise.
46858         * benchtests/exp-inputs: Likewise.
46859         * benchtests/log-inputs: Likewise.
46860         * benchtests/pow-inputs: Likewise.
46861         * benchtests/rint-inputs: Likewise.
46862         * benchtests/sin-inputs: Likewise.
46863         * benchtests/sinh-inputs: Likewise.
46864         * benchtests/tan-inputs: Likewise.
46865         * benchtests/tanh-inputs: Likewise.
46866         * scripts/bench.pl: Add support for new directives.
46868 2013-10-07  Alan Modra  <amodra@gmail.com>
46870         * README: Fix careless merge.
46872 2013-10-05  Alan Modra  <amodra@gmail.com>
46874         * NEWS: Mention powerpc64le support and bugs fixed.
46875         * README: Both big-endian and little-endian powerpc64 supported.
46877 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46879         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46880         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46881         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46882         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46884 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46886         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46887         match prototype.
46889 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46891         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46892         Move -mhard-float appending from
46893         ports/sysdeps/powerpc/powerpc32/Makefile.
46894         [$(with-fp) = yes] (ASFLAGS): Likewise.
46895         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46896         * sysdeps/powerpc/nofpu: Move directory from
46897         ports/sysdeps/powerpc/nofpu.
46898         * sysdeps/powerpc/soft-fp: Move directory from
46899         ports/sysdeps/powerpc/soft-fp.
46900         * sysdeps/powerpc/powerpc32/405: Move directory from
46901         ports/sysdeps/powerpc/powerpc32/405.
46902         * sysdeps/powerpc/powerpc32/440: Move directory from
46903         ports/sysdeps/powerpc/powerpc32/440.
46904         * sysdeps/powerpc/powerpc32/464: Move directory from
46905         ports/sysdeps/powerpc/powerpc32/464.
46906         * sysdeps/powerpc/powerpc32/476: Move directory from
46907         ports/sysdeps/powerpc/powerpc32/476.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46909         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46911         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46913         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46915         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46917         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46918         * README: Update for powerpc-*-linux-gnu software floating point
46919         support in libc.
46921         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46922         case to powerpc/powerpc32*.
46923         * sysdeps/unix/sysv/linux/configure: Regenerated.
46925         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46926         (_FPU_MASK_OM): Define as 0x04.
46927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46929         0x00c10080.
46930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46931         0x0000003c.
46932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46935         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46936         getcontext_e500.
46937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46938         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46939         setcontext_e500.
46940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46941         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46942         and setcontext_e500.
46944 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46946         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46948 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46950         * manual/threads.texi (Default Thread Attributes): Fix typo.
46952 2013-10-04  Will Newton  <will.newton@linaro.org>
46954         * malloc/Makefile: Add tst-memalign.
46955         * malloc/tst-memalign.c: New file.
46957         * malloc/tst-posix_memalign.c: Add comments.
46958         (do_test): Add comments and call free on all potentially
46959         allocated pointers. Add space after cast.
46961         * malloc/tst-pvalloc.c: Add comments.
46962         (do_test): Add comments and call free on all potentially
46963         allocated pointers. Remove duplicate check for NULL pointer.
46964         Add space after cast.
46966         * malloc/tst-valloc.c: Add comments.
46967         (do_test): Add comments and call free on all potentially
46968         allocated pointers. Remove duplicate check for NULL pointer.
46969         Add space after cast.
46971 2013-10-04  Alan Modra  <amodra@gmail.com>
46973         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46974         Use stdint types in rather than __attribute__((mode())).
46975         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46977 2013-10-04  Alan Modra  <amodra@gmail.com>
46979         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46980         Correct handling of unaligned relocs for little-endian.
46981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46983 2013-10-04  Alan Modra  <amodra@gmail.com>
46985         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46986         * configure: Regenerate.
46987         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46988         * shlib-versions: Likewise.
46990 2013-10-04  Alan Modra  <amodra@gmail.com>
46992         * string/tester.c (test_memrchr): Increment reported test cycle.
46994 2013-10-04  Alan Modra  <amodra@gmail.com>
46996         * string/test-memcpy.c (do_one_test): When reporting errors, print
46997         string address and don't overrun end of string.
46999 2013-10-04  Alan Modra  <amodra@gmail.com>
47001         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47002         insrdi.  Make better use of reg selection to speed exit slightly.
47003         Schedule entry path a little better.  Remove useless "are we done"
47004         checks on entry to main loop.  Handle wrapping around zero address.
47005         Correct main loop count.  Handle single left-over word from main
47006         loop inline rather than by using loop_small.  Remove extra word
47007         case in loop_small caused by wrong loop count.  Add little-endian
47008         support.
47009         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47010         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47011         cache hint.
47012         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47013         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47014         support.  Avoid rlwimi.
47015         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47017 2013-10-04  Alan Modra  <amodra@gmail.com>
47019         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47020         insrdi.  Formatting.
47021         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47022         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47023         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47024         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47025         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47026         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47028 2013-10-04  Alan Modra  <amodra@gmail.com>
47030         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47032         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47033         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47034         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47035         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47036         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47037         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47038         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47039         use of regs.  Use power7 mtocrf.  Tidy function tails.
47041 2013-10-04  Alan Modra  <amodra@gmail.com>
47043         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47044         Formatting.  Consistently use rXXX register defines or rN defines.
47045         Use early exit labels that avoid restoring unused non-volatile regs.
47046         Make cr field use more consistent with rWORDn compares.  Rename
47047         regs used as shift registers for unaligned loop, using rN defines
47048         for short lifetime/multiple use regs.
47049         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47050         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47051         addi 1,1,64 to pop stack frame.  Simplify return value code.
47052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47054 2013-10-04  Alan Modra  <amodra@gmail.com>
47056         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47057         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47058         rather than rlwimi.
47059         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47061         little-endian support.  Correct typos.
47062         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47063         rather than rlwimi.
47064         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47065         in loop and entry code to keep "and." results.
47066         (strchr): Add little-endian support.  Comment.  Move cntlzd
47067         earlier in tail.
47068         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47070 2013-10-04  Alan Modra  <amodra@gmail.com>
47072         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47073         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47074         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47075         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47077 2013-10-04  Alan Modra  <amodra@gmail.com>
47079         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47080         (rTMP): Define as r11.
47081         (strcmp): Add little-endian support.  Optimise tail.
47082         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47083         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47084         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47085         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47086         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47087         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47090 2013-10-04  Alan Modra  <amodra@gmail.com>
47092         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47093         little-endian support.  Remove unnecessary "are we done" tests.
47094         Handle "s" wrapping around zero and extremely large "size".
47095         Correct main loop count.  Handle single left-over word from main
47096         loop inline rather than by using small_loop.  Correct comments.
47097         Delete "zero" tail, use "end_max" instead.
47098         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47100 2013-10-04  Alan Modra  <amodra@gmail.com>
47102         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47103         support.  Don't branch over align.
47104         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47105         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47106         support.  Rearrange tmp reg use to suit.  Comment.
47107         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47109 2013-10-04  Alan Modra  <amodra@gmail.com>
47111         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47113 2013-10-04  Alan Modra  <amodra@gmail.com>
47115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47116         conditional form of branch and link when obtaining pc.
47117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47119 2013-10-04  Alan Modra  <amodra@gmail.com>
47121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47122         HIWORD/LOWORD.
47123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47126 2013-10-04  Alan Modra  <amodra@gmail.com>
47128         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47129         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47130         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47131         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47132         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47133         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47134         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47135         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47136         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47137         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47139 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47140             Alistair Popple <alistair@ozlabs.au.ibm.com>
47141             Alan Modra <amodra@gmail.com>
47143         [BZ #15723]
47144         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47145         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47146         _dl_hwcap access for little-endian.
47147         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47148         destroy vmx regs when saving unaligned.
47149         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47151         destroy vmx regs when saving unaligned.
47153 2013-10-04  Alan Modra  <amodra@gmail.com>
47155         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47156         Don't use a union to pack hi/low value.
47158 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47160         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47161         for little-endian.
47162         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47163         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47164         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47165         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47166         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47168 2013-10-04  Alan Modra  <amodra@gmail.com>
47170         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47171         constants to usual value for .cst8 section, and remove redundant
47172         high address load.
47173         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47174         constant for 0x1p52.  Load little-endian words of double from
47175         correct stack offsets.
47177 2013-10-04  Alan Modra  <amodra@gmail.com>
47179         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47180         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47181         words of double from correct stack offsets.
47182         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47183         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47184         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47186         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47187         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47188         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47189         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47190         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47191         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47192         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47193         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47194         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47195         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47196         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47197         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47198         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47200 2013-10-04  Alan Modra  <amodra@gmail.com>
47202         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47203         64-bit int/double union.
47204         (_FPU_SETCW): Likewise.
47205         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47206         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47208 2013-10-04  Alan Modra  <amodra@gmail.com>
47210         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47211         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47213 2013-10-04  Alan Modra  <amodra@gmail.com>
47215         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47216         use vector int constants.
47217         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47219 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47221         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47222         array with long long.
47223         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47224         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47225         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47226         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47227         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47228         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47229         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47230         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47231         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47232         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47233         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47234         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47235         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47237 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47239         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47240         (__signbit): Likewise.  Correct for little-endian.
47241         (__signbitl): Call __signbit.
47242         (lrint): Correct for little-endian.
47243         (lrintf): Call lrint.
47245 2013-10-04  Alan Modra  <amodra@gmail.com>
47247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47248         union 32-bit int array member with 64-bit int array.
47249         (t515, tm256): Double rather than long double.
47250         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47252 2013-10-04  Alan Modra  <amodra@gmail.com>
47254         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47255         Delete.
47256         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47258         version of math_ldbl.h.
47260 2013-10-04  Alan Modra  <amodra@gmail.com>
47262         [BZ #15734], [BZ #15735]
47263         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47264         all uses of ieee875 long double macros and unions.  Simplify test
47265         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47266         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47267         normalize after ldbl_extract_mantissa, and don't add hidden bit
47268         already handled.  Don't treat low word of ieee854 mantissa like
47269         low word of IBM long double and mask off bit when testing for
47270         zero.
47271         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47272         all uses of ieee875 long double macros and unions.  Simplify tests
47273         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47274         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47275         two1022, instead use their values.  Recognise that tests for large
47276         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47277         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47278         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47279         test for 0.0L and nan.  Correct negation.
47280         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47281         ieee875 long double macros and unions.  Correct output for large
47282         magnitude x.  Correct absolute value calculation.
47283         (__erfcl): Likewise.
47284         * math/libm-test.inc: Add tests for errors discovered in IBM long
47285         double versions of fmodl, remainderl, erfl and erfcl.
47287 2013-10-04  Alan Modra  <amodra@gmail.com>
47289         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47290         all uses of ieee854 long double macros and unions.  Simplify tests
47291         for long doubles that are fully specified by the high double.
47292         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47293         Likewise.
47294         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47295         Remove dead code too.
47296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47297         (__ieee754_ynl): Likewise.
47298         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47299         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47301         Remove dead code too.
47302         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47303         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47305         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47306         Simplify.
47307         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47308         Simplify.
47309         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47310         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47311         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47312         Comment on variable precision.
47313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47314         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47315         Likewise.
47316         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47317         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47319         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47320         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47322 2013-10-04  Alan Modra  <amodra@gmail.com>
47324         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47325         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47326         all uses of ieee854 long double macros and unions.
47327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47328         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47329         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47330         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47331         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47333         Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47335         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47336         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47337         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47338         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47339         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47340         Simplify sign and nan test too.
47341         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47342         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47345         Likewise.
47346         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47347         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47348         Likewise.
47349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47350         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47351         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47352         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47353         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47356 2013-10-04  Alan Modra  <amodra@gmail.com>
47358         * stdio-common/printf_size.c (__printf_size): Don't use
47359         union ieee854_long_double in fpnum union.
47360         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47361         signbit macro to retrieve sign from long double.
47362         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47363         retrieve sign from long double.
47364         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47365         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47366         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47367         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47368         * math/test-misc.c (main): Don't use union ieee854_long_double.
47370 2013-10-04  Alan Modra  <amodra@gmail.com>
47372         [BZ #15680]
47373         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47374         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47375         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47376         calculation.  Remove unnecessary test for denormal exponent.
47377         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47378         Correct handling of denormals.  Avoid undefined shift behaviour.
47379         Correct normalisation of low mantissa when low double is denormal.
47380         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47381         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47382         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47383         Correct normalisation of low mantissa.  Test for overflow of high
47384         mantissa and normalise.
47385         (ldbl_nearbyint): Use more readable constant for two52.
47386         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47387         (__mpn_construct_long_double): Fix test for overflow of high
47388         mantissa and correct normalisation.  Avoid undefined shift.
47390 2013-10-04  Alan Modra  <amodra@gmail.com>
47392         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47393         (union ibm_extended_long_double): Define as an array of ieee754_double.
47394         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47395         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47396         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47397         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47399         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47401         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47402         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47403         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47404         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47406 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47408         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47409         page size instead of calling getpagesize.
47411         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47412         (LOCFILE_ALIGN_MASK): Likewise.
47413         (LOCFILE_ALIGN_UP): Likewise.
47414         (LOCFILE_ALIGNED_P): Likewise.
47415         * locale/programs/ld-collate.c (collate_output): Use the new
47416         macros instead of __alignof__ (int32_t).
47417         * locale/weight.h (findidx): Likewise.
47419 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47421         [BZ #431]
47422         * manual/string.texi: Fix strncat and wcsncat.
47424 2013-10-03  Brooks Moses  <bmoses@google.com>
47426         [BZ #15915]
47427         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47428         * Makerules: ...here, and adjust associated comments.
47430 2013-10-02  Will Newton  <will.newton@linaro.org>
47432         * malloc/Makefile: Add tst-pvalloc.
47433         * malloc/tst-pvalloc.c: New file.
47435 2013-10-02  Will Newton  <will.newton@linaro.org>
47437         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47438         improve test coverage.
47440 2013-10-02  Will Newton  <will.newton@linaro.org>
47442         * malloc/Makefile: Add tst-posix_memalign.
47443         * malloc/tst-posix_memalign.c: New file.
47445 2013-10-01  Eric Blake  <eblake@redhat.com>
47447         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47448         Use __THROWNL rather than __THROW on static functions.
47450 2013-09-30  Petr Machata  <pmachata@redhat.com>
47452         * elf/elf.h (R_AARCH64_ABS16): New macro.
47453         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47454         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47455         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47456         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47457         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47458         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47459         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47460         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47461         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47462         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47463         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47464         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47465         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47466         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47467         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47468         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47469         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47470         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47471         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47472         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47473         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47474         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47475         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47476         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47477         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47478         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47479         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47480         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47481         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47482         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47483         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47484         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47485         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47486         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47487         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47488         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47489         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47490         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47491         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47492         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47493         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47494         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47495         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47496         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47497         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47498         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47499         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47500         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47501         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47502         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47503         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47504         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47505         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47506         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47507         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47508         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47509         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47510         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47511         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47512         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47513         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47514         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47515         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47516         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47517         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47518         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47519         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47520         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47521         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47522         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47523         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47524         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47525         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47526         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47527         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47528         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47529         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47530         (R_AARCH64_TLSDESC_LDR): Likewise.
47531         (R_AARCH64_TLSDESC_ADD): Likewise.
47532         (R_AARCH64_TLSDESC_CALL): Likewise.
47534 2013-09-30  Andreas Schwab  <schwab@suse.de>
47536         [BZ #15048]
47537         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47538         the nss database lookup.
47539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47542 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47544         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47546 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47549         ${Bash-specific parameter/pattern/string} parameter expansion.
47550         * sysdeps/unix/make-syscalls.sh: Likewise.
47552 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47554         * sysdeps/sh/stackguard-macros.h: New file.
47556 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47560         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47561         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47562         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47563         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47565 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47567         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47568         Fix thread ID register.
47570 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47572         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47573         [POSIX || UNIX98]: Require rather than permitting all symbols from
47574         <time.h>.
47575         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47576         element of struct sched_param.
47577         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47578         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47579         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47580         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47581         constant.
47583 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47585         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47586         argument calculation.
47588 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47590         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47591         Expect macro.
47592         [POSIX] (pthread_attr_t): Do not require type.
47593         [POSIX] (pthread_cond_t): Likewise.
47594         [POSIX] (pthread_condattr_t): Likewise.
47595         [POSIX] (pthread_key_t): Likewise.
47596         [POSIX] (pthread_mutex_t): Likewise.
47597         [POSIX] (pthread_mutexattr_t): Likewise.
47598         [POSIX] (pthread_once_t): Likewise.
47599         [POSIX] (pthread_t): Likewise.
47600         [POSIX-based standards] (pthread_atfork): Expect function.
47602 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47603             Richard Sandiford  <richard@codesourcery.com>
47605         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47606         (swap_endianness_p): New extern variable.
47607         (set_big_endian): New inline function.
47608         (maybe_swap_uint32): Likewise.
47609         (maybe_swap_uint32_array): Likewise.
47610         (maybe_swap_uint32_obstack): Likewise.
47611         * locale/programs/locfile.c: Include <stdbool.h>.
47612         (swap_endianness_p): New variable.
47613         (add_locale_uint32): Call maybe_swap_uint32.
47614         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47615         (write_locale_data): Call maybe_swap_uint32_array.
47616         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47617         maybe_swap_uint32.
47618         (obstack_int32_grow_fast): Likewise.
47619         (output_weightwc): Call maybe_swap_uint32_obstack.
47620         (collate_output): Likewise.
47621         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47622         (OPT_LITTLE_ENDIAN): Likewise.
47623         (options): Add --little-endian and --big-endian options.
47624         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47625         * locale/programs/locarchive.c: Include "locfile.h".
47626         (GET): New macro.
47627         (SET): Likewise.
47628         (INC): Likewise.
47629         (create_archive): Use the new macros to access fields of
47630         structures directly mapped from or written to locale archives.
47631         (oldlocrecentcmp): Likewise.
47632         (enlarge_archive): Likewise.
47633         (insert_name): Likewise.
47634         (add_alias): Likewise.
47635         (add_locale): Likewise.
47636         (delete_locales_from_archive): Likewise.
47637         (show_archive_content): Likewise.
47638         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47639         locale data.
47641 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47643         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47644         http://www.gnu.org/doc/freemanuals.texi.
47645         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47647 2013-09-24  Will Newton  <will.newton@linaro.org>
47649         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47650         macro.
47652 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47654         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47655         unsigned char.
47657 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47659         * manual/threads.texi (POSIX Threads): Fix a typo.
47661 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47663         [BZ #14547]
47664         * string/tst-strcoll-overflow.c: New test case.
47665         * string/Makefile (xtests): Add tst-strcoll-overflow.
47666         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47667         cache if string sizes may cause integer overflow.
47669         [BZ #14547]
47670         * string/strcoll_l.c (coll_seq): New members rule, idx,
47671         save_idx and back_us.
47672         (get_next_seq_nocache): New function.
47673         (do_compare_nocache): New function.
47674         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47675         when malloc fails.
47677 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47679         [BZ #15754]
47680         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47681         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47682         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47684         [BZ #15754]
47685         * elf/Makefile (tests): Add tst-ptrguard1.
47686         (tests-static): Add tst-ptrguard1-static.
47687         (tst-ptrguard1-ARGS): Define.
47688         (tst-ptrguard1-static-ARGS): Define.
47689         * elf/tst-ptrguard1.c: New file.
47690         * elf/tst-ptrguard1-static.c: New file.
47691         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47692         * sysdeps/i386/stackguard-macros.h: Likewise.
47693         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47694         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47695         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47696         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47697         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47698         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47700 2013-09-23  Hector Marco  <hecmargi@upv.es>
47701             Ismael Ripoll  <iripoll@disca.upv.es>
47702             Carlos O'Donell  <carlos@redhat.com>
47704         [BZ #15754]
47705         * sysdeps/generic/stackguard-macros.h: Define
47706         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47707         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47708         Define __pointer_chk_guard_local.
47709         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47710         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47712 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47714         [BZ #15859]
47715         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47717 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47719         * include/string.h (__ffs): Declare as hidden.
47720         * string/ffs.c (__ffs): Define as hidden.
47721         * sysdeps/i386/ffs.c (__ffs): Likewise.
47722         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47723         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47724         * sysdeps/s390/ffs.c (__ffs): Likewise.
47725         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47727 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47729         * NEWS: Mention malloc probes.
47731         * malloc/arena.c (new_heap): New memory_heap_new probe.
47732         (grow_heap): New memory_heap_more probe.
47733         (shrink_heap): New memory_heap_less probe.
47734         (heap_trim): New memory_heap_free probe.
47735         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47736         (systrim): New memory_sbrk_less probe.
47737         * manual/probes.texi: Document them.
47739         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47740         * manual/probes.texi: Document it.
47742         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47743         (__libc_realloc): Add memory_realloc_retry probe.
47744         (__libc_memalign): Add memory_memalign_retry probe.
47745         (__libc_valloc): Add memory_valloc_retry probe.
47746         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47747         (__libc_calloc): Add memory_calloc_retry probe.
47748         * manual/probes.texi: Document them.
47750         * malloc/arena.c (get_free_list): Add probe
47751         memory_arena_reuse_free_list.
47752         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47753         and memory_arena_reuse.
47754         (arena_get2) [!PER_THREAD]: Likewise.
47755         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47756         memory_arena_reuse_realloc.
47757         * manual/probes.texi: Document them.
47759         * malloc/malloc.c (__libc_free): Add
47760         memory_mallopt_free_dyn_thresholds probe.
47761         (__libc_mallopt): Add multiple memory_mallopt probes.
47762         * manual/probes.texi: Document them.
47764         * malloc/malloc.c: Include stap-probe.h.
47765         (__libc_mallopt): Add memory_mallopt probe.
47766         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47767         * manual/probes.texi: New.
47768         * manual/Makefile (chapters): Add probes.
47769         * manual/threads.texi: Set next node.
47771 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47773         [BZ #15963, #13985]
47774         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47775         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47776         Add `Chinese' to `nan' entry name.
47778 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47780         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47781         (POLYNOMIAL): Likewise.
47782         (TAYLOR_SINCOS): Likewise.
47783         (TAYLOR_SLOW): Likewise.
47784         (__sin): Use TAYLOR_SINCOS.
47785         (__cos): Likewise.
47786         (slow): Use TAYLOR_SLOW.
47787         (sloww): Likewise.
47788         (bsloww): Likewise.
47789         (csloww): Likewise.
47791 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47793         * stdlib/strtod_l.c: Fix buffer overrun.
47795 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47797         * benchtests/Makefile (bench): Add sincos.
47798         * benchtests/bench-sincos.c: New file.
47800         * math/libm-test.inc (cos_test_data): New test inputs.
47801         (sin_test_data): Likewise.
47803         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47804         macro.
47805         (__sin): Use it.
47806         (__cos): Likewise.
47807         (slow1): Likewise.
47808         (slow2): Likewise.
47809         (sloww1): Likewise.
47810         (sloww2): Likewise.
47811         (bsloww1): Likewise.
47812         (bsloww2): Likewise.
47813         (cslow2): Likewise.
47814         (csloww1): Likewise.
47815         (csloww2): Likewise.
47817         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47818         function.
47819         (__sin): Use it.
47820         (__cos): Likewise.
47822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47823         gotos.
47824         (__cos): Likewise.
47826 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47828         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47829         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47830         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47831         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47832         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47833         * elf/cache.c (print_entry): Handle the new cache flags.
47835 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47836             Aldy Hernandez  <aldyh@redhat.com>
47838         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47839         Change condition to [_SOFT_FLOAT].
47840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47842         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47852         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47855         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47856         declaration.
47858 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47860         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47861         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47862         (__longjmp): Use LOAD_GP to load saved GPRs.
47863         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47864         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47865         (__sigsetjmp): Use SAVE_GP to save GPRs.
47867         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47868         Do not append -msoft-float.
47869         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47871 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47873         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47875 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47877         [BZ #15966]
47878         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47879         (_FPU_GETCW): Use initial "__" on variable and field names but not
47880         on macro parameter name.
47881         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47882         parentheses around reference to macro parameter.
47884 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47886         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47887         prototype.
47888         (ctype_startup): Use uint32_t in cast and sizeof for
47889         ctype->charnames.
47891 2013-09-11  Jia Liu  <proljc@gmail.com>
47893         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47894         __daddr_t_defined.
47895         [__FreeBSD__]: Likewise.
47897 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47900         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47901         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47902         (strchr): Remove __strchr_sse42 ifunc selection.
47903         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47904         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47906 2013-09-11  Will Newton  <will.newton@linaro.org>
47908         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47909         parameter to RES. Remove hardcoded 1000 value.
47910         * benchtests/bench-skeleton.c (main): Pass RES parameter
47911         to TIMING_INIT and multiply result by 1000.
47913 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47917 2013-09-11  Andreas Schwab  <schwab@suse.de>
47919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47920         if not defined.
47921         (O_TMPFILE) [__USE_GNU]: Define.
47922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47923         Define.
47925 2013-09-11  Will Newton  <will.newton@linaro.org>
47927         [BZ #15857]
47928         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47929         does not overflow.
47931 2013-09-11  Will Newton  <will.newton@linaro.org>
47933         [BZ #15856]
47934         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47935         does not overflow.
47937 2013-09-11  Will Newton  <will.newton@linaro.org>
47939         [BZ #15855]
47940         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47941         does not overflow.
47943 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47945         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47946         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47947         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47948         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47949         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47951 2013-09-10  Allan McRae  <allan@archlinux.org>
47953         [BZ #15748]
47954         * manual/arith.texi (Parsing of Floats): Clarify
47955         cross-reference.
47957         [BZ #15849]
47958         * manual/install.texi (Running make install): Mention
47959         --enable-pt-chown.
47960         * INSTALL: Regenerated.
47962 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47964         * csu/init-first.c (_init): Remove the !SHARED condition around
47965         FPU control word initialization.
47966         * elf/dl-support.c (_dl_fpu_control): New variable.
47967         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47968         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47969         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47970         * math/test-fpucw-static.c: New file.
47971         * math/test-fpucw-ieee.c: New file.
47972         * math/test-fpucw-ieee-static.c: New file.
47973         * math/Makefile (tests): Add `test-fpucw-ieee' and
47974         `$(tests-static)'.
47975         (tests-static): New variable.
47976         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47977         dependency to...
47978         [($(build-shared),yes)]
47979         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47980         ... this.
47981         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47982         New dependency.
47984 2013-09-09  Allan McRae  <allan@archlinux.org>
47986         [BZ #15939]
47987         * manual/string.texi (Collation Functions): Fix typo in
47988         strcoll example.
47989         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47991         [BZ #15893]
47992         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47994         [BZ #15892]
47995         * libio/memstream.c (open_memstream): Fix memory leak.
47996         * libio/wmemstream.c (open_wmemstream): Likewise.
47998         [BZ #15895]
47999         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48001 2013-09-09  Will Newton  <will.newton@linaro.org>
48003         * malloc/Makefile: Add tst-realloc to tests.
48004         * malloc/tst-realloc.c: New file.
48006 2013-09-09  Allan McRae  <allan@archlinux.org>
48008         [BZ #15844]
48009         * COPYING: Update from GNU website to fix FSF address.
48010         * COPYING.LIB: Likewise.
48012 2013-09-06  David S. Miller  <davem@davemloft.net>
48014         * po/zh_TW.po: Update Chinese (traditional) translation from
48015         translation project.
48017 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48018             Joseph Myers  <joseph@codesourcery.com>
48020         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48021         "localeinfo.h".
48022         (obstack_chunk_alloc): New macro.
48023         (obstack_chunk_free): Likewise.
48024         (record_offset): New function.
48025         (init_locale_data): Likewise.
48026         (align_locale_data): Likewise.
48027         (add_locale_empty): Likewise.
48028         (add_locale_raw_data): Likewise.
48029         (add_locale_raw_obstack): Likewise.
48030         (add_locale_string): Likewise.
48031         (add_locale_wstring): Likewise.
48032         (add_locale_uint32): Likewise.
48033         (add_locale_uint32_array): Likewise.
48034         (add_locale_char): Likewise.
48035         (start_locale_structure): Likewise.
48036         (end_locale_structure): Likewise.
48037         (start_locale_prelude): Likewise.
48038         (end_locale_prelude): Likewise.
48039         (write_locale_data): Take locale_file structure rather than an
48040         iovec.
48041         * locale/programs/locfile.h: Include "obstack.h".
48042         (struct locale_file): Change to store locale file contents instead
48043         of header.
48044         (init_locale_data): New prototype.
48045         (align_locale_data): Likewise.
48046         (add_locale_empty): Likewise.
48047         (add_locale_raw_data): Likewise.
48048         (add_locale_raw_obstack): Likewise.
48049         (add_locale_string): Likewise.
48050         (add_locale_wstring): Likewise.
48051         (add_locale_uint32): Likewise.
48052         (add_locale_uint32_array): Likewise.
48053         (add_locale_char): Likewise.
48054         (start_locale_structure): Likewise.
48055         (end_locale_structure): Likewise.
48056         (start_locale_prelude): Likewise.
48057         (end_locale_prelude): Likewise.
48058         (write_locale_data): Update prototype.
48059         * locale/programs/3level.h (struct TABLE): Remove result field.
48060         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48061         Use new locale_file interface.
48062         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48063         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48064         * locale/programs/ld-address.c (address_output): Use new
48065         locale_file interface.
48066         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48067         NO_ADD_LOCALE.
48068         (collate_finish): Don't call collseq_table_finalize.
48069         (collate_output): Use new locale_file interface.
48070         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48071         in file.
48072         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48073         (TABLE): Move defines earlier in file.
48074         (ELEMENT): Likewise.
48075         (DEFAULT): Likewise.
48076         (wctrans_table_add): Move macro and inline function earlier in
48077         file.
48078         (struct wctype_table): Move type earlier in file.
48079         (add_locale_wctype_table): New static prototype.
48080         (struct locale_ctype_t): Use logical types instead of struct iovec
48081         pointers for members.
48082         (ctype_output): Use new locale_file interface.
48083         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48084         new locale_file interface.
48085         (allocate_arrays): Update for use of new locale_file interface.
48086         * locale/programs/ld-identification.c (identification_output): Use
48087         new locale_file interface.
48088         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48089         * locale/programs/ld-messages.c (messages_output): Likewise.
48090         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48091         * locale/programs/ld-name.c (name_output): Likewise.
48092         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48093         * locale/programs/ld-paper.c (paper_output): Likewise.
48094         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48095         * locale/programs/ld-time.c (time_output): Likewise.
48097 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48099         * benchtests/Makefile: Add memrchr benchmark.
48100         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48101         benchmark as memrchr.
48102         * benchtests/bench-memrchr-ifunc.c: New file.
48103         * benchtests/bench-memrchr.c: New file.
48105 2013-09-06   Will Newton  <will.newton@linaro.org>
48107         * benchtests/Makefile (string-bench): Add memcpy.
48109 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48110             Cong Wang  <amwang@redhat.com>
48112         [BZ #15850]
48113         * sysdeps/unix/sysv/linux/bits/in.h
48114         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48115         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48116         before __USE_KERNEL_IPV6_DEFS uses.
48117         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48118         IPPROTO_BEETPH.
48119         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48120         sockaddr_in6, or ipv6_mreq.
48122 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48124         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48125         memory access for final bytes in some large inputs.
48126         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48128 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48130         * string/test-memrchr.c: New file.
48131         * string/test-memrchr-ifunc.c: New file.
48132         * string/Makefile: Add new memrchr testcase.
48134 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48136         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48137         fanotify_init returns EPERM.
48139 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48141         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48142         errors.
48143         (top level): Treat second token from macro or constant entries for
48144         allowed headers as allowed.
48145         * include/complex.h: Condition internal declarations on
48146         [!_ISOMAC].
48147         * include/fenv.h: Condition include of <stdbool.h> and internal
48148         declarations on [!_ISOMAC].
48150 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48152         [BZ #15923]
48153         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48155 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48157         * configure.in (--enable-versioning): Remove configure option.
48158         (libc_cv_asm_symver_directive): Remove configure test.
48159         (libc_cv_ld_version_script_option): Likewise.
48160         (VERSIONING): Remove variable and AC_SUBST.
48161         (DO_VERSIONING): Remove AC_DEFINE.
48162         * configure: Regenerated.
48163         * config.h.in (DO_VERSIONING): Remove macro.
48164         * Makerules [$(versioning) = yes]: Change conditionals to
48165         [$(build-shared) = yes].
48166         * config.make.in (versioning): Remove variable.
48167         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48168         [$(build-shared) = yes].
48169         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48170         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48171         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48172         [$(build-shared) = yes].
48173         * extra-lib.mk [$(versioning) = yes]: Likewise.
48174         * hurd/Makefile [$(versioning) = yes]: Likewise.
48175         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48176         [SHARED].
48177         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48178         [SHARED].
48179         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48180         [SHARED && !NO_HIDDEN].
48181         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48182         [SHARED].
48183         [SHARED && DO_VERSIONING]: Likewise..
48184         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48185         [$(build-shared) = yes].
48186         * manual/install.texi (--disable-versioning): Remove
48187         documentation.
48188         * INSTALL: Regenerated.
48189         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48190         to [SHARED].
48191         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48192         [$(build-shared) = yes].
48193         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48194         * sysdeps/i386/i686/multiarch/strstr-c.c
48195         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48196         [SHARED && !NO_HIDDEN].
48197         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48198         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48199         * sysdeps/powerpc/powerpc32/dl-machine.c
48200         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48201         * sysdeps/powerpc/powerpc32/sysdep.h
48202         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48203         to [SHARED && PIC && !NO_HIDDEN].
48204         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48205         conditional to [SHARED].
48207 2013-09-04   Will Newton  <will.newton@linaro.org>
48209         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48210         * benchtests/bench-string.h: Include bench-timing.h instead
48211         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48212         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48213         call to HP_TIMING_DIFF_INIT.
48214         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48215         instead of hp-timing.h macros.
48216         * benchtests/bench-memchr.c: Likewise.
48217         * benchtests/bench-memcmp.c: Likewise.
48218         * benchtests/bench-memcpy.c: Likewise.
48219         * benchtests/bench-memmem.c: Likewise.
48220         * benchtests/bench-memmove.c: Likewise.
48221         * benchtests/bench-memset.c: Likewise.
48222         * benchtests/bench-rawmemchr.c: Likewise.
48223         * benchtests/bench-strcasecmp.c: Likewise.
48224         * benchtests/bench-strcasestr.c: Likewise.
48225         * benchtests/bench-strcat.c: Likewise.
48226         * benchtests/bench-strchr.c: Likewise.
48227         * benchtests/bench-strcmp.c: Likewise.
48228         * benchtests/bench-strcpy.c: Likewise.
48229         * benchtests/bench-strcpy_chk.c: Likewise.
48230         * benchtests/bench-strlen.c: Likewise.
48231         * benchtests/bench-strncasecmp.c: Likewise.
48232         * benchtests/bench-strncat.c: Likewise.
48233         * benchtests/bench-strncmp.c: Likewise.
48234         * benchtests/bench-strncpy.c: Likewise.
48235         * benchtests/bench-strnlen.c: Likewise.
48236         * benchtests/bench-strpbrk.c: Likewise.
48237         * benchtests/bench-strrchr.c: Likewise.
48238         * benchtests/bench-strspn.c: Likewise.
48239         * benchtests/bench-strstr.c: Likewise.
48241 2013-09-04  Will Newton  <will.newton@linaro.org>
48243         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48245 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48247         [BZ #15427]
48248         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48249         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48250         * math/libm-test.inc (lgamma_test_data): Add more tests.
48251         * sysdeps/i386/fpu/libm-test-ulps: Update.
48252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48254 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48256         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48258         Add ifunc.
48259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48260         Add strcmp-sse2-unaligned
48261         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48263 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48265         * Versions.def (libc): Add GLIBC_2.19.
48267 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48269         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48270         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48272 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48274         [BZ #14155]
48275         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48276         intermediate calculations in recurrence.
48277         (__ieee754_ynf): Likewise.
48278         * math/libm-test.inc (jn_test_data): Do not allow spurious
48279         underflow exception.  Add more tests.
48280         (yn_test_data): Add more tests.
48281         * sysdeps/i386/fpu/libm-test-ulps: Update.
48282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48284 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48286         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48288 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48290         * csu/init-first.c: Fix then/than typos.
48291         * locale/programs/ld-collate.c: Likewise.
48292         * locale/programs/linereader.h: Likewise.
48293         * manual/charset.texi: Likewise.
48294         * manual/filesys.texi: Likewise.
48295         * manual/stdio.texi: Likewise.
48296         * manual/string.texi: Likewise.
48297         * stdlib/fmtmsg.c: Likewise.
48298         * sysdeps/i386/stpncpy.S: Likewise.
48299         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48300         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48301         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48302         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48304 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48306         * elf/dl-open.c: Fix typos.
48307         * iconvdata/gbbig5.c: Likewise.
48308         * iconvdata/iso-2022-jp.c: Likewise.
48309         * iconv/gconv_int.h: Likewise.
48310         * iconv/loop.c: Likewise.
48311         * nis/rpcsvc/nis.h: Likewise.
48312         * resolv/ns_name.c: Likewise.
48313         * stdio-common/vfscanf.c: Likewise.
48314         * streams/stropts.h: Likewise.
48315         * sunrpc/rpc_thread.c: Likewise.
48316         * sysdeps/i386/strpbrk.S: Likewise.
48317         * sysdeps/ieee754/k_standard.c: Likewise.
48318         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48320         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48321         * sysdeps/mach/hurd/profil.c: Likewise.
48322         * sysdeps/s390/dl-procinfo.h: Likewise.
48323         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48324         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48325         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48326         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48327         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48329 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48331         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48334 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48336         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48337         aix specific files.
48338         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48339         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48340         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48341         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48342         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48343         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48344         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48345         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48347 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48348             Roland McGrath  <roland@hack.frob.com>
48350         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48351         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48353 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48355         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48356         __executable_start symbol instead of _start.
48358 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48360         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48361         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48362         Move macros to...
48363         * sysdeps/gnu/ldsodefs.h: ... this new file.
48365         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48366         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48367         instead of ELFOSABI_LINUX.
48369         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48370         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48371         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48372         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48373         Likewise.
48374         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48375         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48376         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48377         Likewise.
48378         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48379         (ibm_extended_long_double): Add ieee_nan member.
48380         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48381         (do_test): New function.
48383         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48384         TEST_TRUNC.
48385         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48386         functions, renamed from truncdfsf_test, trunctfsf_test,
48387         trunctfdf_test.
48388         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48389         functions.
48390         (do_test): Run all these.
48392 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48394         * argp/argp-help.c: Fix typos.
48395         * argp/argp-parse.c: Likewise.
48396         * debug/backtracesyms.c: Likewise.
48397         * elf/elf.h: Likewise.
48398         * malloc/malloc.c: Likewise.
48399         * nis/nis_print.c: Likewise.
48400         * resolv/res_comp.c: Likewise.
48401         * stdlib/stdlib.h: Likewise.
48402         * sunrpc/clnt_tcp.c: Likewise.
48403         * sunrpc/clnt_udp.c: Likewise.
48404         * sunrpc/clnt_unix.c: Likewise.
48405         * sysdeps/unix/bsd/ptsname.c: Likewise.
48406         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48407         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48409         Likewise.
48410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48411         Likewise.
48412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48413         Likewise.
48414         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48416 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48418         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48421 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48423         [BZ #15897]
48424         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48425         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48426         ($(objpfx)bug-dl-leaf): New rule.
48427         ($(objpfx)bug-dl-leaf.so): Likewise.
48428         ($(objpfx)bug-dl-leaf.out): Likewise.
48429         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48430         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48431         * dlfcn/bug-dl-leaf.c: New test.
48432         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48433         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48434         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48435         (dlclose): Likewise.
48436         (dlmopen): Likewise.
48438 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48440         * include/netdb.h [!_ISOMAC]:
48441         Don't include <tls.h>.
48442         (h_errno, __libc_h_errno): Move declaration and macros out of
48443         [_LIBC_REENTRANT].
48445         * include/resolv.h [_RESOLV_H_]:
48446         Don't include <tls.h>.
48447         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48448         * resolv/res_libc.c: Don't include <tls.h>.
48449         (_res): Use __attribute__ ((nocommon)) in place of
48450         __attribute__ ((section (".bss"))).
48452         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48453         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48455         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48457         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48458         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48460         * resolv/res_mkquery.c: Include <sys/time.h>.
48462         * inet/ifreq.c: Moved to ...
48463         * sysdeps/unix/ifreq.c: ... here.
48464         * inet/ifreq.c: New file, true stub version.
48466         * socket/sa_len.c: New file.
48467         * socket/Makefile (aux): Add it.
48468         * sysdeps/unix/sysv/linux/Makefile
48469         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48470         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48471         and #include <socket/sa_len.c>.
48472         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48473         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48475         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48476         * bits/socket.h: ... here.
48478         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48479         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48480         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48482 2013-08-27  Andreas Schwab  <schwab@suse.de>
48484         [BZ #15736]
48485         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48486         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48487         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48488         * string/test-strcasecmp.c (test_main): Run tests in several
48489         locales.
48490         * string/test-strncasecmp.c (test_main): Likewise.
48492         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48493         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48494         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48496         (__strncasecmp_ssse3) [PIC]: Likewise.
48498 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48500         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48502         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48503         instead of explicitly declaring xdecrypt.
48504         * nis/nss_nis/nis-publickey.c: Likewise.
48506 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48508         [BZ #15890]
48509         * nscd/aicache.c: Include res_hconf.h.
48510         (addhstaiX): Initialize res_hconf.
48512 2013-08-26  Andreas Schwab  <schwab@suse.de>
48514         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48515         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48517 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48519         * nscd/aicache.c (addhstaiX): Fix indentation.
48521 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48523         * configure.ac: Quote $build_pt_chown test.
48524         * configure: Regenerated.
48526 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48528         [BZ #15532]
48529         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48530         * math/s_cexpf.c (__cexpf): Likewise.
48531         * math/s_cexpl.c (__cexpl): Likewise.
48532         * math/libm-test.inc (cexp_test_data): Correct expected return
48533         value for NaN + i0.  Add another test.
48535 2013-08-22  David S. Miller  <davem@davemloft.net>
48537         * po/ca.po: Update Catalan translation from translation project.
48538         * po/uk.po: Add Ukrainian translations from translation project.
48540 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48542         [BZ #15797]
48543         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48544         is infinite, not alongside NaN test.
48545         * math/s_fdimf.c (__fdimf): Likewise.
48546         * math/s_fdiml.c (__fdiml): Likewise.
48547         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48548         errno is unchanged.
48550 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48552         * argp/argp-help.c: Fix typos.
48553         * crypt/speeds.c: Likewise.
48554         * csu/check_fds.c: Likewise.
48555         * elf/dl-load.c: Likewise.
48556         * elf/dl-open.c: Likewise.
48557         * elf/reldep3.c: Likewise.
48558         * elf/reldep.c: Likewise.
48559         * elf/sprof.c: Likewise.
48560         * iconv/iconv_charmap.c: Likewise.
48561         * iconv/skeleton.c: Likewise.
48562         * iconv/strtab.c: Likewise.
48563         * io/lockf64.c: Likewise.
48564         * libio/libioP.h: Likewise.
48565         * resolv/gai_notify.c: Likewise.
48566         * resolv/ns_name.c: Likewise.
48567         * resolv/ns_samedomain.c: Likewise.
48568         * resolv/res_send.c: Likewise.
48569         * stdlib/random.c: Likewise.
48570         * sunrpc/rpc/xdr.h: Likewise.
48571         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48572         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48573         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48574         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48575         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48576         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48578         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48579         * sysdeps/mach/hurd/check_fds.c: Likewise.
48580         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48581         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48583         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48584         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48585         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48586         * sysdeps/pthread/aio_notify.c: Likewise.
48587         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48588         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48589         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48590         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48591         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48593 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48595         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48596         version if bit_Slow_SSE4_2 is set.
48597         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48600 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48602         [BZ #15867]
48603         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48604         trampoline stack frame information.
48605         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48607         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48608         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48609         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48610         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48611         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48612         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48613         sa_flags value.
48614         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48615         interrupting a syscall and set with option SA_SIGINFO.
48617 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48619         [BZ #15531]
48620         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48621         argument is infinite.
48622         * math/s_cprojf.c (__cprojf): Likewise.
48623         * math/s_cprojl.c (__cprojl): Likewise.
48624         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48625         * math/libm-test.inc (cproj_test_data): Add more tests.
48627         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48629         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48630         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48631         size.  Use __ffs to determine corresponding shift.
48633 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48634             Roland McGrath  <roland@hack.frob.com>
48636         * Makefile (INSTALL): Remove trailing blank lines from output of
48637         makeinfo.
48639 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48641         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48642         Align 32 bit compat elf_greg to 8 bytes.
48644 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48646         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48648 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48650         * string/strcoll_l.c (coll_seq): New structure.
48651         (get_next_seq_cached): New function.
48652         (get_next_seq): New function.
48653         (do_compare): New function.
48654         (STRCOLL): Use GNU style definition.  Simplify implementation
48655         by using get_next_seq, get_next_seq_cached and do_compare.
48657 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48659         [BZ #14699]
48660         CVE-2013-4237
48661         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48662         member.
48663         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48664         member.
48665         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48666         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48667         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48668         conditional.
48669         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48670         GETDENTS_64BIT_ALIGNED.
48671         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48672         * manual/filesys.texi (Reading/Closing Directory): Document
48673         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48674         strongly.
48675         * manual/conf.texi (Limits for Files): Add portability note to
48676         NAME_MAX, PATH_MAX.
48677         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48679 2013-08-13  Andreas Schwab  <schwab@suse.de>
48681         [BZ #15749]
48682         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48683         of fabs.
48684         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48685         LDBL_MAX_EXP >= 16384]: Add tests for it.
48687 2013-08-12  David S. Miller  <davem@davemloft.net>
48689         * version.h (RELEASE): Set to "development".
48690         (VERSION): Set to "2.18.90".
48691         * NEWS: Add 2.19 section.
48693 2013-08-03  David S. Miller  <davem@davemloft.net>
48695         * po/ko.po: Update Korean translation from translation project.
48697 2013-08-01  David S. Miller  <davem@davemloft.net>
48699         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48700         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48701         Bilka.
48703 2013-07-30  David S. Miller  <davem@davemloft.net>
48705         * po/fr.po: Update French translation from translation project.
48707 2013-07-28  David S. Miller  <davem@davemloft.net>
48709         * po/cs.po: Update Czech translation from translation project.
48711         * po/sv.po: Update Swedish translation from translation project.
48713 2013-07-27  David S. Miller  <davem@davemloft.net>
48715         * po/eo.po: Update Esperanto translation from translation project.
48717         * po/vi.po: Update Vietnamese translation from translation project.
48719         * po/de.po: Update German translation from translation project.
48721 2013-07-26  David S. Miller  <davem@davemloft.net>
48723         * po/bg.po: Update Bulgarian translation from translation project.
48725         * po/nl.po: Update Dutch translation from translation project.
48726         * po/pl.po: Update Polish translation from translation project.
48727         * po/ru.po: Update Russian translation from translation project.
48729 2013-07-24  David S. Miller  <davem@davemloft.net>
48731         * po/libc.pot: Update.
48733 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48735         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48736         variable page size.
48737         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48738         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48739         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48741 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48743         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48745 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48746             Andreas Schwab  <schwab@suse.de>
48747             Roland McGrath  <roland@hack.frob.com>
48748             Joseph Myers  <joseph@codesourcery.com>
48749             Carlos O'Donell  <carlos@redhat.com>
48751         [BZ #15755]
48752         * config.h.in: Define HAVE_PT_CHOWN.
48753         * config.make.in (build-pt-chown): New variable.
48754         * configure.in (--enable-pt_chown): New configure option.
48755         * configure: Regenerate.
48756         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48757         build-pt-chown is enabled.
48758         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48759         pt_chown to fix pty ownership.
48760         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48761         CLOSE_ALL_FDS.
48762         * manual/install.texi (Configuring and compiling): Mention
48763         --enable-pt_chown. Add @findex for grantpt.
48764         * INSTALL: Regenerate.
48766 2013-07-20  David S. Miller  <davem@davemloft.net>
48768         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48769         difference between 32-bit and 64-bit.
48771 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48773         [BZ #15711]
48774         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48775         Avoid system header dependency with -ffreestanding.
48776         ($(objpfx)bits/syscall%d): Likewise.
48778 2013-07-13  David S. Miller  <davem@davemloft.net>
48780         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48781         underflows from atanl/atan2l due to bug 15319.
48782         (casinh_test_data): Likewise.
48784 2013-07-07  David S. Miller  <davem@davemloft.net>
48786         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48788 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48790         * sysdeps/i386/fpu/libm-test-ulps: Update.
48791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48793 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48795         * configure.in (--enable-lock-elision): Fix message text.
48796         * INSTALL: Regenerate.
48797         * configure: Regenerate.
48799 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48803 2013-07-03  Andreas Jaeger  <aj@suse.de>
48805         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48806         define.
48807         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48808         (ptrace_peeksiginfo_args): Add.
48809         (__ptrace_peeksiginfo_flags): Add.
48810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48812         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48814 2013-07-03  Allan McRae  <allan@archlinux.org>
48816         * sysdeps/i386/fpu/libm-test-ulps: Update.
48818 2013-07-02  David S. Miller  <davem@davemloft.net>
48820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48822 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48826 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48828         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48831 2013-07-02  Andi Kleen <ak@linux.intel.com>
48833         * config.h.in (ENABLE_LOCK_ELISION): Add.
48834         * configure.in (--enable-lock-elision): Add option.
48835         * manual/install.texi: Document --enable lock elision.
48836         * configure: Regenerate
48837         * INSTALL: Regenerate.
48839 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48841         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48842         SSE4.2 strcasecmp for libc.a.
48843         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48845 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48847         [BZ #13304]
48848         * soft-fp/op-common.h (_FP_FMA): New macro.
48849         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48850         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48851         (_FP_MUL_MEAT_1_imm): ... here.
48852         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48853         (_FP_MUL_MEAT_1_wide): ... here.
48854         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48855         (_FP_MUL_MEAT_1_hard): ... here.
48856         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48857         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48858         (_FP_MUL_MEAT_2_wide): ... here.
48859         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48860         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48861         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48862         (_FP_MUL_MEAT_2_gmp): ... here.
48863         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48864         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48865         (_FP_MUL_MEAT_4_wide): ... here.
48866         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48867         (_FP_MUL_MEAT_4_gmp): ... here.
48868         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48869         (_FP_WFRACBITS_DW_S): Likewise.
48870         (_FP_WFRACXBITS_DW_S): Likewise.
48871         (_FP_HIGHBIT_DW_S): Likewise.
48872         (FP_FMA_S): Likewise.
48873         (_FP_FRAC_HIGH_DW_S): Likewise.
48874         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48875         (_FP_WFRACBITS_DW_D): Likewise.
48876         (_FP_WFRACXBITS_DW_D): Likewise.
48877         (_FP_HIGHBIT_DW_D): Likewise.
48878         (FP_FMA_D): Likewise.
48879         (_FP_FRAC_HIGH_DW_D): Likewise.
48880         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48881         (_FP_WFRACBITS_DW_E): Likewise.
48882         (_FP_WFRACXBITS_DW_E): Likewise.
48883         (_FP_HIGHBIT_DW_E): Likewise.
48884         (FP_FMA_E): Likewise.
48885         (_FP_FRAC_HIGH_DW_E): Likewise.
48886         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48887         (_FP_WFRACBITS_DW_Q): Likewise.
48888         (_FP_WFRACXBITS_DW_Q): Likewise.
48889         (_FP_HIGHBIT_DW_Q): Likewise.
48890         (FP_FMA_Q): Likewise.
48891         (_FP_FRAC_HIGH_DW_Q): Likewise.
48892         * soft-fp/fmasf4.c: New file.
48893         * soft-fp/fmadf4.c: Likewise.
48894         * soft-fp/fmatf4.c: Likewise.
48896 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48899         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48900         Silvermont.
48901         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48902         macro.
48903         (index_Slow_SSE4_2): Likewise.
48904         (index_Prefer_PMINUB_for_stringop): Likewise.
48905         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48906         bit_Slow_SSE4_2 is set.
48907         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48908         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48910 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48912         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48913         rtld_global._dl_hwcap2.
48914         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48915         POWER8.
48916         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48917         POWER8 feature descriptions defined in _dl_hwcap2.
48918         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48919         string handling for POWER8 feature bits.
48920         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48921         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48922         _dl_powerpc_cap_flags.
48923         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48924         * sysdeps/powerpc/rtld-global-offsets.sym
48925         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48926         _dl_hwcap2 in the rtld_global_ro structure.
48928 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48930         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48931         hardware capabilities in support of AT_HWCAP2.
48932         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48933         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48934         GLRO(dl_hwcap2).
48935         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48936         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48937         explicitly the unknown a_type display mechanism is used.
48938         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48939         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48940         struct member.
48941         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48942         to macro prototype for AT_HWCAP2 support.
48943         * sysdeps/i386/dl-procinfo.h: Likewise.
48944         * sysdeps/s390/dl-procinfo.h: Likewise.
48945         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48946         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48947         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48948         return -1 for unknown a_type display fallback.
48949         * sysdeps/sparc/dl-procinfo.h: Likewise.
48950         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48951         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48953 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48955         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48956         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48958 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48960         [BZ #12492]
48961         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48962         mprotect making __stack_prot writable.
48964 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48965             Joseph Myers  <joseph@codesourcery.com>
48967         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48968         as being properly aligned.
48970 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48972         * dlfcn/modstatic5.c: New file.
48973         * dlfcn/tststatic5.c: New file.
48974         * dlfcn/Makefile (tests): Add tststatic5.
48975         (tests-static): Likewise.
48976         (modules-names): Add modstatic5.
48977         (tststatic5-ENV): New variable.
48978         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48980         [BZ #15022]
48981         * elf/dl-support.c (_dl_main_map): New variable.
48982         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48983         (_dl_nns, _dl_load_adds): Set to 1.
48984         (_dl_initial_searchlist): Refer to _dl_main_map.
48985         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48986         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48987         call to _dl_get_origin.
48988         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48989         around call_map.
48990         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48991         * dlfcn/modstatic3.c: New file.
48992         * dlfcn/tststatic3.c: New file.
48993         * dlfcn/tststatic4.c: New file.
48994         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48995         (tests-static): Likewise.
48996         (modules-names): Add modstatic3.
48997         (tststatic3-ENV, tststatic4-ENV): New variables.
48998         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48999         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49001 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49003         * configure.in (CC): Require GCC version 4.4 or later.
49004         * configure: Regenerated.
49005         * manual/install.texi (Tools for Compilation): Update GCC version
49006         requirement.
49007         * INSTALL: Regenerated.
49009 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49011         [BZ #15674]
49012         * string/test-memcmp.c (check2): New.
49013         (main): Call check2.
49015         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49017 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49019         [BZ #15022]
49020         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49021         over to...
49022         (dl_open_worker) [!SHARED]: ... here.
49024 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49026         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49028 2013-06-25  Richard Henderson  <rth@redhat.com>
49030         * locale/programs/locarchive.c: Include <libc-internal.h>
49032 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49034         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49035         trailing whitespace removed.
49037 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49039         [BZ #10283]
49040         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49041         * locale/programs/locarchive.c: Include libc-mmap.h.
49042         (prepare_address_space): Take two new outputs (the mmap base and len).
49043         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49044         values.
49045         (create_archive): Declare new mmap base and len values for
49046         prepare_address_space, and store the result in ah.
49047         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49048         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49049         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49050         Declare new mmap base and len values for
49051         prepare_address_space, and store the result in new_ah.
49052         (open_archive): Declare new mmap base and len values for
49053         prepare_address_space, and store the result in ah.
49054         (close_archive): If ah->mmap_base is not NULL, use that and
49055         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49056         * sysdeps/generic/libc-mmap.h: New file.
49058 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49060         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49061         (ALIGN_UP): Likewise.
49062         (PTR_ALIGN_DOWN): Likewise.
49063         (PTR_ALIGN_UP): Likewise.
49065 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49067         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49068         entry mapped to PPC_PLATFORM_POWER8.
49069         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49070         POWER8.
49071         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49072         (_dl_string_platform): Add case for exporting platform position for
49073         POWER8.
49074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49075         search path to sysdeps/powerpc/powerpc32/power8 directory.
49076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49077         search path to sysdeps/powerpc/powerpc64/power8 directory.
49078         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49079         power7 directories.
49080         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49081         power7 directories.
49083 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49085         * INSTALL: Regenerate.
49087         * nscd/connections.c (nscd_init): Fix comment.
49089 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49091         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49093         [BZ #15667]
49094         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49095         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49097 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49099         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49100         DL_DST_REQ_STATIC.
49101         (DL_DST_REQ_STATIC): Remove macro.
49103 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49105         [BZ #7006]
49106         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49107         with a shift of 0 bits.
49109 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49111         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49112         $(tststatic-ENV).
49114 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49116         [BZ #15655]
49117         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49119 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49121         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49122         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49123         accepts -fno-tree-loop-distribute-patterns.
49124         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49125         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49126         recursive call.
49127         * string/memset.c (memset): Likewise.
49128         * string/test-memmove.c (simple_memmove): Disable loop transformation
49129         to library calls.
49130         * string/test-memset.c (simple_memset): Likewise.
49131         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49132         * benchtests/bench-memset.c (simple_memset): Likewise.
49133         * configure: Regenerated.
49135 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49137         * math/test-misc.c (main): Ignore fesetround failure when failures
49138         of subsequent rounding tests would be ignored.
49140         [BZ #15654]
49141         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49142         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49143         * math/fegetenv.c (__fegetenv): Return 0.
49144         * math/fegetexcept.c (fegetexcept): Return 0.
49145         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49146         FE_TONEAREST.
49147         * math/feholdexcpt.c (feholdexcept): Return 0.
49148         * math/fesetenv.c (__fesetenv): Return 0.
49149         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49150         argument FE_TONEAREST.
49151         * math/feupdateenv.c (__feupdateenv): Return 0.
49152         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49154 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49156         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49157         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49158         ($(objpfx)rtld-%.os rules): Use them.
49160 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49162         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49163         fields.
49165 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49167         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49168         length of target pattern, then descending length of dependency pattern.
49169         * configure.in (AWK): Require gawk 3.1.2 or newer.
49170         * manual/install.texi (Tools for Compilation): Say that we do.
49171         * configure: Regenerated.
49173         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49174         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49175         * scripts/sysd-rules.awk: ... this new script.
49176         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49177         than a glob-style pattern.
49179 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49181         * math/test-misc.c (main): Do not treat incorrectly rounded
49182         conversions as failure unless ROUNDING_TESTS passes.
49184 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49186         [BZ #15631]
49187         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49188         restore exception state around main square root computation, then
49189         check for inexactness explicitly.
49191         * math/libm-test.inc (fma_test_data): Add another test.
49193 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49195         * manual/threads.texi (Non-POSIX Extensions): New document
49196         node.  Document pthread_getattr_default_np and
49197         pthread_setattr_default_np.
49199         * Versions.def (libpthread): Add GLIBC_2.18.
49200         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49202         Likewise.
49203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49204         Likewise.
49205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49206         Likewise.
49207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49208         Likewise.
49209         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49210         Likewise.
49211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49212         Likewise.
49213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49214         Likewise.
49215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49216         Likewise.
49217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49218         Likewise.
49220 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49223         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49225 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49226             H.J. Lu  <hjl.tools@gmail.com>
49228         [BZ #15627]
49229         * sysdeps/x86_64/rtld-memset.c: Remove file.
49230         * sysdeps/x86_64/rtld-memset.S: New file.
49232 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49234         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49235         (test_in_one_mode): Take arguments for whether the rounding mode
49236         is supported for each floating-point type.
49237         (do_test): Pass new arguments to test_in_one_mode using
49238         ROUNDING_TESTS.
49240 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49242         * posix/tst-waitid.c (do_test): Distinguish different instances of
49243         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49244         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49245         before entering the kernel for waitpid.
49247 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49249         * NEWS: Fix note on clock function precision.  Text by Roland
49250         McGrath.
49252 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49254         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49255         it into place only when and if the sanity check passes.
49257 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49259         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49260         output for whether conversion result is exact.  Take argument
49261         indicating whether type is IBM long double.
49262         (round_for_all): Change need_exact field to ibm_ld.
49263         * stdlib/tst-strtod-round.c (struct exactness): New type.
49264         (struct test): Change bool ld_ok field to struct exactness exact.
49265         (TEST): Update all definitions for change to field.
49266         (tests): Regenerate array contents.
49267         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49268         field value.  Check for IBM long double here.
49269         (do_test): Update calls to test_in_one_mode.
49271 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49273         [BZ #12515]
49274         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49275         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49277 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49279         [BZ #15605]
49280         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49281         generated by the compiler on loop optimizations.
49282         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49283         general definitions.
49285 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49287         * math/bug-nextafter.c: Include <math-tests.h>.
49288         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49289         the relevant type.
49290         * math/bug-nexttoward.c: Include <math-tests.h>.
49291         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49292         the relevant type.
49293         * math/test-misc.c: Include <math-tests.h>.
49294         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49295         the relevant type.
49297 2013-06-12  Andreas Jaeger  <aj@suse.de>
49299         * po/ia.po: Update Interlingua translation from translation
49300         project.
49302 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49304         * include/fenv.h: Include stdbool.h.
49305         (struct rm_ctx): New structure.
49306         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49307         Define macro.
49308         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49309         (SET_RESTORE_ROUNDF): Likewise.
49310         (SET_RESTORE_ROUNDL): Likewise.
49311         (SET_RESTORE_ROUND_NOEX): Likewise.
49312         (SET_RESTORE_ROUND_NOEXF): Likewise.
49313         (SET_RESTORE_ROUND_NOEXL): Likewise.
49314         (SET_RESTORE_ROUND_53BIT): Likewise.
49315         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49316         (libc_feresetround_noexf_ctx): Likewise.
49317         (libc_feresetround_noexl_ctx): Likewise.
49318         (libc_feholdsetround_53bit_ctx): Likewise.
49319         (libc_feresetround_53bit_ctx): Likewise.
49320         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49321         (libc_feholdexcept_setround_sse_ctx): New function.
49322         (libc_fesetenv_sse_ctx): Likewise.
49323         (libc_feupdateenv_sse_ctx): Likewise.
49324         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49325         (libc_feholdexcept_setround_387_ctx): Likewise.
49326         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49327         (libc_feholdsetround_387_prec_ctx): Likewise.
49328         (libc_feholdsetround_387_ctx): Likewise.
49329         (libc_feholdsetround_387_53bit_ctx): Likewise.
49330         (libc_feholdsetround_sse_ctx): Likewise.
49331         (libc_feresetround_sse_ctx): Likewise.
49332         (libc_feresetround_387_ctx): Likewise.
49333         (libc_feupdateenv_387_ctx): Likewise.
49334         (libc_feholdexcept_setroundf_ctx): Define macro.
49335         (libc_fesetenvf_ctx): Likewise.
49336         (libc_feupdateenvf_ctx): Likewise.
49337         (libc_feholdsetroundf_ctx): Likewise.
49338         (libc_feresetroundf_ctx): Likewise.
49339         (libc_feholdexcept_setround_ctx): Likewise.
49340         (libc_fesetenv_ctx): Likewise.
49341         (libc_feupdateenv_ctx): Likewise.
49342         (libc_feholdsetround_ctx): Likewise.
49343         (libc_feresetround_ctx): Likewise.
49344         (libc_feholdexcept_setroundl_ctx): Likewise.
49345         (libc_feupdateenvl_ctx): Likewise.
49346         (libc_feholdsetroundl_ctx): Likewise.
49347         (libc_feresetroundl_ctx): Likewise.
49348         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49349         (libc_feresetround_53bit_ctx): Likewise.
49351 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49353         * locale/iso-639.def: Convert to UTF-8.
49355 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49357         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49358         (EXCEPTION_TESTS_double): Likewise.
49359         (EXCEPTION_TESTS_long_double): Likewise.
49360         (EXCEPTION_TESTS): Likewise.
49361         * math/libm-test.inc (test_exceptions): Only test exceptions if
49362         EXCEPTION_TESTS (FLOAT).
49364 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49366         * benchtests/Makefile (string-bench): Add strcpy_chk and
49367         stpcpy_chk.
49368         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49369         * benchtests/bench-stpcpy_chk.c: New file.
49370         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49371         * benchtests/bench-strcpy_chk.c: New file.
49372         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49373         code.
49374         (do_test): Likewise.
49376 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49378         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49379         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49380         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49381         with tabs where appropriate.
49382         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49383         dl-procinfo.h.
49384         [PPC_PLATFORM_PPC440]: Likewise.
49385         [PPC_PLATFORM_PPC464]: Likewise.
49386         [PPC_PLATFORM_PPC476]: Likewise.
49387         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49388         ppc464, and ppc476 platform strings merging from ports/
49389         dl-procinfo.h.
49391 2013-06-11  Andreas Schwab  <schwab@suse.de>
49393         [BZ #14991]
49394         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49395         (from_ucs4_idx): Regenerate.
49396         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49397         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49398         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49399         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49400         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49401         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49402         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49403         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49404         from FROM_LOOP and TO_LOOP specific macros.
49405         (BODY): Handle combining characters.
49406         * iconvdata/BIG5HKSCS.irreversible: Update.
49407         * iconvdata/BIG5HKSCS.precomposed: New file.
49408         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49409         characters.
49410         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49412 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49414         * include/sys/time.h: Fix indentation and add copyright header.
49416         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49417         (do_test): Likewise.
49418         * string/test-memchr.c (do_one_test): Likewise.
49419         (do_test): Likewise.
49420         * string/test-memcmp.c (do_one_test): Likewise.
49421         (do_test): Likewise.
49422         * string/test-memcpy.c (do_one_test): Likewise.
49423         (do_test): Likewise.
49424         * string/test-memmem.c (do_one_test): Likewise.
49425         (do_test): Likewise.
49426         (do_random_tests): Likewise.
49427         * string/test-memmove.c (do_one_test): Likewise.
49428         (do_test): Likewise.
49429         * string/test-memset.c (do_one_test): Likewise.
49430         (do_test): Likewise.
49431         * string/test-rawmemchr.c (do_one_test): Likewise.
49432         (do_test): Likewise.
49433         * string/test-strcasecmp.c (do_one_test): Likewise.
49434         (do_test): Likewise.
49435         * string/test-strcasestr.c (do_one_test): Likewise.
49436         (do_test): Likewise.
49437         * string/test-strcat.c (do_one_test): Likewise.
49438         (do_test): Likewise.
49439         * string/test-strchr.c (do_one_test): Likewise.
49440         (do_test): Likewise.
49441         * string/test-strcmp.c (do_one_test): Likewise.
49442         (do_test): Likewise.
49443         * string/test-strcpy.c (do_one_test): Likewise.
49444         (do_test): Likewise.
49445         * string/test-string.h: Likewise.
49446         (test_init): Likewise.
49447         * string/test-strlen.c (do_one_test): Likewise.
49448         (do_test): Likewise.
49449         * string/test-strncasecmp.c (do_one_test): Likewise.
49450         (do_test): Likewise.
49451         * string/test-strncat.c (do_one_test): Likewise.
49452         (do_test): Likewise.
49453         * string/test-strncmp.c (do_one_test): Likewise.
49454         (do_test_limit): Likewise.
49455         (do_test): Likewise.
49456         * string/test-strncpy.c (do_one_test): Likewise.
49457         (do_test): Likewise.
49458         * string/test-strnlen.c (do_one_test): Likewise.
49459         (do_test): Likewise.
49460         * string/test-strpbrk.c (do_one_test): Likewise.
49461         (do_test): Likewise.
49462         * string/test-strrchr.c (do_one_test): Likewise.
49463         (do_test): Likewise.
49464         * string/test-strspn.c (do_one_test): Likewise.
49465         (do_test): Likewise.
49466         * string/test-strstr.c (do_one_test): Likewise.
49467         (do_test): Likewise.
49469         * benchtests/Makefile (string-bench): Add string benchmarks.
49470         * benchtests/bench-bcopy-ifunc.c: New file.
49471         * benchtests/bench-bcopy.c: New file.
49472         * benchtests/bench-bzero-ifunc.c: New file.
49473         * benchtests/bench-bzero.c: New file.
49474         * benchtests/bench-memccpy-ifunc.c: New file.
49475         * benchtests/bench-memccpy.c: New file.
49476         * benchtests/bench-memchr-ifunc.c: New file.
49477         * benchtests/bench-memchr.c: New file.
49478         * benchtests/bench-memcmp-ifunc.c: New file.
49479         * benchtests/bench-memcmp.c: New file.
49480         * benchtests/bench-memmem-ifunc.c: New file.
49481         * benchtests/bench-memmem.c: New file.
49482         * benchtests/bench-memmove-ifunc.c: New file.
49483         * benchtests/bench-memmove.c: New file.
49484         * benchtests/bench-mempcpy-ifunc.c: New file.
49485         * benchtests/bench-mempcpy.c: New file.
49486         * benchtests/bench-memset-ifunc.c: New file.
49487         * benchtests/bench-memset.c: New file.
49488         * benchtests/bench-rawmemchr-ifunc.c: New file.
49489         * benchtests/bench-rawmemchr.c: New file.
49490         * benchtests/bench-stpcpy-ifunc.c: New file.
49491         * benchtests/bench-stpcpy.c: New file.
49492         * benchtests/bench-stpncpy-ifunc.c: New file.
49493         * benchtests/bench-stpncpy.c: New file.
49494         * benchtests/bench-strcasecmp-ifunc.c: New file.
49495         * benchtests/bench-strcasecmp.c: New file.
49496         * benchtests/bench-strcasestr-ifunc.c: New file.
49497         * benchtests/bench-strcasestr.c: New file.
49498         * benchtests/bench-strcat-ifunc.c: New file.
49499         * benchtests/bench-strcat.c: New file.
49500         * benchtests/bench-strchr-ifunc.c: New file.
49501         * benchtests/bench-strchr.c: New file.
49502         * benchtests/bench-strchrnul-ifunc.c: New file.
49503         * benchtests/bench-strchrnul.c: New file.
49504         * benchtests/bench-strcmp-ifunc.c: New file.
49505         * benchtests/bench-strcmp.c: New file.
49506         * benchtests/bench-strcpy-ifunc.c: New file.
49507         * benchtests/bench-strcpy.c: New file.
49508         * benchtests/bench-strcspn-ifunc.c: New file.
49509         * benchtests/bench-strcspn.c: New file.
49510         * benchtests/bench-strlen-ifunc.c: New file.
49511         * benchtests/bench-strlen.c: New file.
49512         * benchtests/bench-strncasecmp-ifunc.c: New file.
49513         * benchtests/bench-strncasecmp.c: New file.
49514         * benchtests/bench-strncat-ifunc.c: New file.
49515         * benchtests/bench-strncat.c: New file.
49516         * benchtests/bench-strncmp-ifunc.c: New file.
49517         * benchtests/bench-strncmp.c: New file.
49518         * benchtests/bench-strncpy-ifunc.c: New file.
49519         * benchtests/bench-strncpy.c: New file.
49520         * benchtests/bench-strnlen-ifunc.c: New file.
49521         * benchtests/bench-strnlen.c: New file.
49522         * benchtests/bench-strpbrk-ifunc.c: New file.
49523         * benchtests/bench-strpbrk.c: New file.
49524         * benchtests/bench-strrchr-ifunc.c: New file.
49525         * benchtests/bench-strrchr.c: New file.
49526         * benchtests/bench-strspn-ifunc.c: New file.
49527         * benchtests/bench-strspn.c: New file.
49528         * benchtests/bench-strstr-ifunc.c: New file.
49529         * benchtests/bench-strstr.c: New file.
49531         * benchtests/Makefile: Disable parallel execution of targets.
49532         (string-bench): Add memcpy.
49533         (benchset): New variable to store a list of benchmark sets.
49534         (bench-func): Renamed from bench.
49535         (bench-set): New target.
49536         (bench): Depend on bench-func and bench-set.
49537         * benchtests/README: Add section on benchmark sets.
49538         * benchtests/bench-memcpy-ifunc.c: New file.
49539         * benchtests/bench-memcpy.c: New file.
49540         * benchtests/bench-string.h: New file.
49542 2013-06-11  Andreas Schwab  <schwab@suse.de>
49544         [BZ #15577]
49545         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49546         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49547         values in the triple.
49548         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49549         terminator in the group key.
49551 2013-06-11  Andreas Jaeger  <aj@suse.de>
49553         * po/zh_TW.po: Update Chinese (traditional) translation from
49554         translation project.
49556 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49558         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49559         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49560         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49561         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49562         (clock_getcpuclockid): Likewise.
49563         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49564         Add weak_alias and libc_hidden_def.
49565         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49566         * rt/clock_gettime.c (clock_gettime): Rename to
49567         __clock_gettime.  Add weak_alias and libc_hidden_def.
49568         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49569         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49570         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49571         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49572         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49573         Likewise.
49574         * rt/clock_settime.c (clock_settime): Rename to
49575         __clock_settime.  Add weak_alias and libc_hidden_def.
49576         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49578 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49580         * mach/err_boot.sub: Remove trailing whitespace.
49581         * mach/err_ipc.sub: Likewise.
49582         * mach/err_mach.sub: Likewise.
49584         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49585         (ROUNDING_TESTS_double): Likewise.
49586         (ROUNDING_TESTS_long_double): Likewise.
49587         (ROUNDING_TESTS): Likewise.
49588         * math/libm-test.inc: Include <math-tests.h>.
49589         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49590         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49591         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49592         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49594 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49596         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49597         of assigning.
49599 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49601         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49602         otherwise empty TRANS lines.
49603         * sysdeps/gnu/errlist.c: Regenerated.
49605         * catgets/gencat.c (error_print): Use (void) in function
49606         definition.
49607         * crypt/crypt_util.c (__init_des): Likewise.
49608         * crypt/speeds.c (Stop): Likewise.
49609         (main): Likewise.
49610         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49611         * inet/ruserpass.c (token): Likewise.
49612         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49613         * intl/localealias.c (extend_alias_table): Likewise.
49614         * intl/plural-exp.c (init_germanic_plural): Likewise.
49615         * libio/fcloseall.c (__fcloseall): Likewise.
49616         * libio/genops.c (_IO_flush_all): Likewise.
49617         (_IO_flush_all_linebuffered): Likewise.
49618         (_IO_cleanup): Likewise.
49619         (_IO_iter_begin): Likewise.
49620         (_IO_iter_end): Likewise.
49621         (_IO_list_lock): Likewise.
49622         (_IO_list_unlock): Likewise.
49623         (_IO_list_resetlock): Likewise.
49624         * libio/getchar.c (getchar): Likewise.
49625         * libio/getchar_u.c (getchar_unlocked): Likewise.
49626         * libio/getwchar.c (getwchar): Likewise.
49627         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49628         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49629         * login/getpt.c (__getpt): Likewise.
49630         * login/tst-utmp.c (main): Likewise.
49631         * malloc/hooks.c (__malloc_check_init): Likewise.
49632         * malloc/malloc.c (__malloc_stats): Likewise.
49633         * malloc/mtrace.c (tr_break): Likewise.
49634         (mtrace): Likewise.
49635         (muntrace): Likewise.
49636         * misc/fstab.c (endfsent): Likewise.
49637         * misc/getclktck.c (__getclktck): Likewise.
49638         * misc/getdtsz.c (__getdtablesize): Likewise.
49639         * misc/gethostid.c (gethostid): Likewise.
49640         * misc/getpagesize.c (__getpagesize): Likewise.
49641         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49642         (__get_nprocs): Likewise.
49643         (__get_phys_pages): Likewise.
49644         (__get_avphys_pages): Likewise.
49645         * misc/getttyent.c (getttyent): Likewise.
49646         (setttyent): Likewise.
49647         (endttyent): Likewise.
49648         * misc/getusershell.c (getusershell): Likewise.
49649         (endusershell): Likewise.
49650         (setusershell): Likewise.
49651         (initshells): Likewise.
49652         * misc/hsearch.c (__hdestroy): Likewise.
49653         * misc/sync.c (sync): Likewise.
49654         * misc/syslog.c (closelog_internal): Likewise.
49655         (closelog): Likewise.
49656         * misc/ttyslot.c (ttyslot): Likewise.
49657         * misc/vhangup.c (vhangup): Likewise.
49658         * posix/fork.c (__fork): Likewise.
49659         * posix/getegid.c (__getegid): Likewise.
49660         * posix/geteuid.c (__geteuid): Likewise.
49661         * posix/getgid.c (__getgid): Likewise.
49662         * posix/getpid.c (__getpid): Likewise.
49663         * posix/getppid.c (__getppid): Likewise.
49664         * posix/getuid.c (__getuid): Likewise.
49665         * posix/pause.c (pause): Likewise.
49666         * posix/setpgrp.c (setpgrp): Likewise.
49667         * posix/setsid.c (__setsid): Likewise.
49668         * posix/test-vfork.c (noop): Likewise.
49669         * resolv/gethnamaddr.c (_endhtent): Likewise.
49670         (_gethtent): Likewise.
49671         (ht_endhostent): Likewise.
49672         (gethostent): Likewise.
49673         (dns_service): Likewise.
49674         * stdlib/drand48.c (drand48): Likewise.
49675         * stdlib/lrand48.c (lrand48): Likewise.
49676         * stdlib/mrand48.c (mrand48): Likewise.
49677         * stdlib/rand.c (rand): Likewise.
49678         * stdlib/random.c (__random): Likewise.
49679         * stdlib/setenv.c (clearenv): Likewise.
49680         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49681         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49682         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49683         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49684         (__get_nprocs): Likewise.
49685         (__get_phys_pages): Likewise.
49686         (__get_avphys_pages): Likewise.
49687         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49688         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49689         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49690         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49691         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49692         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49693         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49694         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49695         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49696         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49697         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49698         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49699         * sysdeps/posix/clock.c (clock): Likewise.
49700         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49701         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49702         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49703         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49704         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49705         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49706         (__get_nprocs_conf): Likewise.
49707         (__get_phys_pages): Likewise.
49708         (__get_avphys_pages): Likewise.
49709         * time/clock.c (clock): Likewise.
49710         * time/tzset.c (__tzname_max): Likewise.
49712 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49714         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49715         (__bswap_32): Do not use "register".
49716         * crypt/crypt.c (_ufc_doit_r): Likewise.
49717         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49718         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49719         * gmon/gmon.c (__monstartup): Likewise.
49720         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49721         * hurd/hurdmalloc.c (more_memory): Likewise.
49722         (malloc): Likewise.
49723         (free): Likewise.
49724         (realloc): Likewise.
49725         (malloc_fork_prepare): Likewise.
49726         (malloc_fork_parent): Likewise.
49727         (malloc_fork_child): Likewise.
49728         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49729         (_svcauth_des): Likewise.
49730         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49731         * inet/inet_net.c (inet_network): Likewise.
49732         * inet/inet_netof.c (inet_netof): Likewise.
49733         * inet/rcmd.c (__validuser2_sa): Likewise.
49734         * io/fts.c (fts_open): Likewise.
49735         (fts_load): Likewise.
49736         (fts_close): Likewise.
49737         (fts_read): Likewise.
49738         (fts_children): Likewise.
49739         (fts_build): Likewise.
49740         (fts_stat): Likewise.
49741         (fts_sort): Likewise.
49742         (fts_alloc): Likewise.
49743         (fts_lfree): Likewise.
49744         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49745         (_IO_file_xsgetn): Likewise.
49746         (_IO_file_xsgetn_mmap): Likewise.
49747         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49748         (_IO_cookie_write): Likewise.
49749         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49750         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49751         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49752         * malloc/obstack.c (_obstack_begin): Likewise.
49753         (_obstack_begin_1): Likewise.
49754         (_obstack_newchunk): Likewise.
49755         (_obstack_allocated_p): Likewise.
49756         (obstack_free): Likewise.
49757         (_obstack_memory_used): Likewise.
49758         * misc/getttyent.c (getttynam): Likewise.
49759         (getttyent): Likewise.
49760         (skip): Likewise.
49761         (value): Likewise.
49762         * misc/getusershell.c (initshells): Likewise.
49763         * misc/syslog.c (__vsyslog_chk): Likewise.
49764         * misc/ttyslot.c (ttyslot): Likewise.
49765         * nis/nis_hash.c (__nis_hash): Likewise.
49766         * posix/fnmatch_loop.c (FCT): Likewise.
49767         * posix/getconf.c (print_all): Likewise.
49768         (main): Likewise.
49769         * posix/getopt.c (exchange): Likewise.
49770         * posix/glob.c (globfree): Likewise.
49771         (prefix_array): Likewise.
49772         (__glob_pattern_type): Likewise.
49773         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49774         (NS_GET32): Likewise.
49775         (NS_PUT16): Likewise.
49776         (NS_PUT32): Likewise.
49777         * resolv/gethnamaddr.c (getanswer): Likewise.
49778         (gethostbyname2): Likewise.
49779         (gethostbyaddr): Likewise.
49780         (_gethtent): Likewise.
49781         (_gethtbyname2): Likewise.
49782         (_gethtbyaddr): Likewise.
49783         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49784         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49785         * resolv/res_init.c (__res_vinit): Likewise.
49786         (net_mask): Likewise.
49787         * resolv/res_mkquery.c (outchar): Likewise.
49788         (PRINT): Likewise.
49789         * stdio-common/printf_fp.c (outchar): Likewise.
49790         (PRINT): Likewise.
49791         * stdio-common/printf_fphex.c (outchar): Likewise.
49792         (PRINT): Likewise.
49793         * stdio-common/printf_size.c (outchar): Likewise.
49794         (PRINT): Likewise.
49795         * stdio-common/test_rdwr.c (main): Likewise.
49796         * stdio-common/tfformat.c (matches): Likewise.
49797         * stdio-common/vfprintf.c (outchar): Likewise.
49798         (printf_unknown): Likewise.
49799         (buffered_vfprintf): Likewise.
49800         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49801         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49802         (ReadFile): Likewise.
49803         * stdlib/qsort.c (SWAP): Likewise.
49804         (_quicksort): Likewise.
49805         * stdlib/setenv.c (__add_to_environ): Likewise.
49806         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49807         * stdlib/strtol_l.c (__strtol_l): Likewise.
49808         * stdlib/tst-strtod.c (main): Likewise.
49809         * stdlib/tst-strtol.c (main): Likewise.
49810         * stdlib/tst-strtoll.c (main): Likewise.
49811         * string/bits/string2.h (__strcmp_cc): Likewise.
49812         (__strcmp_cg): Likewise.
49813         (__strcspn_c1): Likewise.
49814         (__strcspn_c2): Likewise.
49815         (__strcspn_c3): Likewise.
49816         (__strspn_c1): Likewise.
49817         (__strspn_c2): Likewise.
49818         (__strspn_c3): Likewise.
49819         (__strsep_1c): Likewise.
49820         (__strsep_2c): Likewise.
49821         (__strsep_3c): Likewise.
49822         * string/memccpy.c (__memccpy): Likewise.
49823         * string/stpcpy.c (__stpcpy): Likewise.
49824         * string/strcmp.c (strcmp): Likewise.
49825         * string/strrchr.c (strrchr): Likewise.
49826         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49827         Likewise.
49828         * sysdeps/mach/hurd/getcwd.c
49829         (_hurd_canonicalize_directory_name_internal): Likewise.
49830         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49831         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49832         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49833         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49834         Likewise, in both definitions.
49835         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49836         definitions.
49837         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49838         64] (__bswap_64): Likewise.
49839         * time/test_time.c (main): Likewise.
49840         * time/tzfile.c (__tzfile_read): Likewise.
49841         (__tzfile_compute): Likewise.
49842         * time/tzset.c (__tzset_parse_tz): Likewise.
49843         (tzset_internal): Likewise.
49844         (compute_change): Likewise.
49845         * wcsmbs/wcscat.c (__wcscat): Likewise.
49846         * wcsmbs/wcschr.c (wcschr): Likewise.
49847         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49848         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49849         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49850         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49851         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49852         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49853         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49854         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49855         * wcsmbs/wmemset.c (wmemset): Likewise.
49857 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49859         * scripts/config.guess: Update to version 2013-05-16.
49860         * scripts/config.sub: Update to version 2013-04-24.
49861         * scripts/install-sh: Update to version 2011-11-20.07.
49862         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49863         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49865 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49867         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49868         * elf/sln.c: Likewise.
49869         * hurd/hurd/ioctl.h: Likewise.
49870         * hurd/hurdmalloc.c: Likewise.
49871         * hurd/xattr.c: Likewise.
49872         * include/shlib-compat.h: Likewise.
49873         * inet/ruserpass.c: Likewise.
49874         * libio/iofgets_u.c: Likewise.
49875         * libio/iofgetws_u.c: Likewise.
49876         * locale/programs/ld-identification.c: Likewise.
49877         * locale/programs/ld-time.c: Likewise.
49878         * mach/msg-destroy.c: Likewise.
49879         * nss/nss_files/files-netgrp.c: Likewise.
49880         * resolv/res_data.c: Likewise.
49881         * soft-fp/op-1.h: Likewise.
49882         * soft-fp/op-2.h: Likewise.
49883         * soft-fp/op-4.h: Likewise.
49884         * soft-fp/op-common.h: Likewise.
49885         * stdio-common/printf_fphex.c: Likewise.
49886         * stdlib/strtod_l.c: Likewise.
49887         * sunrpc/rpc/clnt.h: Likewise.
49888         * sysdeps/generic/framestate.c: Likewise.
49889         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49890         * sysdeps/i386/bsd-setjmp.S: Likewise.
49891         * sysdeps/i386/__longjmp.S: Likewise.
49892         * sysdeps/i386/setjmp.S: Likewise.
49893         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49894         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49895         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49896         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49897         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49898         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49899         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49900         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49901         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49902         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49903         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49904         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49905         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49906         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49907         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49908         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49909         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49910         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49911         * sysdeps/ieee754/support.c: Likewise.
49912         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49913         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49914         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49915         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49916         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49917         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49918         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49919         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49920         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49921         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49922         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49923         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49924         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49925         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49926         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49927         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49928         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49931 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49933         * posix/transbug.c: Remove executable mode.
49935 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49937         * crypt/speeds.c: Remove trailing whitespace.
49938         * dlfcn/default.c: Likewise.
49939         * elf/ifuncdep2.c: Likewise.
49940         * elf/ifuncmain1.c: Likewise.
49941         * elf/ifuncmain1vis.c: Likewise.
49942         * elf/testobj.h: Likewise.
49943         * elf/tst-stackguard1.c: Likewise.
49944         * gmon/sys/gmon.h: Likewise.
49945         * hurd/hurdmsg.c: Likewise.
49946         * hurd/new-fd.c: Likewise.
49947         * hurd/ports-get.c: Likewise.
49948         * iconvdata/ibm1008_420.c: Likewise.
49949         * inet/tst-getni1.c: Likewise.
49950         * inet/tst-getni2.c: Likewise.
49951         * libio/ioungetc.c: Likewise.
49952         * libio/wfiledoalloc.c: Likewise.
49953         * manual/libm-err-tab.pl: Likewise.
49954         * math/w_dremf.c: Likewise.
49955         * misc/ftruncate.c: Likewise.
49956         * posix/bug-glob2.c: Likewise.
49957         * posix/tst-pcre.c: Likewise.
49958         * posix/wait4.c: Likewise.
49959         * resolv/README: Likewise.
49960         * resolv/res_debug.h: Likewise.
49961         * resolv/tst-inet_ntop.c: Likewise.
49962         * setjmp/bug269-setjmp.c: Likewise.
49963         * soft-fp/extended.h: Likewise.
49964         * soft-fp/op-1.h: Likewise.
49965         * soft-fp/op-2.h: Likewise.
49966         * soft-fp/op-4.h: Likewise.
49967         * soft-fp/op-8.h: Likewise.
49968         * soft-fp/testit.c: Likewise.
49969         * stdio-common/bug16.c: Likewise.
49970         * stdlib/random.c: Likewise.
49971         * sunrpc/rpcsvc/rquota.x: Likewise.
49972         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49973         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49975         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49976         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49977         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49978         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49979         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49980         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49981         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49982         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49983         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49984         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49985         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49986         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49987         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49988         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49989         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49990         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49991         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49992         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49993         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49994         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49995         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49996         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49997         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50000         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50001         * sysdeps/ieee754/s_lib_version.c: Likewise.
50002         * sysdeps/mach/hurd/check_fds.c: Likewise.
50003         * sysdeps/mach/hurd/getsockname.c: Likewise.
50004         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50005         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50006         * sysdeps/powerpc/bits/link.h: Likewise.
50007         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50008         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50009         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50010         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50011         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50012         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50013         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50014         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50015         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50016         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50017         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50018         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50019         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50020         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50021         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50022         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50024         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50025         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50026         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50027         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50028         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50029         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50030         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50031         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50032         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50033         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50034         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50035         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50036         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50037         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50038         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50039         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50040         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50041         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50042         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50043         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50044         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50045         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50046         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50047         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50048         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50049         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50050         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50051         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50052         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50053         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50054         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50055         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50056         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50057         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50058         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50059         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50060         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50061         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50062         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50063         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50064         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50065         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50066         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50067         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50068         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50069         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50070         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50071         * sysdeps/powerpc/sysdep.h: Likewise.
50072         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50073         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50074         * sysdeps/sh/dl-trampoline.S: Likewise.
50075         * sysdeps/sh/memset.S: Likewise.
50076         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50077         * sysdeps/sh/strlen.S: Likewise.
50078         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50079         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50080         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50081         * sysdeps/sparc/sparc32/rem.S: Likewise.
50082         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50083         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50084         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50085         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50086         * sysdeps/sparc/sparc32/urem.S: Likewise.
50087         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50088         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50089         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50090         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50091         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50092         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50093         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50094         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50095         * sysdeps/unix/bsd/times.c: Likewise.
50096         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50097         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50101         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50102         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50103         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50105         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50106         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50107         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50108         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50109         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50110         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50111         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50112         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50113         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50114         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50115         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50116         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50117         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50118         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50119         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50120         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50121         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50122         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50123         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50124         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50125         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50126         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50127         * sysdeps/x86_64/strcspn.S: Likewise.
50129 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50131         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50132         generated file.  Regenerate properly from gen-translit.pl.
50133         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50134         locale/C-translit.h.
50136 2013-06-05  Andreas Schwab  <schwab@suse.de>
50138         [BZ #15100]
50139         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50140         week as 6 instead of -1.
50141         * time/tst-strptime.c (day_tests): Add test case.
50143 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50145         * sysdeps/generic/math_private.h
50146         (libc_feholdexcept_setround_53bit): Replace with
50147         libc_feholdsetround_53bit.
50148         (libc_feupdateenv_53bit): Replace with
50149         libc_feresetround_53bit.
50150         (SET_RESTORE_ROUND_53BIT): Adjust.
50152 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50154         * string/test-strchrnul.c: Add copyright header.
50156         * posix/tst-getaddrinfo4.c: Increase test timeout.
50158 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50160         [BZ #15536]
50161         * math/libm-test.inc (MAX_EXP): Remove
50162         (MIN_EXP): Define.
50163         (ulp): Use MIN_EXP - MANT_DIG.
50164         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50166 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50168         * po/be.po: Revert last change.
50169         * po/zh_CN.po: Likewise.
50170         * po/header.pot: Likewise.
50172 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50174         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50175         link-libc-deps to empty as target-specific variable.
50176         * Makerules (link-libc-args): New variable.
50177         (libc-for-link): Likewise.
50178         (link-libc-deps): Likewise.
50179         (lib%.so): Depend on $(link-libc-deps).  Link with
50180         $(link-libc-args).
50181         (build-module): Link with $(link-libc-args).
50182         (build-module-asneeded): Likewise.
50183         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50184         list of objects.
50185         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50186         target-specific variable.
50187         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50188         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50189         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50190         libc.
50191         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50192         libc and ld.so.
50193         ($(objpfx)libpcprofile.so): Likewise.
50194         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50195         libc_nonshared.a.
50196         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50197         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50198         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50199         $(link-libc-deps).
50200         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50201         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50202         * login/Makefile ($(objpfx)libutil.so): Likewise.
50203         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50204         * math/Makefile ($(objpfx)libm.so): Likewise.
50205         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50206         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50207         variable instead of depending directly on libc.
50208         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50209         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50210         $(link-libc-deps).
50211         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50212         libc.
50213         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50214         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50215         ($(objpfx)libanl.so): Likewise.
50216         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50217         ld.so.
50218         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50219         $(link-libc-deps).
50220         * sysdeps/i386/fpu/Makefile: Remove file.
50221         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50222         ($(objpfx)libm.so): Remove dependency on ld.so.
50224 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50226         [BZ # 15553]
50227         * nis/yp_xdr.c (XDRMAXNAME): Define.
50228         (XDRMAXRECORD): Define.
50229         (xdr_domainname): Use XDRMAXNAME.
50230         (xdr_mapname): Likewise.
50231         (xdr_peername): Likewise.
50232         (xdr_keydat): Use XDRMAXRECORD.
50233         (xdr_valdat): Likewise.
50235 2013-05-30  Jeff Law  <law@redhat.com>
50237         [BZ #14256]
50238         * manual/errno.texi (ESTALE): Update to account for more than
50239         just NFS file systems.
50240         * sysdeps/gnu/errlist.c: Regenerated.
50242 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50244         [BZ #15465]
50245         * elf/Makefile (tests): Add tst-null-argv.
50246         (modules-names):  Add tst-null-argv-lib.
50247         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50248         (tst-null-argv-ENV): Set environment for tst-null-argv.
50249         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50250         (RTLD_PROGNAME): New macro.
50251         * elf/tst-null-argv.c: New test case.
50252         * elf/tst-null-argv-lib.c: Library for test case.
50253         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50254         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50255         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50256         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50257         * elf/dl-init.c (call_init): Likewise.
50258         (_dl_init): Likewise.
50259         * elf/dl-load.c (print_search_path): Likewise.
50260         (_dl_map_object): Likewise.
50261         * elf/dl-lookup.c (do_lookup_x): Likewise.
50262         (add_dependency): Likewise.
50263         (_dl_lookup_symbol_x): Likewise.
50264         (_dl_debug_bindings): Likewise.
50265         * elf/dl-open.c (_dl_show_scope): Likewise.
50266         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50267         * elf/dl-version.c (match_symbol): Likewise.
50268         (_dl_check_map_versions): Likewise.
50269         * elf/rtld.c (dl_main): Likewise.
50270         (print_unresolved): Use RTLD_PROGNAME.
50271         (print_missing_version): Likewise.
50272         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50273         (elf_machine_rela): Likewise.
50274         * sysdeps/powerpc/powerpc32/dl-machine.c
50275         (__process_machine_rela): Likewise.
50276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50277         Likewise.
50278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50279         Likewise.
50280         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50281         Likewise.
50282         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50283         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50284         Likewise.
50285         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50286         Likewise.
50287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50289 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50291         * po/be.po: Add descriptive title.
50292         * po/zh_CN.po: Likewise.
50293         * po/header.pot: Likewise.
50295 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50297         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50298         error message.
50299         (enlarge_archive): Likewise.
50301 2013-05-28  Ben North  <ben@redfrontdoor.org>
50303         * manual/arith.texi (frexp): It is the magnitude of the return
50304         value which lies in [0.5, 1), not the return value itself.
50306 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50310 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50312         * stdio-common/bug26.c (main): Correct fscanf template.
50314         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50315         declare _dl_skip_args.
50317         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50318         Don't declare.
50320         * manual/platform.texi: Add missing @end deftypefun.
50322 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50324         [BZ #15529]
50325         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50326         bit of mantissa of 2^16382.
50327         * math/libm-test.inc (hypot_test_data): Add more tests.
50329         * math/libm-test.inc: Add drem and pow10 to list of tested
50330         functions.
50331         (pow10_test): New function.
50332         (drem_test): Likewise.
50333         (drem_test_tonearest): Likewise.
50334         (drem_test_towardzero): Likewise.
50335         (drem_test_downward): Likewise.
50336         (drem_test_upward): Likewise.
50337         (main): Call the new functions.
50339         * math/libm-test.inc (finite_test_data): Remove.
50340         (finite_test): Run tests from isfinite_test_data.
50341         (gamma_test_data): Remove.
50342         (gamma_test): Run tests from lgamma_test_data.
50343         * sysdeps/i386/fpu/libm-test-ulps: Update.
50344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50346 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50348         * manual/platform.texi: Add PowerPC PPR function set documentation.
50349         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50350         implementation.
50352 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50354         * math/libm-test.inc (MAX_EXP): Define.
50355         (ULPDIFF): Define.
50356         (ulp): New function.
50357         (check_float_internal): Use ULPDIFF.
50358         (cpow_test): Disable failing test.
50359         (check_ulp): Test ulp() implemetnation.
50360         (main): Call check_ulp before starting tests.
50362 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50364         * math/gen-libm-test.pl (generate_testfile): Do not handle
50365         START_DATA and END_DATA.
50366         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50367         END_DATA.
50368         (acos_tonearest_test_data): Likewise.
50369         (acos_towardzero_test_data): Likewise.
50370         (acos_downward_test_data): Likewise.
50371         (acos_upward_test_data): Likewise.
50372         (acosh_test_data): Likewise.
50373         (asin_test_data): Likewise.
50374         (asin_tonearest_test_data): Likewise.
50375         (asin_towardzero_test_data): Likewise.
50376         (asin_downward_test_data): Likewise.
50377         (asin_upward_test_data): Likewise.
50378         (asinh_test_data): Likewise.
50379         (atan_test_data): Likewise.
50380         (atanh_test_data): Likewise.
50381         (atan2_test_data): Likewise.
50382         (cabs_test_data): Likewise.
50383         (cacos_test_data): Likewise.
50384         (cacosh_test_data): Likewise.
50385         (carg_test_data): Likewise.
50386         (casin_test_data): Likewise.
50387         (casinh_test_data): Likewise.
50388         (catan_test_data): Likewise.
50389         (catanh_test_data): Likewise.
50390         (cbrt_test_data): Likewise.
50391         (ccos_test_data): Likewise.
50392         (ccosh_test_data): Likewise.
50393         (ceil_test_data): Likewise.
50394         (cexp_test_data): Likewise.
50395         (cimag_test_data): Likewise.
50396         (clog_test_data): Likewise.
50397         (clog10_test_data): Likewise.
50398         (conj_test_data): Likewise.
50399         (copysign_test_data): Likewise.
50400         (cos_test_data): Likewise.
50401         (cos_tonearest_test_data): Likewise.
50402         (cos_towardzero_test_data): Likewise.
50403         (cos_downward_test_data): Likewise.
50404         (cos_upward_test_data): Likewise.
50405         (cosh_test_data): Likewise.
50406         (cosh_tonearest_test_data): Likewise.
50407         (cosh_towardzero_test_data): Likewise.
50408         (cosh_downward_test_data): Likewise.
50409         (cosh_upward_test_data): Likewise.
50410         (cpow_test_data): Likewise.
50411         (cproj_test_data): Likewise.
50412         (creal_test_data): Likewise.
50413         (csin_test_data): Likewise.
50414         (csinh_test_data): Likewise.
50415         (csqrt_test_data): Likewise.
50416         (ctan_test_data): Likewise.
50417         (ctan_tonearest_test_data): Likewise.
50418         (ctan_towardzero_test_data): Likewise.
50419         (ctan_downward_test_data): Likewise.
50420         (ctan_upward_test_data): Likewise.
50421         (ctanh_test_data): Likewise.
50422         (ctanh_tonearest_test_data): Likewise.
50423         (ctanh_towardzero_test_data): Likewise.
50424         (ctanh_downward_test_data): Likewise.
50425         (ctanh_upward_test_data): Likewise.
50426         (erf_test_data): Likewise.
50427         (erfc_test_data): Likewise.
50428         (exp_test_data): Likewise.
50429         (exp_tonearest_test_data): Likewise.
50430         (exp_towardzero_test_data): Likewise.
50431         (exp_downward_test_data): Likewise.
50432         (exp_upward_test_data): Likewise.
50433         (exp10_test_data): Likewise.
50434         (exp2_test_data): Likewise.
50435         (expm1_test_data): Likewise.
50436         (fabs_test_data): Likewise.
50437         (fdim_test_data): Likewise.
50438         (finite_test_data): Likewise.
50439         (floor_test_data): Likewise.
50440         (fma_test_data): Likewise.
50441         (fma_towardzero_test_data): Likewise.
50442         (fma_downward_test_data): Likewise.
50443         (fma_upward_test_data): Likewise.
50444         (fmax_test_data): Likewise.
50445         (fmin_test_data): Likewise.
50446         (fmod_test_data): Likewise.
50447         (fpclassify_test_data): Likewise.
50448         (frexp_test_data): Likewise.
50449         (gamma_test_data): Likewise.
50450         (hypot_test_data): Likewise.
50451         (ilogb_test_data): Likewise.
50452         (isfinite_test_data): Likewise.
50453         (isgreater_test_data): Likewise.
50454         (isgreaterequal_test_data): Likewise.
50455         (isinf_test_data): Likewise.
50456         (isless_test_data): Likewise.
50457         (islessequal_test_data): Likewise.
50458         (islessgreater_test_data): Likewise.
50459         (isnan_test_data): Likewise.
50460         (isnormal_test_data): Likewise.
50461         (issignaling_test_data): Likewise.
50462         (isunordered_test_data): Likewise.
50463         (j0_test_data): Likewise.
50464         (j1_test_data): Likewise.
50465         (jn_test_data): Likewise.
50466         (ldexp_test_data): Likewise.
50467         (lgamma_test_data): Likewise.
50468         (lrint_test_data): Likewise.
50469         (lrint_tonearest_test_data): Likewise.
50470         (lrint_towardzero_test_data): Likewise.
50471         (lrint_downward_test_data): Likewise.
50472         (lrint_upward_test_data): Likewise.
50473         (llrint_test_data): Likewise.
50474         (llrint_tonearest_test_data): Likewise.
50475         (llrint_towardzero_test_data): Likewise.
50476         (llrint_downward_test_data): Likewise.
50477         (llrint_upward_test_data): Likewise.
50478         (log_test_data): Likewise.
50479         (log10_test_data): Likewise.
50480         (log1p_test_data): Likewise.
50481         (log2_test_data): Likewise.
50482         (logb_test_data): Likewise.
50483         (logb_downward_test_data): Likewise.
50484         (lround_test_data): Likewise.
50485         (llround_test_data): Likewise.
50486         (modf_test_data): Likewise.
50487         (nearbyint_test_data): Likewise.
50488         (nextafter_test_data): Likewise.
50489         (nexttoward_test_data): Likewise.
50490         (pow_test_data): Likewise.
50491         (pow_tonearest_test_data): Likewise.
50492         (pow_towardzero_test_data): Likewise.
50493         (pow_downward_test_data): Likewise.
50494         (pow_upward_test_data): Likewise.
50495         (remainder_test_data): Likewise.
50496         (remainder_tonearest_test_data): Likewise.
50497         (remainder_towardzero_test_data): Likewise.
50498         (remainder_downward_test_data): Likewise.
50499         (remainder_upward_test_data): Likewise.
50500         (remquo_test_data): Likewise.
50501         (rint_test_data): Likewise.
50502         (rint_tonearest_test_data): Likewise.
50503         (rint_towardzero_test_data): Likewise.
50504         (rint_downward_test_data): Likewise.
50505         (rint_upward_test_data): Likewise.
50506         (round_test_data): Likewise.
50507         (scalb_test_data): Likewise.
50508         (scalbn_test_data): Likewise.
50509         (scalbln_test_data): Likewise.
50510         (signbit_test_data): Likewise.
50511         (sin_test_data): Likewise.
50512         (sin_tonearest_test_data): Likewise.
50513         (sin_towardzero_test_data): Likewise.
50514         (sin_downward_test_data): Likewise.
50515         (sin_upward_test_data): Likewise.
50516         (sincos_test_data): Likewise.
50517         (sinh_test_data): Likewise.
50518         (sinh_tonearest_test_data): Likewise.
50519         (sinh_towardzero_test_data): Likewise.
50520         (sinh_downward_test_data): Likewise.
50521         (sinh_upward_test_data): Likewise.
50522         (sqrt_test_data): Likewise.
50523         (tan_test_data): Likewise.
50524         (tan_tonearest_test_data): Likewise.
50525         (tan_towardzero_test_data): Likewise.
50526         (tan_downward_test_data): Likewise.
50527         (tan_upward_test_data): Likewise.
50528         (tanh_test_data): Likewise.
50529         (tgamma_test_data): Likewise.
50530         (trunc_test_data): Likewise.
50531         (y0_test_data): Likewise.
50532         (y1_test_data): Likewise.
50533         (yn_test_data): Likewise.
50534         (significand_test_data): Likewise.
50536         * math/gen-libm-test.pl (@functions): Remove variable.
50537         (generate_testfile): Don't handle START and END lines.
50538         * math/libm-test.inc (START): New macro.
50539         (END): Likewise.
50540         (END_COMPLEX): Likewise.
50541         (acos_test): Use END macro without arguments.
50542         (acos_test_tonearest): Likewise.
50543         (acos_test_towardzero): Likewise.
50544         (acos_test_downward): Likewise.
50545         (acos_test_upward): Likewise.
50546         (acosh_test): Likewise.
50547         (asin_test): Likewise.
50548         (asin_test_tonearest): Likewise.
50549         (asin_test_towardzero): Likewise.
50550         (asin_test_downward): Likewise.
50551         (asin_test_upward): Likewise.
50552         (asinh_test): Likewise.
50553         (atan_test): Likewise.
50554         (atanh_test): Likewise.
50555         (atan2_test): Likewise.
50556         (cabs_test): Likewise.
50557         (cacos_test): Use END_COMPLEX macro without arguments.
50558         (cacosh_test): Likewise.
50559         (carg_test): Use END macro without arguments.
50560         (casin_test): Use END_COMPLEX macro without arguments.
50561         (casinh_test): Likewise.
50562         (catan_test): Likewise.
50563         (catanh_test): Likewise.
50564         (cbrt_test): Use END macro without arguments.
50565         (ccos_test): Use END_COMPLEX macro without arguments.
50566         (ccosh_test): Likewise.
50567         (ceil_test): Use END macro without arguments.
50568         (cexp_test): Use END_COMPLEX macro without arguments.
50569         (cimag_test): Use END macro without arguments.
50570         (clog_test): Use END_COMPLEX macro without arguments.
50571         (clog10_test): Likewise.
50572         (conj_test): Likewise.
50573         (copysign_test): Use END macro without arguments.
50574         (cos_test): Likewise.
50575         (cos_test_tonearest): Likewise.
50576         (cos_test_towardzero): Likewise.
50577         (cos_test_downward): Likewise.
50578         (cos_test_upward): Likewise.
50579         (cosh_test): Likewise.
50580         (cosh_test_tonearest): Likewise.
50581         (cosh_test_towardzero): Likewise.
50582         (cosh_test_downward): Likewise.
50583         (cosh_test_upward): Likewise.
50584         (cpow_test): Use END_COMPLEX macro without arguments.
50585         (cproj_test): Likewise.
50586         (creal_test): Use END macro without arguments.
50587         (csin_test): Use END_COMPLEX macro without arguments.
50588         (csinh_test): Likewise.
50589         (csqrt_test): Likewise.
50590         (ctan_test): Likewise.
50591         (ctan_test_tonearest): Likewise.
50592         (ctan_test_towardzero): Likewise.
50593         (ctan_test_downward): Likewise.
50594         (ctan_test_upward): Likewise.
50595         (ctanh_test): Likewise.
50596         (ctanh_test_tonearest): Likewise.
50597         (ctanh_test_towardzero): Likewise.
50598         (ctanh_test_downward): Likewise.
50599         (ctanh_test_upward): Likewise.
50600         (erf_test): Use END macro without arguments.
50601         (erfc_test): Likewise.
50602         (exp_test): Likewise.
50603         (exp_test_tonearest): Likewise.
50604         (exp_test_towardzero): Likewise.
50605         (exp_test_downward): Likewise.
50606         (exp_test_upward): Likewise.
50607         (exp10_test): Likewise.
50608         (exp2_test): Likewise.
50609         (expm1_test): Likewise.
50610         (fabs_test): Likewise.
50611         (fdim_test): Likewise.
50612         (finite_test): Likewise.
50613         (floor_test): Likewise.
50614         (fma_test): Likewise.
50615         (fma_test_towardzero): Likewise.
50616         (fma_test_downward): Likewise.
50617         (fma_test_upward): Likewise.
50618         (fmax_test): Likewise.
50619         (fmin_test): Likewise.
50620         (fmod_test): Likewise.
50621         (fpclassify_test): Likewise.
50622         (frexp_test): Likewise.
50623         (gamma_test): Likewise.
50624         (hypot_test): Likewise.
50625         (ilogb_test): Likewise.
50626         (isfinite_test): Likewise.
50627         (isgreater_test): Likewise.
50628         (isgreaterequal_test): Likewise.
50629         (isinf_test): Likewise.
50630         (isless_test): Likewise.
50631         (islessequal_test): Likewise.
50632         (islessgreater_test): Likewise.
50633         (isnan_test): Likewise.
50634         (isnormal_test): Likewise.
50635         (issignaling_test): Likewise.
50636         (isunordered_test): Likewise.
50637         (j0_test): Likewise.
50638         (j1_test): Likewise.
50639         (jn_test): Likewise.
50640         (ldexp_test): Likewise.
50641         (lgamma_test): Likewise.
50642         (lrint_test): Likewise.
50643         (lrint_test_tonearest): Likewise.
50644         (lrint_test_towardzero): Likewise.
50645         (lrint_test_downward): Likewise.
50646         (lrint_test_upward): Likewise.
50647         (llrint_test): Likewise.
50648         (llrint_test_tonearest): Likewise.
50649         (llrint_test_towardzero): Likewise.
50650         (llrint_test_downward): Likewise.
50651         (llrint_test_upward): Likewise.
50652         (log_test): Likewise.
50653         (log10_test): Likewise.
50654         (log1p_test): Likewise.
50655         (log2_test): Likewise.
50656         (logb_test): Likewise.
50657         (logb_test_downward): Likewise.
50658         (lround_test): Likewise.
50659         (llround_test): Likewise.
50660         (modf_test): Likewise.
50661         (nearbyint_test): Likewise.
50662         (nextafter_test): Likewise.
50663         (nexttoward_test): Likewise.
50664         (pow_test): Likewise.
50665         (pow_test_tonearest): Likewise.
50666         (pow_test_towardzero): Likewise.
50667         (pow_test_downward): Likewise.
50668         (pow_test_upward): Likewise.
50669         (remainder_test): Likewise.
50670         (remainder_test_tonearest): Likewise.
50671         (remainder_test_towardzero): Likewise.
50672         (remainder_test_downward): Likewise.
50673         (remainder_test_upward): Likewise.
50674         (remquo_test): Likewise.
50675         (rint_test): Likewise.
50676         (rint_test_tonearest): Likewise.
50677         (rint_test_towardzero): Likewise.
50678         (rint_test_downward): Likewise.
50679         (rint_test_upward): Likewise.
50680         (round_test): Likewise.
50681         (scalb_test): Likewise.
50682         (scalbn_test): Likewise.
50683         (scalbln_test): Likewise.
50684         (signbit_test): Likewise.
50685         (sin_test): Likewise.
50686         (sin_test_tonearest): Likewise.
50687         (sin_test_towardzero): Likewise.
50688         (sin_test_downward): Likewise.
50689         (sin_test_upward): Likewise.
50690         (sincos_test): Likewise.
50691         (sinh_test): Likewise.
50692         (sinh_test_tonearest): Likewise.
50693         (sinh_test_towardzero): Likewise.
50694         (sinh_test_downward): Likewise.
50695         (sinh_test_upward): Likewise.
50696         (sqrt_test): Likewise.
50697         (tan_test): Likewise.
50698         (tan_test_tonearest): Likewise.
50699         (tan_test_towardzero): Likewise.
50700         (tan_test_downward): Likewise.
50701         (tan_test_upward): Likewise.
50702         (tanh_test): Likewise.
50703         (tgamma_test): Likewise.
50704         (trunc_test): Likewise.
50705         (y0_test): Likewise.
50706         (y1_test): Likewise.
50707         (yn_test): Likewise.
50708         (significand_test): Likewise.
50710 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50712         [BZ #15381]
50713         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50715 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50717         [BZ #14894]
50718         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50719         __ppc_mdoio and __ppc_mdoom.
50720         * manual/platform.texi: Document new functions __ppc_yield,
50721         __ppc_mdoio and __ppc_mdoom.
50723 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50725         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50726         (main): Mention "tls" pseudo-hwcap is legacy.
50727         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50729 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50731         * math/gen-libm-test.pl (parse_args): Output only string of
50732         arguments as text for test name, not full call or descriptions of
50733         tests for extra outputs.
50734         (generate_testfile): Do not pass function name to parse_args.
50735         Generate this_func variable from START.
50736         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50737         field to arg_str.
50738         (struct test_ff_f_data): Likewise.
50739         (test_ff_f_data_nexttoward): Likewise.
50740         (struct test_fi_f_data): Likewise.
50741         (struct test_fl_f_data): Likewise.
50742         (struct test_if_f_data): Likewise.
50743         (struct test_fff_f_data): Likewise.
50744         (struct test_c_f_data): Likewise.
50745         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50746         (struct test_fF_f1_data): Likewise.
50747         (struct test_ffI_f1_data): Likewise.
50748         (struct test_c_c_data): Rename test_name field to arg_str.
50749         (struct test_cc_c_data): Likewise.
50750         (struct test_f_i_data): Likewise.
50751         (struct test_ff_i_data): Likewise.
50752         (struct test_f_l_data): Likewise.
50753         (struct test_f_L_data): Likewise.
50754         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50755         and extra2_name.
50756         (COMMON_TEST_SETUP): New macro.
50757         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50758         (COMMON_TEST_CLEANUP): Likewise.
50759         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50760         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50761         macros.
50762         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50763         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50764         macros.
50765         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50766         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50767         cleanup macros.
50768         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50769         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50770         macros.
50771         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50772         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50773         macros.
50774         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50775         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50776         cleanup macros.
50777         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50778         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50779         cleanup macros.
50780         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50781         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50782         cleanup macros.
50783         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50784         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50785         macros.
50786         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50787         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50788         macros.
50789         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50790         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50791         macros.
50792         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50793         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50794         cleanup macros.
50795         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50796         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50797         cleanup macros.
50798         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50799         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50800         macros.
50801         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50802         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50803         cleanup macros.
50804         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50805         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50806         macros.
50807         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50808         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50809         macros.
50810         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50811         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50812         cleanup macros.
50813         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50815 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50817         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50818         to _sifields.sigfault.
50819         (si_addr_lsb): Define new macro.
50820         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50822         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50824 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50826         [BZ #15441]
50827         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50828         returns -1.
50829         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50830         null return -1.
50831         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50832         loading the domain.
50834 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50836         * math/gen-libm-test.pl (parse_args): Do not include expected
50837         result in test name.
50838         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50840         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50842         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50845 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         * benchtests/Makefile: Sort function entries.
50849         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50850         tanh, asinh, acosh, atanh.
50851         * benchtests/acos-inputs: New file.
50852         * benchtests/acosh-inputs: New file.
50853         * benchtests/asin-inputs: New file.
50854         * benchtests/asinh-inputs: New file.
50855         * benchtests/atanh-inputs: New file.
50856         * benchtests/cosh-inputs: New file.
50857         * benchtests/log-inputs: New file.
50858         * benchtests/sinh-inputs: New file.
50859         * benchtests/tanh-inputs: New file.
50861 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50863         [BZ #15339]
50864         * posix/tst-getaddrinfo4.c: New test.
50865         * posix/Makefile (tests): Add it.
50867 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50869         [BZ #15339]
50870         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50871         when no services were used.
50872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50873         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50875 2013-05-21  Andreas Schwab  <schwab@suse.de>
50877         [BZ #15014]
50878         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50879         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50880         successful.
50881         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50882         redundant variable declarations and reallocation of buffer when
50883         parsing as IPv6 address.  Always set NSS status when called from
50884         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50885         buffer too small.  Correct computation of needed size.
50886         * nss/Makefile (tests): Add test-digits-dots.
50887         * nss/test-digits-dots.c: New test.
50889 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50891         * benchtests/Makefile: Remove instructions for adding
50892         benchmark tests.
50893         * benchtests/README: New file to explain how to execute and
50894         enhance the benchmark tests.
50896 2013-05-21  Andreas Schwab  <schwab@suse.de>
50898         [BZ #15493]
50899         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50900         * setjmp/tst-sigsetjmp.c: New test.
50902 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50904         * sysdeps/x86_64/memset.S (memset): New implementation.
50905         (__bzero): Likewise.
50906         (__memset_tail): New function.
50908 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50910         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50911         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50912         __memcpy_sse2_unaligned ifunc selection.
50913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50914         Add memcpy-sse2-unaligned.S.
50915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50916         Add: __memcpy_sse2_unaligned.
50918 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50920         [BZ #15490]
50921         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50922         math_force_eval before restoring floating-point envrionment.
50923         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50924         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50925         Likewise.
50926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50927         <math_private.h>.
50928         (__nearbyintl): Use math_force_eval before restoring
50929         floating-point environment.
50930         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50932         * math/gen-libm-test.pl (special_functions): Remove.
50933         (parse_args): Don't handle TEST_extra.  Handle functions with no
50934         return value.
50935         * math/libm-test.inc (struct test_sincos_data): Replace with
50936         struct test_fFF_11_data.
50937         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50938         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50939         (sincos_test_data): Change element type to struct
50940         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50941         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50942         RUN_TEST_LOOP_sincos.
50943         * math/README.libm-test: Don't mention special handling of
50944         individual functions.
50945         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50946         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50947         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50948         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50949         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50952         * math/gen-libm-test.pl (get_variable): Remove function.
50953         (parse_args): Don't show pointer parameters to call in test
50954         names.  Use "extra output N" in test names for extra outputs
50955         rather than naming variables.
50957 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50959         [BZ #15488]
50960         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50961         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50962         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50963         double tests.
50964         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50965         disable.
50966         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50967         check_long_double.
50969         * math/gen-libm-test.pl (@tests): Remove variable.
50970         ($count): Likewise.
50971         (new_test): Remove function.
50972         (show_exceptions): New function.
50973         (special_functions): Use show_exceptions instead of new_test.
50974         (parse_args): Likewise.
50975         (generate_testfile): Pass only function name in generated call to
50976         print_max_error or print_complex_max_error.
50977         (get_ulps): Do not handle complex tests specially.
50978         (output_test): Rename to ...
50979         (get_all_ulps_for_test): ... this.  Return a string rather than
50980         printing to a file.  Require ulps to be present.
50981         (output_ulps): Generate arrays rather than #defines.
50982         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50983         (struct ulp_data): New type.
50984         (BUILD_COMPLEX_ULP): Remove macro.
50985         (compare_ulp_data): New function.
50986         (find_ulps): Likewise.
50987         (find_test_ulps): Likewise.
50988         (find_function_ulps): Likewise.
50989         (find_complex_function_ulps): Likewise.
50990         (print_max_error): Determine allowed ulps using
50991         find_function_ulps.
50992         (print_complex_max_error): Determine allowed ulps using
50993         find_complex_function_ulps.
50994         (check_float_internal): Determine max ulps using find_test_ulps.
50995         (check_float): Do not take max_ulp parameter.  Update call to
50996         check_float_internal.
50997         (check_complex): Likewise.
50998         (check_int): Do not take max_ulp parameter.
50999         (check_long): Likewise.
51000         (check_bool): Likewise.
51001         (check_longlong): Likewise.
51002         (struct test_f_f_data): Remove max_ulp field.
51003         (struct test_ff_f_data): Likewise.
51004         (struct test_ff_f_data_nexttoward): Likewise.
51005         (struct test_fi_f_data): Likewise.
51006         (struct test_fl_f_data): Likewise.
51007         (struct test_if_f_data): Likewise.
51008         (struct test_fff_f_data): Likewise.
51009         (struct test_c_f_data): Likewise.
51010         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51011         (struct test_fF_f1_data): Likewise.
51012         (struct test_ffI_f1_data): Likewise.
51013         (struct test_c_c_data): Remove max_ulp field.
51014         (struct test_cc_c_data): Likewise.
51015         (struct test_f_i_data): Likewise.
51016         (struct test_ff_i_data): Likewise.
51017         (struct test_f_l_data): Likewise.
51018         (struct test_f_L_data): Likewise.
51019         (struct test_sincos_data): Likewise.
51020         (RUN_TEST_f_f): Do not handle ulps.
51021         (RUN_TEST_LOOP_f_f): Likewise.
51022         (RUN_TEST_2_f): Likewise.
51023         (RUN_TEST_LOOP_2_f): Likewise.
51024         (RUN_TEST_fff_f): Likewise.
51025         (RUN_TEST_LOOP_fff_f): Likewise.
51026         (RUN_TEST_c_f): Likewise.
51027         (RUN_TEST_LOOP_c_f): Likewise.
51028         (RUN_TEST_f_f1): Likewise.
51029         (RUN_TEST_LOOP_f_f1): Likewise.
51030         (RUN_TEST_fF_f1): Likewise.
51031         (RUN_TEST_LOOP_fF_f1): Likewise.
51032         (RUN_TEST_fI_f1): Likewise.
51033         (RUN_TEST_LOOP_fI_f1): Likewise.
51034         (RUN_TEST_ffI_f1): Likewise.
51035         (RUN_TEST_LOOP_ffI_f1): Likewise.
51036         (RUN_TEST_c_c): Likewise.
51037         (RUN_TEST_LOOP_c_c): Likewise.
51038         (RUN_TEST_cc_c): Likewise.
51039         (RUN_TEST_LOOP_cc_c): Likewise.
51040         (RUN_TEST_f_i): Likewise.
51041         (RUN_TEST_LOOP_f_i): Likewise.
51042         (RUN_TEST_f_i_tg): Likewise.
51043         (RUN_TEST_LOOP_f_i_tg): Likewise.
51044         (RUN_TEST_ff_i_tg): Likewise.
51045         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51046         (RUN_TEST_f_b): Likewise.
51047         (RUN_TEST_LOOP_f_b): Likewise.
51048         (RUN_TEST_f_b_tg): Likewise.
51049         (RUN_TEST_LOOP_f_b_tg): Likewise.
51050         (RUN_TEST_f_l): Likewise.
51051         (RUN_TEST_LOOP_f_l): Likewise.
51052         (RUN_TEST_f_L): Likewise.
51053         (RUN_TEST_LOOP_f_L): Likewise.
51054         (RUN_TEST_sincos): Likewise.
51055         (RUN_TEST_LOOP_sincos): Likewise.
51057 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51059         [BZ #15480]
51060         [BZ #15485]
51061         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51062         main case of finite arguments, set rounding mode to FE_TONEAREST
51063         and discard exceptions.
51064         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51065         exceptions.
51066         (remainder_tonearest_test_data): New variable.
51067         (remainder_test_tonearest): New function.
51068         (remainder_towardzero_test_data): New variable.
51069         (remainder_test_towardzero): New function.
51070         (remainder_downward_test_data): New variable.
51071         (remainder_test_downward): New function.
51072         (remainder_upward_test_data): New variable.
51073         (remainder_test_upward): New function.
51074         (main): Call the new test functions.
51076         * math/libm-test.inc (struct test_f_f1_data): Remove field
51077         extra_init.
51078         (struct test_fF_f1_data): Likewise.
51079         (struct test_ffI_f1_data): Likewise.
51080         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51081         based on value of EXTRA_EXPECTED.
51082         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51083         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51084         EXTRA_VAR based on value of EXTRA_EXPECTED.
51085         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51086         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51087         EXTRA_VAR based on value of EXTRA_EXPECTED.
51088         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51089         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51090         EXTRA_VAR based on value of EXTRA_EXPECTED.
51091         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51092         * math/gen-libm-test.pl (parse_args): Don't output initializers
51093         for extra output values.
51095         * math/libm-test.inc (check_int): Expect result to be exactly
51096         equal to expected value and do not handle ulps.
51097         (check_long): Likewise.
51098         (check_longlong): Likewise.
51100         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51101         exceptions.
51102         (cimag_test_data): Likewise.
51103         (conj_test_data): Likewise.
51104         (copysign_test_data): Likewise.
51105         (cproj_test_data): Likewise.
51106         (creal_test_data): Likewise.
51107         (fabs_test_data): Likewise.
51108         (fdim_test_data): Likewise.
51109         (finite_test_data): Likewise.
51110         (floor_test_data): Likewise.
51111         (fmax_test_data): Likewise.
51112         (fmin_test_data): Likewise.
51113         (fmod_test_data): Likewise.
51114         (fpclassify_test_data): Likewise.
51115         (frexp_test_data): Likewise.
51116         (ilogb_test_data): Likewise.
51117         (isfinite_test_data): Likewise.
51118         (isgreater_test_data): Likewise.
51119         (isgreaterequal_test_data): Likewise.
51120         (isinf_test_data): Likewise.
51121         (isless_test_data): Likewise.
51122         (islessequal_test_data): Likewise.
51123         (islessgreater_test_data): Likewise.
51124         (isnan_test_data): Likewise.
51125         (isnormal_test_data): Likewise.
51126         (issignaling_test_data): Likewise.
51127         (isunordered_test_data): Likewise.
51128         (ldexp_test_data): Likewise.
51129         (lrint_test_data): Likewise.
51130         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51131         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51132         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51133         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51134         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51135         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51136         test input.
51137         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51138         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51139         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51140         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51141         that test input.
51142         (lrint_downward_test_data): Test for "inexact" exceptions.
51143         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51144         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51145         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51146         test input.
51147         (lrint_upward_test_data): Test for "inexact" exceptions.
51148         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51149         test input.
51150         (llrint_test_data): Test for "inexact" exceptions.
51151         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51152         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51153         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51154         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51155         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51156         (llrint_downward_test_data): Test for "inexact" exceptions.
51157         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51158         (llrint_upward_test_data): Test for "inexact" exceptions.
51159         (logb_test_data): Likewise.
51160         (logb_downward_test_data): Likewise.
51161         (nextafter_test_data): Likewise.
51162         (nexttoward_test_data): Likewise.
51163         (remainder_test_data): Likewise.
51164         (remquo_test_data): Likewise.
51165         (scalbn_test_data): Likewise.
51166         (scalbln_test_data): Likewise.
51167         (signbit_test_data): Likewise.
51168         (sqrt_test_data): Likewise.
51169         (significand_test_data): Likewise.
51171 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51173         [BZ #15424]
51174         * benchtests/bench-modf.c (struct args): Mark arg0 as
51175         volatile.
51176         * scripts/bench.pl: Mark members of struct args as volatile.
51178 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51180         [BZ # 15497]
51181         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51182         negative infinity on POWER6 or lower.
51183         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51185 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51187         [BZ #15442]
51188         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51189         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51190         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51191         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51192         (_FP_SETQNAN): New macro.
51193         (_FP_SETQNAN_SEMIRAW): Likewise.
51194         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51195         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51196         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51197         (FP_EXTEND): Use _FP_FRAC_SNANP.
51198         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51199         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51200         into account.
51201         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51202         New macro.
51203         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51204         Likewise.
51206 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51208         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51209         with DIVIDE_BY_ZERO_EXCEPTION.
51210         (gamma_test_data): Likewise.
51211         (lgamma_test_data): Likewise.
51212         (log_test_data): Likewise.
51213         (log10_test_data): Likewise.
51214         (log2_test_data): Likewise.
51215         (tgamma_test_data): Likewise.
51217         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51218         (acos_test_tonearest): Likewise.
51219         (acos_test_towardzero): Likewise.
51220         (acos_test_downward): Likewise.
51221         (acos_test_upward): Likewise.
51222         (acosh_test): Likewise.
51223         (asin_test): Likewise.
51224         (asin_test_tonearest): Likewise.
51225         (asin_test_towardzero): Likewise.
51226         (asin_test_downward): Likewise.
51227         (asin_test_upward): Likewise.
51228         (asinh_test): Likewise.
51229         (atan_test): Likewise.
51230         (atanh_test): Likewise.
51231         (atan2_test): Likewise.
51232         (cabs_test): Likewise.
51233         (cacos_test): Likewise.
51234         (cacosh_test): Likewise.
51235         (casin_test): Likewise.
51236         (casinh_test): Likewise.
51237         (catan_test): Likewise.
51238         (catanh_test): Likewise.
51239         (cbrt_test): Likewise.
51240         (ccos_test): Likewise.
51241         (ccosh_test): Likewise.
51242         (cexp_test): Likewise.
51243         (clog_test): Likewise.
51244         (clog10_test): Likewise.
51245         (cos_test): Likewise.
51246         (cos_test_tonearest): Likewise.
51247         (cos_test_towardzero): Likewise.
51248         (cos_test_downward): Likewise.
51249         (cos_test_upward): Likewise.
51250         (cosh_test): Likewise.
51251         (cosh_test_tonearest): Likewise.
51252         (cosh_test_towardzero): Likewise.
51253         (cosh_test_downward): Likewise.
51254         (cosh_test_upward): Likewise.
51255         (cpow_test): Likewise.
51256         (csin_test): Likewise.
51257         (csinh_test): Likewise.
51258         (csqrt_test): Likewise.
51259         (ctan_test): Likewise.
51260         (ctan_test_tonearest): Likewise.
51261         (ctan_test_towardzero): Likewise.
51262         (ctan_test_downward): Likewise.
51263         (ctan_test_upward): Likewise.
51264         (ctanh_test): Likewise.
51265         (ctanh_test_tonearest): Likewise.
51266         (ctanh_test_towardzero): Likewise.
51267         (ctanh_test_downward): Likewise.
51268         (ctanh_test_upward): Likewise.
51269         (erf_test): Likewise.
51270         (erfc_test): Likewise.
51271         (exp_test): Likewise.
51272         (exp_test_tonearest): Likewise.
51273         (exp_test_towardzero): Likewise.
51274         (exp_test_downward): Likewise.
51275         (exp_test_upward): Likewise.
51276         (exp10_test): Likewise.
51277         (exp2_test): Likewise.
51278         (expm1_test): Likewise.
51279         (fmod_test): Likewise.
51280         (gamma_test): Likewise.
51281         (hypot_test): Likewise.
51282         (j0_test): Likewise.
51283         (j1_test): Likewise.
51284         (jn_test): Likewise.
51285         (lgamma_test): Likewise.
51286         (log_test): Likewise.
51287         (log10_test): Likewise.
51288         (log1p_test): Likewise.
51289         (log2_test): Likewise.
51290         (logb_test_downward): Likewise.
51291         (pow_test): Likewise.
51292         (pow_test_tonearest): Likewise.
51293         (pow_test_towardzero): Likewise.
51294         (pow_test_downward): Likewise.
51295         (pow_test_upward): Likewise.
51296         (remainder_test): Likewise.
51297         (remquo_test): Likewise.
51298         (sin_test): Likewise.
51299         (sin_test_tonearest): Likewise.
51300         (sin_test_towardzero): Likewise.
51301         (sin_test_downward): Likewise.
51302         (sin_test_upward): Likewise.
51303         (sincos_test): Likewise.
51304         (sinh_test): Likewise.
51305         (sinh_test_tonearest): Likewise.
51306         (sinh_test_towardzero): Likewise.
51307         (sinh_test_downward): Likewise.
51308         (sinh_test_upward): Likewise.
51309         (sqrt_test): Likewise.
51310         (tan_test): Likewise.
51311         (tan_test_tonearest): Likewise.
51312         (tan_test_towardzero): Likewise.
51313         (tan_test_downward): Likewise.
51314         (tan_test_upward): Likewise.
51315         (tanh_test): Likewise.
51316         (tgamma_test): Likewise.
51317         (y0_test): Likewise.
51318         (y1_test): Likewise.
51319         (yn_test): Likewise.
51321         * math/gen-libm-test.pl (adjust_arg): Remove function.
51322         (special_function): Remove argument $in_func.  Only handle
51323         generating output for tables of tests, not inside functions.
51324         (parse_args): Likewise.
51325         (generate_testfile): Remove variable $in_func.  Update call to
51326         parse_args.
51327         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51328         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51329         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51330         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51331         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51332         (MAX_VALUE_INIT): Rename macro to max_value.
51333         (MIN_VALUE_INIT): Rename macro to min_value.
51334         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51335         (plus_zero): Remove variable.
51336         (minus_zero): Likewise.
51337         (plus_infty): Likewise.
51338         (minus_infty): Likewise.
51339         (qnan_value): Likewise.
51340         (max_value): Likewise.
51341         (min_value): Likewise.
51342         (min_subnorm_value): Likewise.
51344 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51346         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51347         uint64_t or uint32_t usage.
51348         * crypt/sha256-block.c: Likewise.
51349         * crypt/sha256-crypt.c: Likewise.
51350         * crypt/sha256.c: Likewise.
51351         * crypt/sha512-block.c: Likewise.
51352         * crypt/sha512-crypt.c: Likewise.
51353         * crypt/sha512.c: Likewise.
51354         * debug/backtrace-tst.c: Likewise.
51355         * debug/pcprofiledump.c: Likewise.
51356         * elf/cache.c: Likewise.
51357         * elf/dl-cache.c: Likewise.
51358         * elf/dl-misc.c: Likewise.
51359         * elf/dl-profile.c: Likewise.
51360         * elf/dl-support.c: Likewise.
51361         * elf/ldconfig.c: Likewise.
51362         * elf/sprof.c: Likewise.
51363         * iconv/dummy-repertoire.c: Likewise.
51364         * iconv/iconv_charmap.c: Likewise.
51365         * iconv/skeleton.c: Likewise.
51366         * iconvdata/8bit-generic.c: Likewise.
51367         * iconvdata/cp737.h: Likewise.
51368         * iconvdata/cp775.h: Likewise.
51369         * iconvdata/ibm1008.h: Likewise.
51370         * iconvdata/ibm1025.h: Likewise.
51371         * iconvdata/ibm1046.h: Likewise.
51372         * iconvdata/ibm1097.h: Likewise.
51373         * iconvdata/ibm1112.h: Likewise.
51374         * iconvdata/ibm1122.h: Likewise.
51375         * iconvdata/ibm1123.h: Likewise.
51376         * iconvdata/ibm1124.h: Likewise.
51377         * iconvdata/ibm1129.h: Likewise.
51378         * iconvdata/ibm1130.h: Likewise.
51379         * iconvdata/ibm1132.h: Likewise.
51380         * iconvdata/ibm1133.h: Likewise.
51381         * iconvdata/ibm1137.h: Likewise.
51382         * iconvdata/ibm1140.h: Likewise.
51383         * iconvdata/ibm1141.h: Likewise.
51384         * iconvdata/ibm1142.h: Likewise.
51385         * iconvdata/ibm1143.h: Likewise.
51386         * iconvdata/ibm1144.h: Likewise.
51387         * iconvdata/ibm1145.h: Likewise.
51388         * iconvdata/ibm1146.h: Likewise.
51389         * iconvdata/ibm1147.h: Likewise.
51390         * iconvdata/ibm1148.h: Likewise.
51391         * iconvdata/ibm1149.h: Likewise.
51392         * iconvdata/ibm1153.h: Likewise.
51393         * iconvdata/ibm1154.h: Likewise.
51394         * iconvdata/ibm1155.h: Likewise.
51395         * iconvdata/ibm1156.h: Likewise.
51396         * iconvdata/ibm1157.h: Likewise.
51397         * iconvdata/ibm1158.h: Likewise.
51398         * iconvdata/ibm1160.h: Likewise.
51399         * iconvdata/ibm1161.h: Likewise.
51400         * iconvdata/ibm1162.h: Likewise.
51401         * iconvdata/ibm1163.h: Likewise.
51402         * iconvdata/ibm1164.h: Likewise.
51403         * iconvdata/ibm1166.h: Likewise.
51404         * iconvdata/ibm1167.h: Likewise.
51405         * iconvdata/ibm12712.h: Likewise.
51406         * iconvdata/ibm1390.h: Likewise.
51407         * iconvdata/ibm1399.h: Likewise.
51408         * iconvdata/ibm16804.h: Likewise.
51409         * iconvdata/ibm4517.h: Likewise.
51410         * iconvdata/ibm4899.h: Likewise.
51411         * iconvdata/ibm4909.h: Likewise.
51412         * iconvdata/ibm4971.h: Likewise.
51413         * iconvdata/ibm5347.h: Likewise.
51414         * iconvdata/ibm803.h: Likewise.
51415         * iconvdata/ibm856.h: Likewise.
51416         * iconvdata/ibm901.h: Likewise.
51417         * iconvdata/ibm902.h: Likewise.
51418         * iconvdata/ibm9030.h: Likewise.
51419         * iconvdata/ibm9066.h: Likewise.
51420         * iconvdata/ibm921.h: Likewise.
51421         * iconvdata/ibm922.h: Likewise.
51422         * iconvdata/ibm9448.h: Likewise.
51423         * iconvdata/isiri-3342.h: Likewise.
51424         * iconvdata/jis0201.h: Likewise.
51425         * include/link.h: Likewise.
51426         * include/netdb.h: Likewise.
51427         * inet/check_native.c: Likewise.
51428         * inet/check_pf.c: Likewise.
51429         * inet/getipv4sourcefilter.c: Likewise.
51430         * inet/getnameinfo.c: Likewise.
51431         * inet/getsourcefilter.c: Likewise.
51432         * inet/htonl.c: Likewise.
51433         * inet/setipv4sourcefilter.c: Likewise.
51434         * inet/setsourcefilter.c: Likewise.
51435         * inet/test-inet6_opt.c: Likewise.
51436         * inet/tst-network.c: Likewise.
51437         * locale/C-collate.c: Likewise.
51438         * locale/C-ctype.c: Likewise.
51439         * locale/C-time.c: Likewise.
51440         * locale/C-translit.h: Likewise.
51441         * locale/loadarchive.c: Likewise.
51442         * locale/programs/3level.h: Likewise.
51443         * locale/programs/charmap.c: Likewise.
51444         * locale/programs/charmap.h: Likewise.
51445         * locale/programs/ld-address.c: Likewise.
51446         * locale/programs/ld-collate.c: Likewise.
51447         * locale/programs/ld-ctype.c: Likewise.
51448         * locale/programs/ld-identification.c: Likewise.
51449         * locale/programs/ld-measurement.c: Likewise.
51450         * locale/programs/ld-messages.c: Likewise.
51451         * locale/programs/ld-monetary.c: Likewise.
51452         * locale/programs/ld-name.c: Likewise.
51453         * locale/programs/ld-numeric.c: Likewise.
51454         * locale/programs/ld-paper.c: Likewise.
51455         * locale/programs/ld-telephone.c: Likewise.
51456         * locale/programs/ld-time.c: Likewise.
51457         * locale/programs/linereader.c: Likewise.
51458         * locale/programs/locale.c: Likewise.
51459         * locale/programs/locarchive.c: Likewise.
51460         * locale/programs/locfile.h: Likewise.
51461         * locale/programs/repertoire.c: Likewise.
51462         * locale/programs/simple-hash.c: Likewise.
51463         * locale/programs/simple-hash.h: Likewise.
51464         * malloc/memusage.c: Likewise.
51465         * malloc/memusagestat.c: Likewise.
51466         * nis/nis_defaults.c: Likewise.
51467         * nis/nis_hash.c: Likewise.
51468         * nis/nis_print.c: Likewise.
51469         * nis/nis_xdr.c: Likewise.
51470         * nscd/connections.c: Likewise.
51471         * nscd/hstcache.c: Likewise.
51472         * nscd/nscd_gethst_r.c: Likewise.
51473         * nscd/nscd_getserv_r.c: Likewise.
51474         * nscd/nscd_helper.c: Likewise.
51475         * nscd/servicescache.c: Likewise.
51476         * nss/makedb.c: Likewise.
51477         * nss/nss_db/db-XXX.c: Likewise.
51478         * nss/nss_db/db-initgroups.c: Likewise.
51479         * nss/nss_db/db-netgrp.c: Likewise.
51480         * nss/nss_files/files-network.c: Likewise.
51481         * nss/nss_files/files-parse.c: Likewise.
51482         * posix/bug-regex5.c: Likewise.
51483         * posix/fnmatch_loop.c: Likewise.
51484         * posix/regcomp.c: Likewise.
51485         * posix/regexec.c: Likewise.
51486         * posix/tst-rfc3484-2.c: Likewise.
51487         * posix/tst-rfc3484-3.c: Likewise.
51488         * posix/tst-rfc3484.c: Likewise.
51489         * resolv/nss_dns/dns-canon.c: Likewise.
51490         * resolv/nss_dns/dns-network.c: Likewise.
51491         * resolv/res_init.c: Likewise.
51492         * resolv/res_mkquery.c: Likewise.
51493         * resolv/tst-aton.c: Likewise.
51494         * stdlib/cxa_atexit.c: Likewise.
51495         * stdlib/cxa_finalize.c: Likewise.
51496         * stdlib/gen-fpioconst.c: Likewise.
51497         * stdlib/strtol_l.c: Likewise.
51498         * string/tst-endian.c: Likewise.
51499         * sunrpc/auth_des.c: Likewise.
51500         * sunrpc/clnt_udp.c: Likewise.
51501         * sunrpc/rtime.c: Likewise.
51502         * sunrpc/svcauth_des.c: Likewise.
51503         * sunrpc/xdr.c: Likewise.
51504         * sunrpc/xdr_intXX_t.c: Likewise.
51505         * sunrpc/xdr_rec.c: Likewise.
51506         * sysdeps/generic/ldconfig.h: Likewise.
51507         * sysdeps/generic/ldsodefs.h: Likewise.
51508         * sysdeps/generic/memusage.h: Likewise.
51509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51510         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51511         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51512         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51513         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51515         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51516         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51517         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51519         * sysdeps/posix/getaddrinfo.c: Likewise.
51520         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51521         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51522         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51523         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51524         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51525         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51526         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51527         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51528         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51529         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51530         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51531         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51532         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51533         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51534         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51535         * sysdeps/x86_64/dl-tls.h: Likewise.
51536         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51537         * time/alt_digit.c: Likewise.
51538         * time/era.c: Likewise.
51539         * wcsmbs/tst-c16c32-1.c: Likewise.
51541 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51543         * math/libm-test.inc (struct test_sincos_data): New type.
51544         (RUN_TEST_LOOP_sincos): New macro.
51545         (sincos_test_data): New variable.
51546         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51548 2013-05-16  Richard Henderson  <rth@redhat.com>
51550         * math/atest-exp2.c (LIMB64): New macro.
51551         (CONSTSZ): New macro.
51552         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51553         (hexdig): Move ...
51554         (print_mpn_fp): ... to function scope.
51555         (read_mpn_hex): Remove.
51556         (get_log2): Remove.
51557         (exp2_mpn): Use mp_log2.
51558         (main): Use mp_exp1.
51560 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51562         * math/libm-test.inc: Remove comment about not testing "inexact"
51563         exceptions.
51564         (INEXACT_EXCEPTION): New macro.
51565         (NO_INEXACT_EXCEPTION): Likewise.
51566         (INVALID_EXCEPTION_OK): Update value.
51567         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51568         (OVERFLOW_EXCEPTION_OK): Likewise.
51569         (UNDERFLOW_EXCEPTION_OK): Likewise.
51570         (IGNORE_ZERO_INF_SIGN): Likewise.
51571         (ERRNO_UNCHANGED): Likewise.
51572         (ERRNO_EDOM): Likewise.
51573         (ERRNO_ERANGE): Likewise.
51574         (test_exceptions): Handle testing "inexact" exceptions.
51575         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51576         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51577         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51578         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51579         INEXACT_EXCEPTION.
51580         (rint_towardzero_test_data): Likewise.
51581         (rint_downward_test_data): Likewise.
51582         (rint_upward_test_data): Likewise.
51584         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51585         with OVERFLOW_EXCEPTION.
51586         (exp10_test_data): Likewise.
51587         (exp2_test_data): Likewise.
51588         (expm1_test_data): Likewise.
51589         (lgamma_test_data): Likewise.
51590         (pow_test_data): Likewise.
51591         (tgamma_test_data): Likewise.
51592         (yn_test_data): Remove duplicate test of overflow.
51594         * math/libm-test.inc (struct test_cc_c_data): New type.
51595         (RUN_TEST_LOOP_cc_c): New macro.
51596         (cpow_test_data): New variable.
51597         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51599         * math/libm-test.inc (struct test_f_L_data): New type.
51600         (RUN_TEST_LOOP_f_L): New macro.
51601         (llrint_test_data): New variable.
51602         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51603         (llrint_tonearest_test_data): New variable.
51604         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51605         (llrint_towardzero_test_data): New variable.
51606         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51607         (llrint_downward_test_data): New variable.
51608         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51609         (llrint_upward_test_data): New variable.
51610         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51611         (llround_test_data): New variable.
51612         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51614 2013-05-13  Peter Collingbourne  <pcc@google.com>
51616         * math/atest-exp2.c (get_log2): Remove const attribute.
51618 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51620         * math/libm-test.inc (struct test_f_l_data): New type.
51621         (RUN_TEST_LOOP_f_l): New macro.
51622         (lrint_test_data): New variable.
51623         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51624         (lrint_tonearest_test_data): New variable.
51625         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51626         (lrint_towardzero_test_data): New variable.
51627         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51628         (lrint_downward_test_data): New variable.
51629         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51630         (lrint_upward_test_data): New variable.
51631         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51632         (lround_test_data): New variable.
51633         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51635 2013-05-15  Peter Collingbourne  <pcc@google.com>
51637         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51638         (EXTRACT_WORDS64) Use where appropriate.
51639         (INSERT_WORDS64) Likewise.
51641         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51642         constraints with x constraints.
51643         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51645         * malloc/obstack.c (_obstack_compat): Add initializer.
51647 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51649         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51650         si_trapno and add si_addr_lsb to _sifields.sigfault.
51651         (si_trapno): Remove macro.
51652         (si_addr_lsb): Define new macro.
51653         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51655 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51657         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51658         instead of TEST_f_l.
51659         (llrint_test_tonearest): Likewise.
51660         (llrint_test_towardzero): Likewise.
51661         (llrint_test_downward): Likewise.
51662         (llrint_test_upward): Likewise.
51663         (llround_test): Likewise.
51665         * math/libm-test.inc (struct test_f_i_data): Add comment.
51666         (RUN_TEST_LOOP_f_b): New macro.
51667         (RUN_TEST_LOOP_f_b_tg): Likewise.
51668         (finite_test_data): New variable.
51669         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51670         (isfinite_test_data): New variable.
51671         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51672         (isinf_test_data): New variable.
51673         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51674         (isnan_test_data): New variable.
51675         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51676         (isnormal_test_data): New variable.
51677         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51678         (issignaling_test_data): New variable.
51679         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51680         (signbit_test_data): New variable.
51681         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51683         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51684         with INVALID_EXCEPTION.
51685         (acosh_test_data): Likewise.
51686         (asin_test_data): Likewise.
51687         (atanh_test_data): Likewise.
51688         (fmod_test_data): Likewise.
51689         (log_test_data): Likewise.
51690         (log10_test_data): Likewise.
51691         (log2_test_data): Likewise.
51692         (pow_test_data): Likewise.
51693         (sqrt_test_data): Likewise.
51694         (y0_test_data): Likewise.
51695         (y1_test_data): Likewise.
51696         (yn_test_data): Likewise.
51698         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51699         function contents.
51701         * math/libm-test.inc (struct test_ff_i_data): New type.
51702         (RUN_TEST_LOOP_ff_i_tg): New macro.
51703         (isgreater_test_data): New variable.
51704         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51705         (isgreaterequal_test_data): New variable.
51706         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51707         (isless_test_data): New variable.
51708         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51709         (islessequal_test_data): New variable.
51710         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51711         (islessgreater_test_data): New variable.
51712         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51713         (isunordered_test_data): New variable.
51714         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51716 2013-05-14  David S. Miller  <davem@davemloft.net>
51718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51720 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51722         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51724         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51725         extra_test to int.
51726         (struct test_f_i_data): Change type of max_ulp to int.
51728         * math/libm-test.inc (test_ffI_f1_data): New type.
51729         (RUN_TEST_LOOP_ffI_f1): New macro.
51730         (remquo_test_data): New variable.
51731         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51733         * setjmp/tst-setjmp-fp.c: New file.
51734         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51735         (link-libm): New variable.
51736         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51738         * math/libm-test.inc (struct test_f_i_data): New type.
51739         (RUN_TEST_LOOP_f_i): New macro.
51740         (RUN_TEST_LOOP_f_i_tg): Likewise.
51741         (fpclassify_test_data): New variable.
51742         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51743         (ilogb_test_data): New variable.
51744         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51746         * math/libm-test.inc (scalbln_test): Correct function name in END
51747         call.
51749         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51750         (RUN_TEST_LOOP_fI_f1): New macro.
51751         (frexp_test_data): New variable.
51752         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51754         * math/libm-test.inc (struct test_fF_f1_data): New type.
51755         (RUN_TEST_LOOP_fF_f1): New macro.
51756         (modf_test_data): New variable.
51757         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51759         * math/libm-test.inc (struct test_f_f1_data): New type.
51760         (RUN_TEST_LOOP_f_f1): New macro.
51761         (gamma_test_data): New variable.
51762         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51763         (lgamma_test_data): New variable.
51764         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51766 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51769         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51770         (main): Comment "tls" pseudo-hwcap.
51772 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51774         * math/libm-test.inc (struct test_fl_f_data): New type.
51775         (RUN_TEST_LOOP_fl_f): New variable.
51776         (scalbln_test_data): New variable.
51777         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51779         * math/libm-test.inc (struct test_fi_f_data): New type.
51780         (RUN_TEST_LOOP_fi_f): New macro.
51781         (ldexp_test_data): New variable.
51782         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51783         (scalbn_test_data): New variable.
51784         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51786         * math/libm-test.inc (struct test_c_f_data): New type.
51787         (RUN_TEST_LOOP_c_f): New macro.
51788         (cabs_test_data): New variable.
51789         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51790         (carg_test_data): New variable.
51791         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51792         (cimag_test_data): New variable.
51793         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51794         (creal_test_data): New variable.
51795         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51797         * math/libm-test.inc (struct test_if_f_data): New type.
51798         (RUN_TEST_LOOP_if_f): New macro.
51799         (jn_test_data): New variable.
51800         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51801         (yn_test_data): New variable.
51802         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51804         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51806 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51808         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51809         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51811 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51813         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51814         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51815         (bench-deps): Add bench-timing.h.
51816         * benchtests-bench-skeleton.c: Include bench-timing.h.
51817         (main): Use TIMING_* macros instead of clock_gettime.
51818         * benchtests/bench-timing.h: New file.
51820         [BZ #14582]
51821         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51822         Renamed from _LIB_VERSION.
51823         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51825 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51827         * math/libm-test.inc (struct test_fff_f_data): New type.
51828         (RUN_TEST_LOOP_fff_f): New macro.
51829         (fma_test_data): New variable.
51830         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51831         (fma_towardzero_test_data): New variable.
51832         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51833         (fma_downward_test_data): New variable.
51834         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51835         (fma_upward_test_data): New variable.
51836         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51838         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51839         (struct test_c_c_data): New type.
51840         (RUN_TEST_LOOP_c_c): New macro.
51841         (cacos_test_data): New variable.
51842         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51843         (cacosh_test_data): New variable.
51844         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51845         (casin_test_data): New variable.
51846         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51847         (casinh_test_data): New variable.
51848         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51849         (catan_test_data): New variable.
51850         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51851         (catanh_test_data): New variable.
51852         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51853         (ccos_test_data): New variable.
51854         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51855         (ccosh_test_data): New variable.
51856         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51857         (cexp_test_data): New variable.
51858         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51859         (clog_test_data): New variable.
51860         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51861         (clog10_test_data): New variable.
51862         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51863         (conj_test_data): New variable.
51864         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51865         (cproj_test_data): New variable.
51866         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51867         (csin_test_data): New variable.
51868         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51869         (csinh_test_data): New variable.
51870         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51871         (csqrt_test_data): New variable.
51872         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51873         (ctan_test_data): New variable.
51874         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51875         (ctan_tonearest_test_data): New variable.
51876         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51877         (ctan_towardzero_test_data): New variable.
51878         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51879         (ctan_downward_test_data): New variable.
51880         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51881         (ctan_upward_test_data): New variable.
51882         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51883         (ctanh_test_data): New variable.
51884         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51885         (ctanh_tonearest_test_data): New variable.
51886         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51887         (ctanh_towardzero_test_data): New variable.
51888         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51889         (ctanh_downward_test_data): New variable.
51890         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51891         (ctanh_upward_test_data): New variable.
51892         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51893         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51894         of BUILD_COMPLEX.
51896         * math/libm-test.inc (struct test_ff_f_data): New type.
51897         (struct test_ff_f_data_nexttoward): Likewise.
51898         (RUN_TEST_LOOP_2_f): New macro.
51899         (RUN_TEST_LOOP_ff_f): Likewise.
51900         (atan2_test_data): New variable.
51901         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51902         (copysign_test_data): New variable.
51903         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51904         (fdim_test_data): New variable.
51905         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51906         (fmax_test_data): New variable.
51907         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51908         (fmin_test_data): New variable.
51909         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51910         (fmod_test_data): New variable.
51911         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51912         (hypot_test_data): New variable.
51913         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51914         (nextafter_test_data): New variable.
51915         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51916         (nexttoward_test_data): New variable.
51917         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51918         (pow_test_data): New variable.
51919         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51920         (pow_tonearest_test_data): New variable.
51921         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51922         (pow_towardzero_test_data): New variable.
51923         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51924         (pow_downward_test_data): New variable.
51925         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51926         (pow_upward_test_data): New variable.
51927         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51928         (remainder_test_data): New variable.
51929         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51930         (scalb_test_data): New variable.
51931         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51932         * sysdeps/i386/fpu/libm-test-ulps: Update.
51934 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51936         * math/libm-test.inc (fma_test): Use max_value instead of local
51937         variable fltmax.
51938         (nextafter_test): Likewise.
51940         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51941         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51942         (acos_downward_test_data): New variable.
51943         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51944         (acos_upward_test_data): New variable.
51945         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51946         (acosh_test_data): New variable.
51947         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51948         (asin_test_data): New variable.
51949         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51950         (asin_tonearest_test_data): New variable.
51951         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51952         (asin_towardzero_test_data): New variable.
51953         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51954         (asin_downward_test_data): New variable.
51955         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51956         (asin_upward_test_data): New variable.
51957         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51958         (asinh_test_data): New variable.
51959         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51960         (atan_test_data): New variable.
51961         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51962         (atanh_test_data): New variable.
51963         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51964         (cbrt_test_data): New variable.
51965         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51966         (ceil_test_data): New variable.
51967         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51968         (cos_test_data): New variable.
51969         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51970         (cos_tonearest_test_data): New variable.
51971         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51972         (cos_towardzero_test_data): New variable.
51973         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51974         (cos_downward_test_data): New variable.
51975         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51976         (cos_upward_test_data): New variable.
51977         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51978         (cosh_test_data): New variable.
51979         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51980         (cosh_tonearest_test_data): New variable.
51981         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51982         (cosh_towardzero_test_data): New variable.
51983         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51984         (cosh_downward_test_data): New variable.
51985         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51986         (cosh_upward_test_data): New variable.
51987         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51988         (erf_test_data): New variable.
51989         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51990         (erfc_test_data): New variable.
51991         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51992         (exp_test_data): New variable.
51993         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51994         (exp_tonearest_test_data): New variable.
51995         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51996         (exp_towardzero_test_data): New variable.
51997         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51998         (exp_downward_test_data): New variable.
51999         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52000         (exp_upward_test_data): New variable.
52001         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52002         (exp10_test_data): New variable.
52003         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52004         (exp2_test_data): New variable.
52005         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52006         (expm1_test_data): New variable.
52007         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52008         (fabs_test_data): New variable.
52009         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52010         (floor_test_data): New variable.
52011         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52012         (j0_test_data): New variable.
52013         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52014         (j1_test_data): New variable.
52015         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52016         (log_test_data): New variable.
52017         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52018         (log10_test_data): New variable.
52019         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52020         (log1p_test_data): New variable.
52021         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52022         (log2_test_data): New variable.
52023         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52024         (logb_test_data): New variable.
52025         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52026         (logb_downward_test_data): New variable.
52027         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52028         (nearbyint_test_data): New variable.
52029         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52030         (rint_test_data): New variable.
52031         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52032         (rint_tonearest_test_data): New variable.
52033         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52034         (rint_towardzero_test_data): New variable.
52035         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52036         (rint_downward_test_data): New variable.
52037         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52038         (rint_upward_test_data): New variable.
52039         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52040         (round_test_data): New variable.
52041         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52042         (sin_test_data): New variable.
52043         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52044         (sin_tonearest_test_data): New variable.
52045         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52046         (sin_towardzero_test_data): New variable.
52047         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52048         (sin_downward_test_data): New variable.
52049         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52050         (sin_upward_test_data): New variable.
52051         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52052         (sinh_test_data): New variable.
52053         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52054         (sinh_tonearest_test_data): New variable.
52055         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52056         (sinh_towardzero_test_data): New variable.
52057         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52058         (sinh_downward_test_data): New variable.
52059         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52060         (sinh_upward_test_data): New variable.
52061         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52062         (sqrt_test_data): New variable.
52063         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52064         (tan_test_data): New variable.
52065         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52066         (tan_tonearest_test_data): New variable.
52067         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52068         (tan_towardzero_test_data): New variable.
52069         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52070         (tan_downward_test_data): New variable.
52071         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52072         (tan_upward_test_data): New variable.
52073         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52074         (tanh_test_data): New variable.
52075         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52076         (tgamma_test_data): New variable.
52077         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52078         (trunc_test_data): New variable.
52079         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52080         (y0_test_data): New variable.
52081         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52082         (y1_test_data): New variable.
52083         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52084         (significand_test_data): New variable.
52085         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52087 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52089         [BZ #12387]
52090         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52092 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52094         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52096 2013-05-10  Andreas Jaeger  <aj@suse.de>
52098         [BZ #15448]
52099         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52100         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52102 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52104         * math/gen-libm-test.pl (adjust_arg): New function.
52105         (special_functions): Handle generating output in both functions
52106         and arrays.
52107         (parse_args): Likewise.
52108         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52109         $in_func argument to parse_args.
52110         * math/libm-test.inc (struct test_f_f_data): New type.
52111         (IF_ROUND_INIT_): New macro.
52112         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52113         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52114         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52115         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52116         (ROUND_RESTORE_): Likewise.
52117         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52118         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52119         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52120         (ROUND_RESTORE_FE_UPWARD): Likewise.
52121         (RUN_TEST_LOOP_f_f): New macro.
52122         (acos_test_data): New variable.
52123         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52124         (acos_tonearest_test_data): New variable.
52125         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52127 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52129         * benchtests/bench-skeleton.c (startup): Fix coding style.
52131 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52133         [BZ #6809]
52134         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52135         negative infinity argument.
52136         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52137         negative infinity argument.
52138         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52139         negative infinity argument.
52140         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52141         domain errors.
52143 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52145         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52146         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52147         * iconv/iconv_prog.c (main): Likewise.
52148         * locale/programs/charmap-dir.c (charmap_readdir)
52149         (fopen_uncompressed): Likewise.
52150         * locale/programs/locfile.c (siblings_uncached)
52151         (write_locale_data): Use lstat64 instead of lstat.
52152         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52153         stat.
52155 2013-05-10  Andreas Jaeger  <aj@suse.de>
52157         [BZ #15395]
52158         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52159         localization.
52160         Include <locale.h>.
52162 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52164         * elf/dl-close.c (_dl_close_worker): Add comments.
52166 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52168         [BZ #15359]
52169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52170         high part of pi/2.
52171         (__ieee754_rem_pio2l): Update comments.
52173         [BZ #15429]
52174         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52175         high part of pi/2.
52176         (__ieee754_rem_pio2l): Update comments.
52178         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52179         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52181         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52182         M_PI_4l.
52184         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52185         (M_PI_34_LOG10El): Likewise.
52186         (M_PI2_LOG10El): Likewise.
52187         (M_PI4_LOG10El): Likewise.
52188         (M_PI_LOG10El): Likewise.
52190 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52194 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52196         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52197         (MINUS_ZERO_INIT): Likewise.
52198         (PLUS_INFTY_INIT): Likewise.
52199         (MINUS_INFTY_INIT): Likewise.
52200         (QNAN_VALUE_INIT): Likewise.
52201         (MAX_VALUE_INIT): Likewise.
52202         (MIN_VALUE_INIT): Likewise.
52203         (MIN_SUBNORM_VALUE_INIT): Likewise.
52204         (plus_zero): Initialize with PLUS_ZERO_INIT.
52205         (minus_zero): Initialize with MINUS_ZERO_INIT.
52206         (plus_infty): Initialize with PLUS_INFTY_INIT.
52207         (minus_infty): Initialize with MINUS_INFTY_INIT.
52208         (qnan_value): Initialize with QNAN_VALUE_INIT.
52209         (max_value): Initialize with MAX_VALUE_INIT.
52210         (min_value): Initialize with MIN_VALUE_INIT.
52211         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52213         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52214         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52215         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52216         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52218         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52219         (RUN_TEST_2_f): Likewise.
52220         (RUN_TEST_ff_f): Likewise.
52221         (RUN_TEST_fi_f): Likewise.
52222         (RUN_TEST_fl_f): Likewise.
52223         (RUN_TEST_fff_f): Likewise.
52224         (RUN_TEST_c_f): Likewise.
52225         (RUN_TEST_f_f1): Likewise.
52226         (RUN_TEST_fF_f1): Likewise.
52227         (RUN_TEST_fI_f1): Likewise.
52228         (RUN_TEST_ffI_f1): Likewise.
52229         (RUN_TEST_c_c): Likewise.
52230         (RUN_TEST_cc_c): Likewise.
52231         (RUN_TEST_f_i): Likewise.
52232         (RUN_TEST_f_i_tg): Likewise.
52233         (RUN_TEST_ff_i_tg): Likewise.
52234         (RUN_TEST_f_b): Likewise.
52235         (RUN_TEST_f_b_tg): Likewise.
52236         (RUN_TEST_f_l): Likewise.
52237         (RUN_TEST_f_L): Likewise.
52238         (RUN_TEST_sincos): Likewise.
52239         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52240         whether to show exceptions.  Do not include ");\n" in return
52241         value.
52242         (special_functions): Output call to RUN_TEST_sincos instead of
52243         check_float calls.  Update calls to new_test.
52244         (parse_args): Output call to single RUN_TEST_* macro instead of
52245         check_* calls and other assignments.  Update calls to new_test.
52247         [BZ #2546]
52248         [BZ #2560]
52249         [BZ #5159]
52250         [BZ #15426]
52251         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52252         input to result for tgamma overflow.
52253         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52254         (gamma_coeff): New variable.
52255         (NCOEFF): New macro.
52256         (gamma_positive): New function.
52257         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52258         underflow here.  Use gamma_positive instead of exp (lgamma) for
52259         other arguments.
52260         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52261         (gamma_coeff): New variable.
52262         (NCOEFF): New macro.
52263         (gammaf_positive): New function.
52264         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52265         underflow here.  Use gamma_positive instead of exp (lgamma) for
52266         other arguments.
52267         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52268         (gamma_coeff): New variable.
52269         (NCOEFF): New macro.
52270         (gammal_positive): New function.
52271         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52272         underflow here.  Use gamma_positive instead of exp (lgamma) for
52273         other arguments.
52274         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52275         (gamma_coeff): New variable.
52276         (NCOEFF): New macro.
52277         (gammal_positive): New function.
52278         (__ieee754_gammal_r): Handle positive infinity, overflow and
52279         underflow here.  Handle NaN the same as positive infinity.  Remove
52280         check x < 0xffffffff for negative integers.  Use gamma_positive
52281         instead of exp (lgamma) for other arguments.
52282         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52283         (gamma_coeff): New variable.
52284         (NCOEFF): New macro.
52285         (gammal_positive): New function.
52286         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52287         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52288         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52289         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52290         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52291         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52292         * sysdeps/generic/math_private.h (__gamma_productf): New
52293         prototype.
52294         (__gamma_product): Likewise.
52295         (__gamma_productl): Likewise.
52296         * math/Makefile (libm-calls): Add gamma_product.
52297         * math/libm-test.inc (tgamma_test): Add more tests.
52298         * sysdeps/i386/fpu/libm-test-ulps: Update.
52299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52301 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52303         * benchtests/bench-skeleton.c (main): Preheat CPU.
52305 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52307         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52309 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52311         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52312         and _dl_skip_args_internal.
52314 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52316         * manual/message.texi (Message Translation): Talk about users.
52317         Message to key mapping impacts design.
52319 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52321         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52323         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52325         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52326         * sysdeps/wordsize-64/glob64.c: ... here.
52328         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52329         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52330         New macros.
52332         * debug/getlogin_r_chk.c: Moved to ...
52333         * login/getlogin_r_chk.c: ... here.
52334         * debug/Makefile (routines): Move getlogin_r_chk to ...
52335         * login/Makefile (routines): ... here.
52336         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52337         * login/Versions (libc: GLIBC_2.4): ... here.
52339         * io/poll.c (__poll): Renamed from poll.
52340         Add libc_hidden_def.
52341         (poll): Define as weak alias.
52343         * debug/ptsname_r_chk.c: Moved to ...
52344         * login/ptsname_r_chk.c: ... here.
52345         * debug/Makefile (routines): Move ptsname_r_chk to ...
52346         * login/Makefile (routines): ... here.
52347         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52348         * login/Versions (libc: GLIBC_2.4): ... here.
52350         * posix/getlogin.c: Moved to ...
52351         * login/getlogin.c: ... here.
52352         * posix/getlogin_r.c: Moved to ...
52353         * login/getlogin_r.c: ... here.
52354         * posix/getlogin_r.c: Moved to ...
52355         * login/getlogin_r.c: ... here.
52356         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52357         * login/Makefile (routines): ... here.
52358         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52359         * login/Versions (libc: GLIBC_2.0): ... here.
52361         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52362         (setrlimit): Define as weak alias.
52364         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52365         Call __ names for open, ftruncate, and close.
52366         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52367         (truncate): Define as weak alias.
52369 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52371         * math/gen-libm-test.pl (parse_args): Initialize x before each
52372         test of frexp, modf and remquo.
52374         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52375         test signgam value.
52377 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52379         [BZ #15418]
52380         [BZ #15419]
52381         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52382         internal tests.
52383         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52385 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52387         * elf/dl-writev.h: New file.
52388         * elf/dl-misc.c: Include it.
52389         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52390         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52392 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52394         * math/libm-test.inc (noXFails): Remove variable.
52395         (noXPasses): Likewise.
52396         (BUILD_COMPLEX_INT): Remove macro.
52397         (print_screen): Remove xfail argument.
52398         (print_screen_max_error): Likewise.
52399         (update_stats): Likewise.
52400         (print_max_error): Likewise.  Update calls to other affected
52401         functions.
52402         (print_complex_max_error): Likewise.
52403         (test_single_exception): Update calls to print_screen.
52404         (test_single_errno): Likewise.
52405         (check_float_internal): Remove xfail argument.  Update calls to
52406         other affected functions.
52407         (check_float): Likewise.
52408         (check_complex): Likewise.
52409         (check_int): Likewise.
52410         (check_long): Likewise.
52411         (check_bool): Likewise.
52412         (check_longlong): Likewise.
52413         (main): Don't print noXFails and noXPasses.
52414         * math/gen-libm-test.pl (top level): Don't mention expected
52415         failure handling in comment.
52416         (new_test): Don't handle expected failures.
52417         (parse_args): Don't mention expected failure handling in comment.
52418         (generate_testfile): Don't handle expected failures.
52419         (parse_ulps): Likewise.
52420         (print_ulps_file): Likewise.
52421         (get_failure): Remove function.
52422         (output_test): Don't handle expected failures.
52423         * make/README.libm-test: Don't mention expected failure handling.
52425         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52426         (minus_zero): Likewise.
52427         (plus_infty): Likewise.
52428         (minus_infty): Likewise.
52429         (qnan_value): Likewise.
52430         (max_value): Likewise.
52431         (min_value): Likewise.
52432         (min_subnorm_value): Likewise.
52433         (initialize): Do not initialize those variables dynamically.
52435 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52437         * io/open.c (__open_2): Moved to ...
52438         * io/open_2.c: ... this new file.
52439         * io/open64.c (__open64_2): Moved to ...
52440         * io/open64_2.c: ... this new file.
52441         * io/openat.c (__openat_2): Moved to ...
52442         * io/openat_2.c: ... this new file.
52443         * io/openat64.c (__openat64_2): Moved to ...
52444         * io/openat64_2.c: ... this new file.
52445         * io/Makefile (routines): Add them.
52446         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52447         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52448         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52449         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52450         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52451         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52452         (__openat64): Add hidden_ver.
52453         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52454         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52456         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52457         Separately conditionalize setting of GLRO(dl_sysinfo) so
52458         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52459         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52461 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52463         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52464         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52465         definition.
52466         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52467         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52468         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52469         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52470         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52472 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52474         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52475         test signgam value.
52477         * math/libm-test.inc (hypot_test): Do not use
52478         IGNORE_ZERO_INF_SIGN.
52480 2013-05-03  Andreas Jaeger  <aj@suse.de>
52482         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52483         Linux 3.9.
52484         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52485         (PF_MAX): Adjust for VSOCK change.
52487 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52491 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52493         [BZ #15264]
52494         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52495         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52496         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52498 2013-05-02  David S. Miller  <davem@davemloft.net>
52500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52502 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52504         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52506 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52508         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52510 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52512         [BZ #14952]
52513         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52514         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52515         Use __attribute__ ((__gnu_inline__)).
52516         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52517         Don't use __attribute__ ((__gnu_inline__)).
52519 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52521         [BZ #15423]
52522         * math/s_catan.c (__catan): Handle small real or imaginary part of
52523         input specially to avoid spurious underflow.
52524         * math/s_catanf.c (__catanf): Likewise.
52525         * math/s_catanh.c (__catanh): Likewise.
52526         * math/s_catanhf.c (__catanhf): Likewise.
52527         * math/s_catanhl.c (__catanhl): Likewise.
52528         * math/s_catanl.c (__catanl): Likewise.
52529         * math/libm-test.inc (catan_test): Add more tests.
52530         (catanh_test): Likewise.
52531         * sysdeps/i386/fpu/libm-test-ulps: Update.
52532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52534 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52538 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52540         [BZ #15416]
52541         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52542         accurately for denominator in atan2.
52543         * math/s_catanf.c (__catanf): Likewise.
52544         * math/s_catanh.c (__catanh): Likewise.
52545         * math/s_catanhf.c (__catanhf): Likewise.
52546         * math/s_catanhl.c (__catanhl): Likewise.
52547         * math/s_catanl.c (__catanl): Likewise.
52548         * math/libm-test.inc (catan_test): Add more tests.
52549         (catanh_test): Likewise.
52550         * sysdeps/i386/fpu/libm-test-ulps: Update.
52551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52553 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52555         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52557         * benchtests/Makefile (bench): Remove slow benchmarks.
52558         * benchtests/atan-inputs: Add slow benchmark inputs.
52559         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52560         (BENCH_FUNC): Accept variant offset.
52561         (VARIANT): Define.
52562         * benchtests/bench-skeleton.c (main): Run benchmark for each
52563         variant.
52564         * benchtests/cos-inputs: Add slow benchmark inputs.
52565         * benchtests/exp-inputs: Likewise.
52566         * benchtests/pow-inputs: Likewise.
52567         * benchtests/sin-inputs: Likewise.
52568         * benchtests/slowatan-inputs: Remove.
52569         * benchtests/slowatan.c: Remove.
52570         * benchtests/slowcos-inputs: Remove.
52571         * benchtests/slowcos.c: Remove.
52572         * benchtests/slowexp-inputs: Remove.
52573         * benchtests/slowexp.c: Remove.
52574         * benchtests/slowpow-inputs: Remove.
52575         * benchtests/slowpow.c: Remove.
52576         * benchtests/slowsin-inputs: Remove.
52577         * benchtests/slowsin.c: Remove.
52578         * benchtests/slowtan-inputs: Remove.
52579         * benchtests/slowtan.c: Remove.
52580         * benchtests/tan-inputs: Add slow benchmark inputs.
52581         * scripts/bench.pl: Parse comments and directives.
52583         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52584         in CPPFLAGS.
52585         ($(objpfx)bench-%.c): Remove *-ITER.
52586         * benchtests/bench-modf.c: Remove definition of ITER.
52587         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52588         (main): Loop for DURATION seconds instead of fixed number of
52589         iterations.
52590         * scripts/bench.pl: Don't expect iterations in parameters.
52592 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52594         * io/fchdir.c (__fchdir): Renamed from fchdir.
52595         (fchdir): Define as weak alias.
52597 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52599         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52600         (ERRNO_EDOM): Likewise.
52601         (ERRNO_ERANGE): Likewise.
52602         (noErrnoTests): New variable.
52603         (init_max_error): Set errno to 0.
52604         (test_single_errno): New function.
52605         (test_errno): Likewise.
52606         (check_float_internal): Call test_errno.  Set errno to 0.
52607         (check_complex): Refer to errno tests in comment.
52608         (check_int): Call test_errno.  Set errno to 0.
52609         (check_long): Likewise.
52610         (check_bool): Likewise.
52611         (check_longlong): Likewise.
52612         (cos_test): Use ERRNO_* flags for errno tests instead of
52613         check_int.
52614         (expm1_test): Likewise.
52615         (fmod_test): Likewise.
52616         (ilogb_test): Likewise.
52617         (lgamma_test): Likewise.
52618         (pow_test): Likewise.
52619         (remainder_test): Likewise.
52620         (sin_test): Likewise.
52621         (tan_test): Likewise.
52622         (yn_test): Likewise.
52623         (initialize): Set errno to 0.
52624         (main): Print number of errno tests.
52625         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52627 2013-04-29  Andreas Jaeger  <aj@suse.de>
52629         [BZ #15084]
52630         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52631         and RES_USEVC.
52633         [BZ #15085]
52634         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52635         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52636         unimplemented.
52638         [BZ #15380]
52639         * stdlib/random.c (__initstate): Return NULL if
52640         __initstate fails.
52642         [BZ #15086]
52643         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52644         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52645         RES_SNGLKUPREOP.
52647 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52651 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52653         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52654         of individual tests.
52655         (casin_test): Likewise.
52656         (casinh_test): Likewise.
52658 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52660         [BZ #15409]
52661         * math/s_catan.c (__catan): Handle arguments with large real or
52662         imaginary part separately without squaring.
52663         * math/s_catanf.c (__catanf): Likewise.
52664         * math/s_catanh.c (__catanh): Likewise.
52665         * math/s_catanhf.c (__catanhf): Likewise.
52666         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52667         and redefine.
52668         (__catanhl): Handle arguments with large real or imaginary part
52669         separately without squaring.
52670         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52671         and redefine.
52672         (__catanl): Handle arguments with large real or imaginary part
52673         separately without squaring.
52674         * math/libm-test.inc (catan_test): Add more tests.
52675         (catanh_test): Likewise.
52676         * sysdeps/i386/fpu/libm-test-ulps: Update.
52677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52679 2013-04-27  Andreas Jaeger  <aj@suse.de>
52681         [BZ #15007]
52682         * stdlib/stdlib.h: Update guards for qecvt.
52683         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52684         <stdlib.h>.
52686 2013-04-27  Allan McRae  <allan@archlinux.org>
52688         * sysdeps/i386/fpu/libm-test-ulps: Update.
52690 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52692         [BZ #15406]
52693         * math/s_catan.c: Include <float.h>.
52694         (__catan): Ensure underflow exception occurs for underflowed
52695         result.
52696         * math/s_catanf.c: Include <float.h>.
52697         (__catanf): Ensure underflow exception occurs for underflowed
52698         result.
52699         * math/s_catanh.c: Include <float.h>.
52700         (__catanh): Ensure underflow exception occurs for underflowed
52701         result.
52702         * math/s_catanhf.c: Include <float.h>.
52703         (__catanhf): Ensure underflow exception occurs for underflowed
52704         result.
52705         * math/s_catanhl.c: Include <float.h>.
52706         (__catanhl): Ensure underflow exception occurs for underflowed
52707         result.
52708         * math/s_catanl.c: Include <float.h>.
52709         (__catanl): Ensure underflow exception occurs for underflowed
52710         result.
52711         * math/libm-test.inc (catan_test): Add more tests.
52712         (catanh_test): Likewise.
52714         [BZ #15405]
52715         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52716         underflowed result.
52717         * math/s_ccoshf.c (__ccoshf): Likewise.
52718         * math/s_ccoshl.c (__ccoshl): Likewise.
52719         * math/s_csin.c (__csin): Likewise.
52720         * math/s_csinf.c (__csinf): Likewise.
52721         * math/s_csinh.c (__csinh): Likewise.
52722         * math/s_csinhf.c (__csinhf): Likewise.
52723         * math/s_csinhl.c (__csinhl): Likewise.
52724         * math/s_csinl.c (__csinl): Likewise.
52725         * math/libm-test.inc (ccos_test): Add more tests.
52726         (ccosh_test): Likewise.
52727         (csin_test): Likewise.
52728         (csinh_test): Likewise.
52730 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52732         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52733         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52734         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52735         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52736         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52737         powerpc/power5+/fpu folders.
52738         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52741 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52745 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52747         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52748         additions to variable.
52749         [$(config-machine) = x86_64] (modules-names): Likewise.
52750         ($(objpfx)tst-audit3): Remove dependency.
52751         ($(objpfx)tst-audit3.out): Likewise.
52752         ($(objpfx)tst-audit4): Likewise.
52753         ($(objpfx)tst-audit4.out): Likewise.
52754         ($(objpfx)tst-audit5): Likewise.
52755         ($(objpfx)tst-audit5.out): Likewise.
52756         ($(objpfx)tst-audit6): Likewise.
52757         ($(objpfx)tst-audit6.out): Likewise.
52758         ($(objpfx)tst-audit7): Likewise.
52759         ($(objpfx)tst-audit7.out): Likewise.
52760         (tst-audit3-ENV): Remove variable.
52761         (tst-audit4-ENV): Likewise.
52762         (tst-audit5-ENV): Likewise.
52763         (tst-audit6-ENV): Likewise.
52764         (tst-audit7-ENV): Likewise.
52765         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52766         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52767         addition to variable.
52768         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52769         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52770         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52771         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52772         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52773         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52774         tst-audit3, tst-audit4 and tst-audit5.
52775         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52776         tst-audit6 and tst-audit7.
52777         [$(subdir) = elf] (modules-names): Add audit modules for those
52778         tests.
52779         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52780         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52781         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52782         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52783         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52784         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52785         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52786         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52787         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52788         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52789         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52790         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52791         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52792         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52793         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52794         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52795         Likewise.
52796         [$(subdir) = elf && $(config-cflags-avx) = yes]
52797         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52798         [$(subdir) = elf && $(config-cflags-avx) = yes]
52799         (CFLAGS-tst-auditmod4a.c): Likewise.
52800         [$(subdir) = elf && $(config-cflags-avx) = yes]
52801         (CFLAGS-tst-auditmod4b.c): Likewise.
52802         [$(subdir) = elf && $(config-cflags-avx) = yes]
52803         (CFLAGS-tst-auditmod6b.c): Likewise.
52804         [$(subdir) = elf && $(config-cflags-avx) = yes]
52805         (CFLAGS-tst-auditmod6c.c): Likewise.
52806         [$(subdir) = elf && $(config-cflags-avx) = yes]
52807         (CFLAGS-tst-auditmod7b.c): Likewise.
52808         * elf/tst-audit3.c: Move to ...
52809         * sysdeps/x86_64/tst-audit3.c: ... here.
52810         * elf/tst-audit4.c: Move to ...
52811         * sysdeps/x86_64/tst-audit4.c: ... here.
52812         * elf/tst-audit5.c: Move to ...
52813         * sysdeps/x86_64/tst-audit5.c: ... here.
52814         * elf/tst-audit6.c: Move to ...
52815         * sysdeps/x86_64/tst-audit6.c: ... here.
52816         * elf/tst-audit7.c: Move to ...
52817         * sysdeps/x86_64/tst-audit7.c: ... here.
52818         * elf/tst-auditmod3a.c: Move to ...
52819         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52820         * elf/tst-auditmod3b.c: Move to ...
52821         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52822         * elf/tst-auditmod4a.c: Move to ...
52823         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52824         * elf/tst-auditmod4b.c: Move to ...
52825         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52826         * elf/tst-auditmod5a.c: Move to ...
52827         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52828         * elf/tst-auditmod5b.c: Move to ...
52829         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52830         * elf/tst-auditmod6a.c: Move to ...
52831         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52832         * elf/tst-auditmod6b.c: Move to ...
52833         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52834         * elf/tst-auditmod6c.c: Move to ...
52835         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52836         * elf/tst-auditmod7a.c: Move to ...
52837         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52838         * elf/tst-auditmod7b.c: Move to ...
52839         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52841 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52843         [BZ #15366]
52844         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52845         define unconditionally.
52846         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52847         define unconditionally.
52848         (INT8_C, INT16_C, etc.): Likewise.
52850 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52852         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52853         __ehdr_start with hidden visibility.
52855         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52857 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52859         * math/libm-test.inc (cos_test): Use accurate hex constants.
52860         (sincost_test): Likewise.
52862 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52864         * math/libm-test.inc (catan_test): Add more tests.
52865         (catanh_test): Likewise.
52867         * math/s_catanf.c (__catanf): Use suffixed floating-point
52868         constants.
52869         * math/s_catanhf.c (__catanhf): Likewise.
52870         * math/s_catanhl.c (__catanhl): Likewise.
52871         * math/s_catanl.c (__catanl): Likewise.
52873         [BZ #15394]
52874         * math/s_catan.c (__catan): Calculate imaginary part of result
52875         with log1p not log unless computing log of number close to 0.
52876         * math/s_catanf.c (__catanf): Likewise.
52877         * math/s_catanl.c (__catanl): Likewise.
52878         * math/s_catanh.c (__catanh): Calculate real part of result with
52879         log1p not log unless computing log of number close to 0.
52880         * math/s_catanhf.c (__catanhf): Likewise.
52881         * math/s_catanhl.c (__catanhl): Likewise.
52882         * math/libm-test.inc (catan_test): Add more tests.
52883         (catanh_test): Likewise.
52884         * sysdeps/i386/fpu/libm-test-ulps: Update.
52885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52887 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52889         * benchtests/Makefile: Mention files in which fast and slow
52890         paths of math functions are implemented.
52892 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52894         * sysdeps/posix/timespec_get.c: New file.
52896 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52898         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52899         POWER.
52900         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52901         for POWER.
52902         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52903         powerpc/power5/fpu folders.
52904         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52905         * benchtests/Makefile: Add modf testcase.
52906         * benchtests/bench-modf.c: New file: Benchmark test for mo
52908 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52910         [BZ #14888]
52911         * time/Makefile (tests): Add tst-strptime-whitespace.
52912         * time/strptime_l.c (get_number): Use ISSPACE.
52913         (__strptime_internal): Likewise.
52914         * time/tst-strptime-whitespace.c: New test case.
52916 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52918         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52919         member.
52920         (_nss_files_init): Set it here.
52922 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52924         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52925         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52926         unsigned.
52928 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52930         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52932 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52934         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52935         size just once.
52937 2013-04-21  David S. Miller  <davem@davemloft.net>
52939         * po/ru.po: Update Russion translation from translation project.
52941 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52943         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52944         and setfsgid.
52946 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52948         * configure.in: Remove i386 configure warning. Remove i386 case.
52949         * configure: Regenerate.
52950         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52951         Add example to error message.
52952         * sysdeps/i386/configure: Regenerate.
52954 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52956         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52957         slowtan.
52958         * benchtests/cos-inputs: New file.
52959         * benchtests/slowcos-inputs: New file.
52960         * benchtests/slowcos.c: New file.
52961         * benchtests/slowtan-inputs: New file.
52962         * benchtests/slowtan.c: New file.
52963         * benchtests/tan-inputs: New file.
52965 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52967         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52968         considered kosher.
52970 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * benchtests/Makefile: Include cppflags-iterator.mk to add
52973         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52975         * Makefile.in (bench-clean): New target.
52976         * benchtests/Makefile (bench-clean): Likewise.
52978 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52980         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52982 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52984         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52986 2013-04-15  Andreas Schwab  <schwab@suse.de>
52988         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52989         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52990         * nscd/pwdcache.c (cache_addpw): Likewise.
52991         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52992         more than recsize.
52994 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52996         * benchtests/Makefile (bench): Write all output to
52997         bench-out.tmp together.
52999 2013-04-15  Andreas Schwab  <schwab@suse.de>
53001         * nscd/nscd.c (main): Don't fork again after closing files.
53003 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53005         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53007         * benchtests/Rules (bench-deps): Collect dependencies into a
53008         single variable.  Add Makefile to dependencies.
53009         ($(objpfx)bench-%.c): Depend on bench-deps.
53011 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53012             Xavier Roche  <roche+kml2@exalead.com>
53014         [BZ #15361]
53015         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53016         just that it's a file descriptor.
53017         * manual/llio.texi (Synchronizing AIO Operations): Update description
53018         for EBADF error from aio_fsync.
53020 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53022         * Rules (bench): Move target definition...
53023         * benchtests/Makefile: ... here.
53025 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53027         * math/libm-test.inc (cos_test): Fix PI/2 test.
53028         (sincos_test): Likewise.
53029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53030         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53032 2013-04-11  Andreas Schwab  <schwab@suse.de>
53034         [BZ #13988]
53035         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53036         accept exponent character only when digits were seen.
53037         * stdio-common/Makefile (tests): Add bug26.
53038         * stdio-common/bug26.c: New file.
53040         [BZ #14293]
53041         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53042         non-freeable.
53044 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53046         * Makeconfig (rtld-prefix): Define built linker prefix.
53047         * Rules (run-bench): Use it.
53048         * math/Makefile (run-regen-ulps): Likewise.
53050         * Rules (bench): Remove eval.
53052 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53053             Roland McGrath  <roland@hack.frob.com>
53054             Ondrej Bilka  <neleai@seznam.cz>
53056         [BZ #15346]
53057         * time/getdate.c: Include ctype.h and alloca.h.
53058         (__getdate_r): Trim leading and trailing spaces of input.
53059         * time/tst-getdate.c (tests): Add tests with leading and
53060         trailing spaces.
53062 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53064         [BZ #14280]
53065         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53066         when computing value.
53068 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53070         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53071         Use testrun.sh to run libm tests.
53073         [BZ #15309]
53074         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53076 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53078         [BZ #15264]
53079         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53081 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53083         * Makefile.in (regen-ulps): New target.
53084         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53085         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53086         [ifneq (no,$(PERL)] (regen-ulps): New target.
53087         [ifeq (no,$(PERL)] (regen-ulps): New target.
53088         * math/libm-test.inc (ulps_file_name): Define.
53089         (output_dir): New variable.
53090         (options): Add "output-dir" option.
53091         (parse_opt): Handle 'o' case.
53092         (main): If output_dir is non-NULL use it as a prefix
53093         otherwise use "".
53094         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53096 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53098         [BZ #10060, #10062]
53099         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53100         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53101         fail configure if __sync_val_compare_and_swap is not inlined.
53102         * sysdeps/i386/configure: Regenerate.
53103         * configure.in: Build for i686 when configured for i386.
53104         * configure: Regenerate.
53105         * README: Remove i386 reference.
53107 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53109         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53110         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53112 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53114         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53115         (lmsnanval): New variables.
53116         (F): Add conversion tests.
53117         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53118         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53120         * stdio-common/tstdiomisc.c (F): Properly collect individual
53121         tests' results.
53123         [BZ #14686, #15336]
53124         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53125         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53126         Instead, use input NaN values or generate a qNaN by arithmetic
53127         operation.  Also fix bugs to comply with the standard.
53128         * math/libm-test.inc (remainder_test): Add more tests.
53130         [BZ #15335, #15342]
53131         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53132         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53133         input NaN values or generate a qNaN by arithmetic operation.
53135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53136         unreachable code.
53138         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53139         definitions.
53141 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53143         [BZ #14478]
53144         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53145         underflowed result.
53146         * math/s_cexpf.c (__cexpf): Likewise.
53147         * math/s_cexpl.c (__cexpl): Likewise.
53148         * math/libm-test.inc (cexp_test): Add more tests.
53150 2013-04-03  Andreas Schwab  <schwab@suse.de>
53152         [BZ #15330]
53153         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53154         order arrays from heap if bigger than alloca cutoff.
53156 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53158         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53159         (SNAN_TESTS_double): Refer to GCC PR56831.
53160         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53161         GCC PR56828.
53163 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53165         * Rules (bench): Move bench.out after the run is complete.
53167         * Rules (bench): Echo currently running benchmark.
53169         * benchtests/Makefile (bench): Add atan and slowatan.
53170         * benchtests/atan-inputs: New file.
53171         * benchtests/slowatan-inputs: New file.
53172         * benchtests/slowatan.c: New file.
53174         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53176         its value.
53178         [BZ #15305]
53179         * sysdeps/unix/sysv/linux/kernel-features.h
53180         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53181         __ASSUME_XFS_RESTRICTED_CHOWN.
53182         * sysdeps/unix/sysv/linux/pathconf.c
53183         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53184         Save and restore errno.
53186 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53188         [BZ #15327]
53189         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53190         arguments using __kernel_casinh.
53191         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53192         arguments using __kernel_casinhf.
53193         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53194         arguments using __kernel_casinhl.
53195         * math/libm-test.inc (cacosh_test): Add more tests.
53196         * sysdeps/i386/fpu/libm-test-ulps: Update.
53197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53199 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53201         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53204         * bench/Makefile (bench): Add sin and slowsin.
53205         * benchtests/sin-inputs: New file.
53206         * benchtests/slowsin-inputs: New file.
53207         * benchtests/slowsin.c: New file.
53209         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53210         (bench): Add slowexp and slowpow.
53211         (exp-ITER): Increase iterations.
53212         (pow-ITER): Likewise.
53213         * benchtests/exp-inputs: Change input.
53214         * benchtests/pow-inputs: Likewise.
53215         * benchtests/slowexp-inputs: New file.
53216         * benchtests/slowexp.c: New file.
53217         * benchtests/slowpow-inputs: New file.
53218         * benchtests/slowpow.c: New file.
53220 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53222         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53223         instructions.
53224         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53225         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53226         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53227         * benchtests/Makefile: Add rint benchtest.
53228         * benchtests/rint-inputs: Input for rint benchtest.
53230 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53232         * Versions.def (libm): Add GLIBC_2.18.
53233         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53234         hidden libm prototypes.
53235         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53236         * math/Makefile (libm-calls): Add s_issignaling.
53237         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53238         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53239         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53240         declaration.
53241         * math/math.h [__USE_GNU] (issignaling): New macro.
53242         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53243         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53244         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53245         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53246         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53247         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53248         * manual/arith.texi (issignaling): New section.
53249         * manual/libm-err-tab.pl (@all_functions): Update comment.
53250         * math/gen-libm-test.pl (parse_args): Apply special handling for
53251         issignaling.
53252         * math/libm-test.inc (print_float, issignaling_test): New
53253         functions.
53254         (check_float_internal): Add issignaling checks.
53255         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53256         default definition.
53257         * sysdeps/powerpc/math-tests.h: New file.
53258         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53259         tests.
53260         * math/test-snan.c (TEST_FUNC): Likewise.
53262 2013-03-30  David S. Miller  <davem@davemloft.net>
53264         * po/de.po: Update from translation team.
53266 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53268         [BZ #10357]
53269         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53270         imaginary part less than 1.0 and real part less than 0.5
53271         specially.
53272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53274         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53275         (cacos_test): Add more tests.
53276         (casin_test): Likewise.
53277         (casinh_test): Likewise.
53278         * sysdeps/i386/fpu/libm-test-ulps: Update.
53279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53281 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53283         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53284         ONE with its value.
53286         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53287         (__pow_mp): Replace ONE and MONE with their values.
53288         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53289         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53290         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53291         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53292         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53293         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53295         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53297         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53298         (__pow_mp): Replace ZERO and MZERO with their values.
53299         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53301         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53303         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53304         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53305         (__sqr): Likewise.
53307         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53309         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53311 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53313         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53314         Declare with __attribute__ ((weak)).
53315         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53316         Call __call_tls_dtors only if it's not NULL.
53318 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53320         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53321         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53322         magic __ehdr_start linker symbol if it's defined.
53323         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53324         them up here if it was already done.
53326         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53327         (_dl_aux_init): Use const in cast when setting it.
53328         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53329         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53330         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53332         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53333         Declare them here.
53334         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53335         * csu/libc-tls.c: Nor here.
53336         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53338         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53339         (__libc_message): Never call vsyslog.
53341 2013-03-28  Alan Modra  <amodra@gmail.com>
53343         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53344         Define as empty.
53345         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53346         Likewise.
53348 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53350         [BZ #15214]
53351         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53352         underflow.
53353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53355 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53357         [BZ #15304]
53358         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53359         Don't add gid passed as argument.
53361         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53363 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53365         [BZ #15307]
53366         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53367         imaginary part between 1.0 and 1.5 and real part less than 0.5
53368         specially.
53369         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53370         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53371         * math/libm-test.inc (cacos_test): Add more tests.
53372         (casin_test): Likewise.
53373         (casinh_test): Likewise.
53374         * sysdeps/i386/fpu/libm-test-ulps: Update.
53375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53377 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53379         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53380         constants.
53381         (norm): Likewise.
53382         (denorm): Likewise.
53383         (__dbl_mp): Likewise.
53384         (add_magnitudes): Likewise.
53385         (sub_magnitudes): Likewise.
53386         (__add): Likewise.
53387         (__sub): Likewise.
53388         (__mul): Likewise.
53389         (__sqr): Likewise.
53390         (__inv): Likewise.
53391         (__dvd): Likewise.
53393         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53394         commented code.
53395         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53396         (__dubcos): Likewise.
53397         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53398         (__ieee754_acos): Likewise.
53399         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53400         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53401         (__exp1): Likewise.
53402         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53404         (log1): Likewise.
53405         (my_log2): Likewise.
53406         (checkint): Likewise.
53407         * sysdeps/ieee754/dbl-64/e_remainder.c
53408         (__ieee754_remainder): Likewise.
53409         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53411         (bsloww): Likewise.
53412         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53414         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53415         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53416         MANTISSA_STORE_T to store computations on mantissa.  Use
53417         macros for rounding and division.
53418         (denorm): Likewise.
53419         (__dbl_mp): Likewise.
53420         (add_magnitudes): Likewise.
53421         (sub_magnitudes): Likewise.
53422         (__mul): Likewise.
53423         (__sqr): Likewise.
53424         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53425         powers of two in terms of TWOPOW macro.
53426         (mp_no): Make type of mantissa as MANTISSA_T.
53427         [!RADIXI]: Define RADIXI.
53428         [!TWO52]: Define TWO52.
53429         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53431 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53433         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53434         llroundl symbol when building for PPC32.
53436 2013-03-24  Mark H Weaver  <mhw@netris.org>
53438         * manual/arith.texi (Normalization Functions): Fix prototypes for
53439         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53441 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53443         [BZ #13889]
53444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53445         high value to check if expl overflow.
53446         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53447         to check for underflow and overflow.
53448         * math/libm-test.inc: Add exp test.
53450 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53452         [BZ #11120]
53453         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53454         with NOT_IN_libc.
53456 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53458         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53459         symbol.
53461 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53463         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53464         wrap blocks consisting of several statements.
53466         * sysdeps/generic/math-tests.h: New file.
53467         * sysdeps/i386/fpu/math-tests.h: Likewise.
53468         * math/test-snan.c: Include it.
53469         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53471 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53473         [BZ #15285]
53474         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53475         (__ieee754_j0l): Do not improve calculations using cos of twice
53476         input for inputs above LDBL_MAX / 2.0L.
53477         (__ieee754_y0l): Likewise.
53478         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53479         (__ieee754_j1l): Do not improve calculations using cos of twice
53480         input for inputs above LDBL_MAX / 2.0L.
53481         (__ieee754_y1l): Likewise.
53482         * math/libm-test.inc (j0_test): Add another test.
53483         (j1_test): Likewise.
53484         (y0_test): Likewise.
53485         (y1_test): Likewise.
53486         * sysdeps/i386/fpu/libm-test-ulps: Update.
53488 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53490         * Rules ($(objpfx)bench-%.c): Include code from a C source
53491         file.
53493 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53495         [BZ #15287]
53496         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53497         imaginary part 1.0 and real part less than 0.5 specially.
53498         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53499         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53500         * math/libm-test.inc (cacos_test): Add more tests.
53501         (casin_test): Likewise.
53502         (casinh_test): Likewise.
53503         * sysdeps/i386/fpu/libm-test-ulps: Update.
53504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53506 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53508         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53509         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53511 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53513         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53514         * config.make.in (config-cflags-sse4): Remove variable.
53515         (config-cflags-avx): Likewise.
53516         (config-cflags-sse2avx): Likewise.
53517         (config-cflags-novzeroupper): Likewise.
53518         (config-asflags-i686): Likewise.
53519         (have-mfma4): Likewise.
53520         (have-as-vis3): Likewise.
53521         (MIG): Likewise.
53522         * configure.in (MIG): Do not AC_SUBST.
53523         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53524         (libc_cv_cc_sse4): Do not AC_SUBST.
53525         (libc_cv_cc_avx): Likewise.
53526         (libc_cv_cc_sse2avx): Likewise.
53527         (libc_cv_cc_novzeroupper): Likewise.
53528         (libc_cv_cc_fma4): Likewise.
53529         (libc_cv_as_i686): Likewise.
53530         (libc_cv_sparc_as_vis3): Likewise.
53531         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53532         LIBC_CONFIG_VAR.
53533         (config-asflags-i686): Likewise.
53534         (config-cflags-avx): Likewise.
53535         (config-cflags-sse2avx): Likewise.
53536         (have-mfma4): Likewise.
53537         (config-cflags-novzeroupper): Likewise.
53538         * sysdeps/mach/configure.in (MIG): Likewise.
53539         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53540         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53541         LIBC_CONFIG_VAR.
53542         (config-cflags-avx): Likewise.
53543         (config-cflags-sse2avx): Likewise.
53544         (have-mfma4): Likewise.
53545         (config-cflags-novzeroupper): Likewise.
53546         * configure: Regenerated.
53547         * sysdeps/i386/configure: Likewise.
53548         * sysdeps/mach/configure: Likewise.
53549         * sysdeps/sparc/configure: Likewise.
53550         * sysdeps/x86_64/configure: Likewise.
53552 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53554         [BZ #14812]
53555         * locale/programs/localedef.c (options): Put N_ translation marker
53556         on argument names, not just descriptions.
53558 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53560         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53562 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53564         [BZ #14176]
53565         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53567 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53569         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53570         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53571         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53572         [!BEFORE_ABORT] (before_abort): New function.
53573         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53574         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53575         (writev_for_fatal): New function.
53576         (WRITEV_FOR_FATAL): New macro; call that.
53577         (backtrace_and_maps): New function.
53578         (BEFORE_ABORT): New macro; call that.
53579         (struct str_list): Type removed.
53580         (__libc_message, __libc_fatal): Functions removed.
53581         Include <sysdeps/posix/libc_fatal.c> instead.
53583 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53585         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53586         constants.
53587         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53588         double constants.
53590 2013-03-19  Andreas Schwab  <schwab@suse.de>
53592         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53593         * sysdeps/gnu/configure: Regenerate.
53595         * configure.in: Substitute libc_cv_rtlddir.
53596         * configure: Regenerate.
53597         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53598         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53599         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53600         * elf/Makefile (install-others, CFLAGS-interp.c)
53601         (ldso_install, common-ldd-rewrite): Likewise.
53602         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53603         $(inst_slibdir)/$(rtld-installed-name).
53604         * scripts/rellns-sh: Add -p option.
53605         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53606         for source.
53608 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53610         * manual/nptl.texi: Renamed to ...
53611         * manual/threads.texi: ... this.
53612         * manual/Makefile (chapters): Update.
53614 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53616         [BZ #14812]
53617         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53618         on argument names, not just descriptions.
53619         * malloc/memusagestat.c (options): Likewise.
53620         * nss/getent.c (options): Likewise.
53622 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53624         [BZ #14812]
53625         * iconv/iconv_prog.c (options): Put N_ translation marker
53626         on argument names, not just descriptions.
53627         * iconv/iconvconfig.c (options): Likewise.
53629 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53631         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53632         implementation which is faster on all x86_64 architectures.
53633         Tested on AMD, Intel Nehalem, SNB, IVB.
53634         * sysdeps/x86_64/strnlen.S: Likewise.
53636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53637         Remove all multiarch strlen and strnlen versions.
53638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53639         Remove strlen and strnlen related parts.
53641         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53642         Inline strlen part.
53643         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53645         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53646         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53647         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53648         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53649         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53650         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53652 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53654         * manual/memory.texi (Malloc Tunable Parameters):
53655         Sort parameters alphabetically. Add comments for missing entries.
53657 2013-03-17  David S. Miller  <davem@davemloft.net>
53659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53661 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53663         [BZ #15283]
53664         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53665         for arguments at most half maximum finite value.
53666         * math/libm-test.inc (j0_test): Add more tests.
53667         (j1_test): Likewise.
53668         (y0_test): Likewise.
53669         (y1_test): Likewise.
53670         * sysdeps/i386/fpu/libm-test-ulps: Update.
53671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53673         [BZ #14155]
53674         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53675         1 / x and functions P and Q for arguments above 0x1p256L.
53676         (__ieee754_y0l): Likewise.
53677         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53678         (__ieee754_y1l): Likewise.
53679         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53680         (j1_test): Likewise.
53681         (y0_test): Likewise.
53682         (y1_test): Likewise.
53684 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53686         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53687         variable.
53689 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53691         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53692         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53693         zero since it's initialized to EXEC_PAGESIZE.
53695         * sysdeps/unix/sysv/linux/ldsodefs.h
53696         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53697         * sysdeps/generic/ldsodefs.h: ... here.
53699 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53701         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53703         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53704         math/test-snan.c.
53705         * math/test-snan.c: Renamed from
53706         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53707         * math/Makefile (tests): Add test-snan.
53708         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53709         test-powerpc-snan.
53711         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53712         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53713         functions.
53714         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53715         __builtin_nan family of functions.
53716         * math/libm-test.inc (initialize): Initialize qnan_value with
53717         __builtin_nan family of functions.
53718         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53719         Remove variables.
53720         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53721         Remove functions.
53722         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53723         storage class.  Initialize qNaN_var and sNaN_var with
53724         __builtin_nan and __builtin_nans families of functions,
53725         respectively.
53727         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53728         (sqrt_test): Remove duplicate test with qNaN input.
53729         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53730         (round_test, signbit_test, significand_test): Note missing +/-Inf
53731         as well as qNaN tests.
53733         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53734         qNaN_var.  Fix a few strings, too.
53735         * math/libm-test.inc (nan_value): Rename to qnan_value.
53736         * math/gen-libm-test.pl (%beautify): Adjust to that.
53737         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53738         * math/test-misc.c (main): Likewise.
53739         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53740         to __qnan_bytes, and __qnan_union, respectively.
53741         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53742         Likewise.
53743         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53744         and lqnanval, respectively.
53745         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53746         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53747         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53748         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53750         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53751         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53752         doubles.
53754         * math/test-misc.c (main): Fix copy'n'pastos.
53755         * misc/tst-efgcvt.c (special): Likewise.
53757         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53758         Remove declarations.
53760 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53762         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53763         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53764         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53765         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53767 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53770         macro to return vdso values correctly in IFUNC implementations.
53771         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53772         Optimization by using IFUNC.
53774 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53775             Richard Henderson  <rth@redhat.com>
53776             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53778         * Makefile.in (bench): New target.
53779         * NEWS: Mention the benchmark framework.
53780         * Rules (bench): Likewise.
53781         (binaries-bench): Generate binaries for functions to
53782         benchmark.
53783         * benchtests/Makefile: New makefile for benchmark tests.
53784         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53785         programs.
53786         * benchtests/exp-inputs: New input file for EXP function.
53787         * benchtests/pow-inputs: New input file for POW function.
53788         * scripts/bench.pl: New script to generate source files for
53789         benchmark programs.
53791 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53793         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53794         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53795         computations on mantissa.  Use macros for rounding and
53796         division.
53797         (denorm): Likewise.
53798         (__dbl_mp): Likewise.
53799         (add_magnitudes): Likewise.
53800         (sub_magnitudes): Likewise.
53801         (__mul): Likewise.
53802         (__sqr): Likewise.
53803         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53804         powers of two in terms of TWOPOW macro.
53805         (mp_no): Make type of mantissa as MANTISSA_T.
53806         [!RADIXI]: Define RADIXI.
53807         [!TWO52]: Define TWO52.
53808         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53810         * manual/nptl.texi (cindex): Modify threads to pthreads.
53812 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53814         * sysdeps/x86_64/preconfigure: Regenerated.
53816 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53818         [BZ #14155]
53819         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53820         0x1p28 and above.
53821         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53822         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53823         0x1p28 and above.
53824         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53825         * math/libm-test.inc (j0_test): Do not allow one spurious
53826         underflow exception.
53827         (y1_test): Likewise.
53829 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53831         * manual/Makefile (chapters): Add nptl.
53832         * manual/debug.texi (Debugging Support): Add link to Threads
53833         chapter.
53834         * manual/nptl.texi: New file.
53836         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53838 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53840         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53841         for non-NULL pointer before the memory validity test. Pointed
53842         out by Holger Brunck <holger.brunck@keymile.com>.
53844 2013-03-13  Andreas Schwab  <schwab@suse.de>
53846         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53847         instead of .os.
53849 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53851         * timezone/zic.c: Update from tzcode 2013b.
53853 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53855         * manual/install.texi (Configuring and compiling):
53856         Mention i686 and i586.
53857         * INSTALL: Regenerate.
53859 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53861         * sysdeps/init_array/elf-init.c: New file.
53862         * csu/elf-init.c
53863         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53864         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53866         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53867         __gmon_start__ as global, but as static with a .preinit_array pointer.
53868         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53869         * sysdeps/init_array/crti.S: New file, empty except for comments.
53870         * sysdeps/init_array/crtn.S: Likewise.
53872 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53874         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53875         definining bcopy.
53876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53877         Remove Prefer_SSE_for_memop.
53878         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53879         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53880         HAS_PREFER_SSE_FOR_MEMOP.
53881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53882         memset-x86-64.
53883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53884         Remove bzero, memset ifunc support.
53885         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53886         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53887         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53888         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53890 2013-03-11  Andreas Schwab  <schwab@suse.de>
53892         [BZ #15234]
53893         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53894         by SHLIB_COMPAT.
53895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53896         (GLIBC_2.16): Remove pthread_atfork.
53898 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53900         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53901         (ptestcases.h): Likewise.
53903 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53905         * Makeconfig ($(common-objpfx)config.status): Depend on
53906         sysdeps/*/preconfigure{,.in} too.
53908 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53910         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53911         (__free_hook): Use void * instead of __malloc_ptr_t.
53912         (__malloc_hook): Likewise.
53913         (__realloc_hook): Likewise.
53914         (__memalign_hook): Likewise.
53915         (__after_morecore_hook): Likewise.
53916         * malloc/arena.c (save_malloc_hook): Likewise.
53917         (save_free_hook): Likewise.
53918         * malloc/hooks.c (malloc_hook_ini): Likewise.
53919         (realloc_hook_ini): Likewise.
53920         (memalign_hook_ini): Likewise.
53921         * malloc/malloc.c (malloc_hook_ini): Likewise.
53922         (realloc_hook_ini): Likewise.
53923         (memalign_hook_ini): Likewise.
53924         (__free_hook): Likewise.
53925         (__malloc_hook): Likewise.
53926         (__realloc_hook): Likewise.
53927         (__memalign_hook): Likewise.
53928         (__libc_malloc): Likewise.
53929         (__libc_free): Likewise.
53930         (__libc_realloc): Likewise.
53931         (__libc_memalign): Likewise.
53932         (__libc_valloc): Likewise.
53933         (__libc_pvalloc): Likewise.
53934         (__libc_calloc): Likewise.
53935         (__posix_memalign): Likewise.
53936         * malloc/morecore.c (__sbrk): Likewise.
53937         (__default_morecore): Likewise.
53939         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53941         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53942         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53943         __malloc_ptrdiff_t.
53945         * malloc/malloc.h (__malloc_size_t): Remove macro.
53946         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53947         __malloc_size_t.
53948         (old_memalign_hook): Likewise.
53949         (old_realloc_hook): Likewise.
53950         (struct hdr): Likewise.
53951         (flood): Likewise.
53952         (mallochook): Likewise.
53953         (memalignhook): Likewise.
53954         (reallochook): Likewise.
53955         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53956         (tr_old_realloc_hook): Likewise.
53957         (tr_old_memalign_hook): Likewise.
53958         (tr_mallochook): Likewise.
53959         (tr_reallochook): Likewise.
53960         (tr_memalignhook): Likewise.
53962 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53965         default_ldbl_pack and using as default implementation.
53966         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53967         implementation.
53968         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53969         redundant definition.
53970         (ldbl_insert_mantissa): Likewise.
53971         (ldbl_canonicalize): Likewise.
53972         (ldbl_nearbyint): Likewise.
53973         (ldbl_pack): Rename to ldbl_pack_ppc.
53974         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53975         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53976         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53978 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53981         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53982         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53983         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53985         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53986         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53987         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53989 2013-03-07  Andreas Jaeger  <aj@suse.de>
53991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53992         bits/mman-linux.h.
53994 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53996         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53997         Include mpa.h and declare __MPEXP.
53998         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53999         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54000         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54001         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54002         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54003         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54006         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54007         (__slowpow): Use long double EXPL and LOGL functions to
54008         compute POW.
54009         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54010         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54011         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54012         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54013         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54014         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54017         intermediate variable to calculate exponent.
54018         (__sqr): Likewise.
54019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54020         Likewise.
54021         (__sqr): Likewise.
54023         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54024         [!NO__SQR]: Define __sqr.
54025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54026         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54027         sysdeps/ieee754/dbl-64/mpa.c.
54028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54030         [BZ #12723]
54031         * posix/Makefile (tests): Add tst-pathconf.
54032         * posix/tst-pathconf.c: New test case.
54033         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54034         _PC_PIPE_BUF.
54035         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54037 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54039         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54041 2013-03-06  Andreas Jaeger  <aj@suse.de>
54043         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54044         definition via __MAP_ANONYMOUS.
54046         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54047         it's not part of Linux headers.
54049         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54050         (MAP_HUGE_MASK): Define.
54052         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54053         Define.
54054         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54055         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54056         Define.
54057         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54058         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54059         Define.
54060         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54061         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54062         Define.
54063         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54065         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54066         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54067         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54068         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54069         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54070         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54072         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54073         Handle f2fs.
54075         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54076         Handle f2fs and efivarfs.
54078         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54079         f2fs.
54081         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54082         (EFIVARFS_MAGIC): Add.
54083         (F2FS_LINK_MAX): Add.
54085 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54087         * stdio-common/vfprintf.c: Replace __builtin_expect with
54088         __glibc_unlikely.
54090 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54092         [BZ #13550]
54093         * sysdeps/generic/bp-sym.h: Remove file.
54094         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54095         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54096         <bp-sym.h> and <bp-asm.h>.
54097         (__longjmp): Don't use BP_SYM.
54098         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54099         and <bp-asm.h>.
54100         (memcpy): Don't use BP_SYM.
54101         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54102         <bp-sym.h> and <bp-asm.h>.
54103         (memcpy): Don't use BP_SYM.
54104         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54105         <bp-asm.h>.
54106         (memcpy): Don't use BP_SYM.
54107         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54108         <bp-asm.h>.
54109         (memset): Don't use BP_SYM.
54110         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54111         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54112         (__bzero): Don't use BP_SYM.
54113         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54114         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54115         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54116         <bp-sym.h> and <bp-asm.h>.
54117         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54118         pointers.
54119         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54120         <bp-sym.h> and <bp-asm.h>.
54121         (memcpy): Don't use BP_SYM.
54122         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54123         <bp-sym.h> and <bp-asm.h>.
54124         (memset): Don't use BP_SYM.
54125         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54126         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54127         (__bzero): Don't use BP_SYM.
54128         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54129         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54130         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54131         <bp-sym.h> and <bp-asm.h>.
54132         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54133         pointers.
54134         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54135         <bp-sym.h> and <bp-asm.h>.
54136         (memcpy): Don't use BP_SYM.
54137         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54138         <bp-sym.h> and <bp-asm.h>.
54139         (memset): Don't use BP_SYM.
54140         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54141         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54142         (__bzero): Don't use BP_SYM.
54143         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54144         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54145         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54146         <bp-sym.h> and <bp-asm.h>.
54147         (__memchr): Don't use BP_SYM.
54148         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54149         <bp-sym.h> and <bp-asm.h>.
54150         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54151         pointers.
54152         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54153         <bp-sym.h> and <bp-asm.h>.
54154         (memcpy): Don't use BP_SYM.
54155         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54156         <bp-sym.h> and <bp-asm.h>.
54157         (__mempcpy): Don't use BP_SYM.
54158         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54159         <bp-sym.h> and <bp-asm.h>.
54160         (__memrchr): Don't use BP_SYM.
54161         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54162         <bp-sym.h> and <bp-asm.h>.
54163         (memset): Don't use BP_SYM.
54164         (__bzero): Likewise.
54165         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54166         <bp-sym.h> and <bp-asm.h>.
54167         (__rawmemchr): Don't use BP_SYM.
54168         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54169         <bp-sym.h> and <bp-asm.h>.
54170         (__STRCMP): Don't use BP_SYM.
54171         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54172         <bp-sym.h> and <bp-asm.h>.
54173         (strchr): Don't use BP_SYM.
54174         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54175         <bp-sym.h> and <bp-asm.h>.
54176         (__strchrnul): Don't use BP_SYM.
54177         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54178         <bp-sym.h> and <bp-asm.h>.
54179         (strlen): Don't use BP_SYM.
54180         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54181         <bp-sym.h> and <bp-asm.h>.
54182         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54183         pointers.
54184         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54185         <bp-sym.h> and <bp-asm.h>.
54186         (__strnlen): Don't use BP_SYM.
54187         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54188         <bp-sym.h> and <bp-asm.h>.
54189         (__GI__setjmp): Don't use BP_SYM.
54190         (_setjmp): Likewise.
54191         (__sigsetjmp): Likewise.
54192         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54193         (L(start_addresses)): Don't use BP_SYM.
54194         (_start): Likewise.
54195         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54196         <bp-asm.h>.
54197         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54198         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54199         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54200         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54201         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54202         <bp-asm.h>.
54203         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54204         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54205         about bounded pointers.
54206         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54207         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54208         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54209         <bp-asm.h>.
54210         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54211         about bounded pointers.  Remove GKM FIXME comments.
54212         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54213         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54214         <bp-asm.h>.
54215         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54216         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54217         Remove GKM FIXME comments.
54218         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54219         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54220         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54221         <bp-asm.h>.
54222         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54223         about bounded pointers.  Remove GKM FIXME comment.
54224         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54225         and <bp-asm.h>.
54226         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54227         pointers.
54228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54229         <bp-sym.h> and <bp-asm.h>.
54230         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54232         <bp-sym.h> and <bp-asm.h>.
54233         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54234         comment.
54236 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54238         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54239         call free(NULL).
54241 2013-03-05  David S. Miller  <davem@davemloft.net>
54243         * po/es.po: Update from translation team.
54245 2013-03-05  Andreas Jaeger  <aj@suse.de>
54247         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54248         <bits/mman-linux.h>.
54249         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54250         is fine.
54251         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54252         <bits/mman-linux.h> to end of file.
54253         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54254         is fine.
54255         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54256         <bits/mman-linux.h> to end of file.
54257         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54258         is fine.
54259         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54260         <bits/mman-linux.h> to end of file.
54262         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54263         (MCL_CURRENT, MCL_FUTURE): Define here.
54265 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54267         [BZ #15232]
54268         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54269         attribute_hidden.
54270         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54272 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54274         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54275         fourth parameter needed for rt_sigprocmask syscall.
54276         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54277         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54278         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54279         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54280         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54281         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54283 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54285         [BZ #13550]
54286         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54287         comment about bounded pointers.
54288         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54289         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54291 2013-03-04  Andreas Jaeger  <aj@suse.de>
54293         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54294         common definitions.
54296         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54297         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54298         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54299         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54300         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54301         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54303 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54305         [BZ #15055]
54306         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54307         __ieee754_sqrl instead of __sqrl.
54309 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54311         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54312         * sysdeps/powerpc/fpu_control.h: ... here.
54313         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54314         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54315         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54316         * sysdeps/powerpc/bits/mathinline.h: ... here.
54318 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54320         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54321         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54322         to just [NEED_DL_SYSINFO_DSO].
54323         * elf/dl-support.c: Likewise.
54324         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54325         * elf/rtld.c (dl_main): Likewise.
54326         * elf/setup-vdso.h (setup_vdso): Likewise.
54327         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54328         * sysdeps/unix/sysv/linux/dl-sysdep.c
54329         (_dl_discover_osversion): Likewise.
54331 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54333         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54334         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54336 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54338         * NEWS: Mention libm performance improvements and non-x86 PI
54339         futex support.
54341         * csu/libc-start.c (__pthread_initialize_minimal): Change
54342         function arguments.
54343         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54345 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54347         [BZ #13550]
54348         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54349         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54350         <bp-sym.h> and <bp-asm.h>.
54351         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54352         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54353         and <bp-asm.h>.
54354         (memcpy): Don't use BP_SYM.
54355         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54356         <bp-asm.h>.
54357         (__mpn_add_n): Don't use BP_SYM.
54358         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54359         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54360         and <bp-asm.h>.
54361         (__mpn_addmul_1): Don't use BP_SYM.
54362         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54363         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54364         <bp-sym.h>.
54365         (_setjmp): Don't use BP_SYM.
54366         (__novmx_setjmp): Likewise.
54367         (__GI__setjmp): Likewise.
54368         (__vmx_setjmp): Likewise.
54369         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54370         <bp-sym.h>.
54371         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54372         (__bzero): Don't use BP_SYM.
54373         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54374         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54375         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54376         <bp-sym.h> and <bp-asm.h>.
54377         (memcpy): Don't use BP_SYM.
54378         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54379         <bp-sym.h> and <bp-asm.h>.
54380         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54381         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54382         <bp-sym.h> and <bp-asm.h>.
54383         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54384         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54385         <bp-asm.h>.
54386         (__mpn_lshift): Don't use BP_SYM.
54387         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54388         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54389         <bp-asm.h>.
54390         (memset): Don't use BP_SYM.
54391         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54392         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54393         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54394         <bp-asm.h>.
54395         (__mpn_mul_1): Don't use BP_SYM.
54396         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54397         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54398         <bp-sym.h> and <bp-asm.h>.
54399         (memcmp): Don't use BP_SYM.
54400         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54401         <bp-sym.h> and <bp-asm.h>.
54402         (memcpy): Don't use BP_SYM.
54403         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54404         <bp-sym.h> and <bp-asm.h>.
54405         (memset): Don't use BP_SYM.
54406         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54407         <bp-sym.h> and <bp-asm.h>.
54408         (strncmp): Don't use BP_SYM.
54409         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54410         <bp-sym.h> and <bp-asm.h>.
54411         (memcpy): Don't use BP_SYM.
54412         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54413         <bp-sym.h> and <bp-asm.h>.
54414         (memset): Don't use BP_SYM.
54415         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54416         <bp-sym.h> and <bp-asm.h>.
54417         (__memchr): Don't use BP_SYM.
54418         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54419         <bp-sym.h> and <bp-asm.h>.
54420         (memcmp): Don't use BP_SYM.
54421         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54422         <bp-sym.h> and <bp-asm.h>.
54423         (memcpy): Don't use BP_SYM.
54424         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54425         <bp-sym.h> and <bp-asm.h>.
54426         (__mempcpy): Don't use BP_SYM.
54427         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54428         <bp-sym.h> and <bp-asm.h>.
54429         (__memrchr): Don't use BP_SYM.
54430         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54431         <bp-sym.h> and <bp-asm.h>.
54432         (memset): Don't use BP_SYM.
54433         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54434         <bp-sym.h> and <bp-asm.h>.
54435         (__rawmemchr): Don't use BP_SYM.
54436         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54437         <bp-sym.h> and <bp-asm.h>.
54438         (__STRCMP): Don't use BP_SYM.
54439         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54440         <bp-sym.h> and <bp-asm.h>.
54441         (strchr): Don't use BP_SYM.
54442         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54443         <bp-sym.h> and <bp-asm.h>.
54444         (__strchrnul): Don't use BP_SYM.
54445         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54446         <bp-sym.h> and <bp-asm.h>.
54447         (strlen): Don't use BP_SYM.
54448         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54449         <bp-sym.h> and <bp-asm.h>.
54450         (strncmp): Don't use BP_SYM.
54451         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54452         <bp-sym.h> and <bp-asm.h>.
54453         (__strnlen): Don't use BP_SYM.
54454         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54455         <bp-asm.h>.
54456         (__mpn_rshift): Don't use BP_SYM.
54457         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54458         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54459         <bp-sym.h> and <bp-asm.h>.
54460         (__sigsetjmp): Don't use BP_SYM.
54461         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54462         (L(start_addresses)): Don't use BP_SYM.
54463         (_start): Likewise.
54464         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54465         <bp-asm.h>.
54466         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54467         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54468         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54469         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54470         <bp-asm.h>.
54471         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54472         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54473         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54474         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54475         <bp-asm.h>.
54476         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54477         comments.
54478         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54479         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54480         <bp-asm.h>.
54481         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54482         FIXME comments.
54483         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54484         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54485         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54486         <bp-asm.h>.
54487         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54488         comment.
54489         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54490         and <bp-asm.h>.
54491         (strncmp): Don't use BP_SYM,
54492         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54493         <bp-asm.h>.
54494         (__mpn_sub_n): Don't use BP_SYM.
54495         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54496         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54497         and <bp-asm.h>.
54498         (__mpn_submul_1): Don't use BP_SYM.
54499         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54501         <bp-sym.h> and <bp-asm.h>.
54502         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54504         <bp-sym.h> and <bp-asm.h>.
54505         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54506         comment.
54508 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54511         Use ZK to minimize writes to Z.
54512         (sub_magnitudes): Simplify code a bit.
54513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54514         Use ZK to minimize writes to Z.
54515         (sub_magnitudes): Simplify code a bit.
54517 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54519         * csu/gmon-start.c: Add special exception to license text.
54521 2013-02-27  Richard Henderson  <rth@redhat.com>
54523         * scripts/config.guess: Update from config.git.
54524         * scripts/config.sub: Likewise.
54526 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54528         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54530         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54532         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54534         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54536         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54538 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54540         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54541         [$(build-shared = yes].
54543 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54545         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54546         (__mul): Reduce iterations for calculating mantissa.
54548         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54549         MPTWO.
54550         (__mpranred): Likewise.
54552         [BZ #15160]
54553         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54554         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54556 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54558         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54559         Define __attribute__.
54561 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54563         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54564         unused.
54565         * posix/regex_internal.h (__attribute): Remove.
54566         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54567         (re_string_context_at): Likewise.
54568         (bitset_not): Use __attribute__ and mark function as possibly
54569         unused.
54570         (bitset_merge): Likewise.
54571         (bitset_mask): Likewise.
54572         (re_string_char_size_at): Likewise.
54573         (re_string_wchar_at): Likewise.
54574         (re_string_elem_size_at): Likewise.
54576 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54578         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54579         code.
54580         (cc32): Likewise.
54582         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54583         (__acr): Likewise.
54584         (__cpy): Likewise.
54585         (norm): Likewise.
54586         (denorm): Likewise.
54587         (__dbl_mp): Likewise.
54588         (add_magnitudes): Likewise.
54589         (sub_magnitudes): Likewise.
54590         (__mul): Likewise.
54591         (__inv): Likewise.
54593         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54594         style.
54596         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54597         style.
54599         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54600         code.
54602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54603         up changes with default code.
54604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54605         Likewise.
54607 2013-02-24  Allan McRae  <allan@archlinux.org>
54609         * manual/socket.texi (The Internet Namespace): Order menu items
54610         to match that in the file.
54612         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54613         node listing of the info page menu.
54615 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54617         [BZ #13550]
54618         * sysdeps/i386/bp-asm.h: Remove file.
54619         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54620         (PARMS): Do not use macros from bp-asm.h.
54621         (S1): Likewise.
54622         (S2): Likewise.
54623         (SIZE): Likewise.
54624         (__mpn_add_n): Do not use BP_SYM
54625         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54626         "bp-asm.h".
54627         (PARMS): Do not use macros from bp-asm.h.
54628         (S1): Likewise.
54629         (SIZE): Likewise.
54630         (__mpn_addmul_1): Do not use BP_SYM
54631         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54632         "bp-asm.h".
54633         (PARMS): Do not use macros from bp-asm.h.
54634         (SIGMSK): Likewise.
54635         (_setjmp): Likewise.  Do not use BP_SYM.
54636         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54637         "bp-asm.h".
54638         (PARMS): Do not use macros from bp-asm.h.
54639         (SIGMSK): Likewise.
54640         (setjmp): Likewise.  Do not use BP_SYM.
54641         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54642         "bp-asm.h".
54643         (PARMS): Do not use macros from bp-asm.h.
54644         (__frexp): Do not use BP_SYM.
54645         (frexp): Likewise.
54646         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54647         "bp-asm.h".
54648         (PARMS): Do not use macros from bp-asm.h.
54649         (__frexpf): Do not use BP_SYM.
54650         (frexpf): Likewise.
54651         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54652         "bp-asm.h".
54653         (PARMS): Do not use macros from bp-asm.h.
54654         (__frexpl): Do not use BP_SYM.
54655         (frexpl): Likewise.
54656         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54657         "bp-asm.h".
54658         (PARMS): Do not use macros from bp-asm.h.
54659         (__remquo): Do not use BP_SYM.
54660         (remquo): Likewise.
54661         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54662         "bp-asm.h".
54663         (PARMS): Do not use macros from bp-asm.h.
54664         (__remquof): Do not use BP_SYM.
54665         (remquof): Likewise.
54666         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54667         "bp-asm.h".
54668         (PARMS): Do not use macros from bp-asm.h.
54669         (__remquol): Do not use BP_SYM.
54670         (remquol): Likewise.
54671         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54672         "bp-asm.h".
54673         (PARMS): Do not use macros from bp-asm.h.
54674         (DEST): Likewise.
54675         (SRC): Likewise.
54676         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54677         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54678         "bp-asm.h".
54679         (PARMS): Do not use macros from bp-asm.h.
54680         (strlen): Do not use BP_SYM.
54681         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54682         "bp-asm.h".
54683         (PARMS): Do not use macros from bp-asm.h.
54684         (S1): Likewise.
54685         (S2): Likewise.
54686         (SIZE): Likewise.
54687         (__mpn_add_n): Do not use BP_SYM.
54688         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54689         "bp-asm.h".
54690         (PARMS): Do not use macros from bp-asm.h.
54691         (S1): Likewise.
54692         (SIZE): Likewise.
54693         (__mpn_addmul_1): Do not use BP_SYM.
54694         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54695         weak_alias.
54696         (bzero): Likewise.
54697         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54698         "bp-asm.h".
54699         (PARMS): Do not use macros from bp-asm.h.
54700         (S): Likewise.
54701         (SIZE): Likewise.
54702         (__mpn_lshift): Do not use BP_SYM.
54703         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54704         "bp-asm.h".
54705         (PARMS): Do not use macros from bp-asm.h.
54706         (DEST): Likewise.
54707         (SRC): Likewise.
54708         (LEN): Likewise.
54709         (memcpy): Likewise.  Do not use BP_SYM.
54710         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54711         libc_hidden_def and weak_alias.
54712         (mempcpy): Do not use BP_SYM in weak_alias.
54713         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54714         "bp-asm.h".
54715         (PARMS): Do not use macros from bp-asm.h.
54716         (DEST): Likewise.
54717         (LEN): Likewise.
54718         [!BZERO_P] (CHR): Likewise.
54719         (memset): Likewise.  Do not use BP_SYM.
54720         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54721         "bp-asm.h".
54722         (PARMS): Do not use macros from bp-asm.h.
54723         (S1): Likewise.
54724         (SIZE): Likewise.
54725         (__mpn_mul_1): Do not use BP_SYM.
54726         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54727         "bp-asm.h".
54728         (PARMS): Do not use macros from bp-asm.h.
54729         (S): Likewise.
54730         (SIZE): Likewise.
54731         (__mpn_rshift): Do not use BP_SYM.
54732         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54733         "bp-asm.h".
54734         (PARMS): Do not use macros from bp-asm.h.
54735         (STR): Likewise.
54736         (CHR): Likewise.
54737         (strchr): Likewise.  Do not use BP_SYM.
54738         (index): Do not use BP_SYM in weak_alias.
54739         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54740         "bp-asm.h".
54741         (PARMS): Do not use macros from bp-asm.h.
54742         (DEST): Likewise.
54743         (SRC): Likewise.
54744         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54745         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         (PARMS): Do not use macros from bp-asm.h.
54748         (strlen): Do not use BP_SYM.
54749         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54750         "bp-asm.h".
54751         (PARMS): Do not use macros from bp-asm.h.
54752         (S1): Likewise.
54753         (S2): Likewise.
54754         (SIZE): Likewise.
54755         (__mpn_sub_n): Do not use BP_SYM.
54756         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54757         "bp-asm.h".
54758         (PARMS): Do not use macros from bp-asm.h.
54759         (S1): Likewise.
54760         (SIZE): Likewise.
54761         (__mpn_submul_1): Do not use BP_SYM.
54762         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54763         "bp-asm.h".
54764         (PARMS): Do not use macros from bp-asm.h.
54765         (S1): Likewise.
54766         (S2): Likewise.
54767         (SIZE): Likewise.
54768         (__mpn_add_n): Do not use BP_SYM.
54769         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54770         weak_alias.
54771         (bzero): Likewise.
54772         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54773         "bp-asm.h".
54774         (PARMS): Do not use macros from bp-asm.h.
54775         (BLK2): Likewise.
54776         (LEN): Likewise.
54777         (memcmp): Do not use BP_SYM.
54778         (bcmp): Do not use BP_SYM in weak_alias.
54779         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54780         "bp-asm.h".
54781         (PARMS): Do not use macros from bp-asm.h.
54782         (DEST): Likewise.
54783         (SRC): Likewise.
54784         (LEN): Likewise.
54785         (memcpy): Likewise.  Do not use BP_SYM.
54786         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54787         "bp-asm.h".
54788         (PARMS): Do not use macros from bp-asm.h.
54789         (DEST): Likewise.
54790         (SRC): Likewise.
54791         (LEN): Likewise.
54792         (memmove): Likewise.  Do not use BP_SYM.
54793         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54794         "bp-asm.h".
54795         (PARMS): Do not use macros from bp-asm.h.
54796         (DEST): Likewise.
54797         (SRC): Likewise.
54798         (LEN): Likewise.
54799         (__mempcpy): Likewise.  Do not use BP_SYM.
54800         (mempcpy): Do not use BP_SYM in weak_alias.
54801         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54802         "bp-asm.h".
54803         (PARMS): Do not use macros from bp-asm.h.
54804         (DEST): Likewise.
54805         (LEN): Likewise.
54806         [!BZERO_P] (CHR): Likewise.
54807         (memset): Likewise.  Do not use BP_SYM.
54808         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54809         "bp-asm.h".
54810         (PARMS): Do not use macros from bp-asm.h.
54811         (STR2): Likewise.
54812         (strcmp): Do not use BP_SYM.
54813         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54814         "bp-asm.h".
54815         (PARMS): Do not use macros from bp-asm.h.
54816         (STR): Likewise.
54817         (DELIM): Likewise.
54818         [USE_AS_STRTOK_R] (SAVE): Likewise.
54819         (FUNCTION): Likewise.  Do not use BP_SYM.
54820         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54821         aliases.
54822         (strtok_r): Likewise.
54823         (__GI___strtok_r): Likewise.
54824         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54825         (PARMS): Do not use macros from bp-asm.h.
54826         (S): Likewise.
54827         (SIZE): Likewise.
54828         (__mpn_lshift): Do not use BP_SYM.
54829         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54830         (PARMS): Do not use macros from bp-asm.h.
54831         (STR): Likewise.
54832         (CHR): Likewise.
54833         (__memchr): Do not use BP_SYM.
54834         (memchr): Do not use BP_SYM in weak_alias.
54835         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54836         (PARMS): Do not use macros from bp-asm.h.
54837         (BLK2): Likewise.
54838         (LEN): Likewise.
54839         (memcmp): Do not use BP_SYM.
54840         (bcmp): Do not use BP_SYM in weak_alias.
54841         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54842         (PARMS): Do not use macros from bp-asm.h.
54843         (S1): Likewise.
54844         (SIZE): Likewise.
54845         (__mpn_mul_1): Do not use BP_SYM.
54846         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54847         "bp-asm.h".
54848         (PARMS): Do not use macros from bp-asm.h.
54849         (STR): Likewise.
54850         (CHR): Likewise.
54851         (__rawmemchr): Do not use BP_SYM.
54852         (rawmemchr): Do not use BP_SYM in weak_alias.
54853         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54854         (PARMS): Do not use macros from bp-asm.h.
54855         (S): Likewise.
54856         (SIZE): Likewise.
54857         (__mpn_rshift): Do not use BP_SYM.
54858         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54859         (PARMS): Do not use macros from bp-asm.h.
54860         (SIGMSK): Likewise.
54861         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54862         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54863         (_start): Do not use BP_SYM.
54864         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54865         (PARMS): Do not use macros from bp-asm.h.
54866         (DEST): Likewise.
54867         (SRC): Likewise.
54868         (__stpcpy): Likewise.  Do not use BP_SYM.
54869         (stpcpy): Do not use BP_SYM in weak_alias.
54870         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54871         "bp-asm.h".
54872         (PARMS): Do not use macros from bp-asm.h.
54873         (DEST): Likewise.
54874         (SRC): Likewise.
54875         (LEN): Likewise.
54876         (__stpncpy): Likewise.  Do not use BP_SYM.
54877         (stpncpy): Do not use BP_SYM in weak_alias.
54878         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54879         (PARMS): Do not use macros from bp-asm.h.
54880         (STR): Likewise.
54881         (CHR): Likewise.
54882         (strchr): Likewise.  Do not use BP_SYM.
54883         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54884         "bp-asm.h".
54885         (PARMS): Do not use macros from bp-asm.h.
54886         (STR): Likewise.
54887         (CHR): Likewise.
54888         (__strchrnul): Likewise.  Do not use BP_SYM.
54889         (strchrnul): Do not use BP_SYM in weak_alias.
54890         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54891         "bp-asm.h".
54892         (PARMS): Do not use macros from bp-asm.h.
54893         (STOP): Likewise.
54894         (strcspn): Do not use BP_SYM.
54895         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54896         "bp-asm.h".
54897         (PARMS): Do not use macros from bp-asm.h.
54898         (STR): Likewise.
54899         (STOP): Likewise.
54900         (strpbrk): Likewise.  Do not use BP_SYM.
54901         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54902         "bp-asm.h".
54903         (PARMS): Do not use macros from bp-asm.h.
54904         (STR): Likewise.
54905         (CHR): Likewise.
54906         (strrchr): Likewise.  Do not use BP_SYM.
54907         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54908         (PARMS): Do not use macros from bp-asm.h.
54909         (SKIP): Likewise.
54910         (strspn): Do not use BP_SYM.
54911         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54912         (PARMS): Do not use macros from bp-asm.h.
54913         (STR): Likewise.
54914         (DELIM): Likewise.
54915         (SAVE): Likewise.
54916         (FUNCTION): Likewise.  Do not use BP_SYM.
54917         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54918         aliases.
54919         (strtok_r): Likewise.
54920         (__GI___strtok_r): Likewise.
54921         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54922         (PARMS): Do not use macros from bp-asm.h.
54923         (S1): Likewise.
54924         (S2): Likewise.
54925         (SIZE): Likewise.
54926         (__mpn_sub_n): Do not use BP_SYM.
54927         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54928         "bp-asm.h".
54929         (PARMS): Do not use macros from bp-asm.h.
54930         (S1): Likewise.
54931         (SIZE): Likewise.
54932         (__mpn_submul_1): Do not use BP_SYM.
54933         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54934         <bp-sym.h>.
54935         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54936         and <bp-asm.h>.
54937         (PARMS): Do not use macros from bp-asm.h.
54938         (FLAGS): Likewise.
54939         (PTID): Likewise.
54940         (TLS): Likewise.
54941         (CTID): Likewise.
54942         (__clone): Do not use BP_SYM.
54943         (clone): Do not use BP_SYM in weak_alias.
54944         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54945         and <bp-asm.h>.
54946         (PARMS): Do not use macros from bp-asm.h.
54947         (LEN): Likewise.
54948         (__mmap64): Do not use BP_SYM.
54949         (mmap64): Do not use BP_SYM in weak_alias.
54950         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54951         <bp-sym.h> and <bp-asm.h>.
54952         (PARMS): Do not use macros from bp-asm.h.
54953         (__posix_fadvise64_l64): Do not use BP_SYM.
54954         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54955         (PARMS): Do not use macros from bp-asm.h.
54956         (NSOPS): Likewise.
54957         (semtimedop): Do not use BP_SYM.
54958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54959         and <bp-asm.h>.
54961 2013-02-21  Allan McRae  <allan@archlinux.org>
54963         * manual/message.texi (Charset conversion in gettext):
54964         Move @end statement to beginning of line.
54966 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54969         static.
54970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54971         Likewise.
54973         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54974         (denorm): Likewise.
54975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54978 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54980         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54981         tail-call to the resolved function if pltexit isn't needed.
54983 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54986         or Y being zero as being unlikely.
54987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54988         Likewise.
54990 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54992         * manual/nss.texi (System Databases and Name Service Switch):
54993         Remove frobnicate @pxref.
54995 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54997         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54998         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55000 2013-02-20  Petr Machata  <pmachata@redhat.com>
55002         * elf/elf.h (R_ARM_TARGET1): New macro.
55003         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55004         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55005         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55006         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55007         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55008         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55009         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55010         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55011         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55012         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55013         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55014         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55015         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55016         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55017         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55018         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55019         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55020         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55021         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55022         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55023         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55024         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55025         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55026         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55027         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55028         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55029         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55030         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55031         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55032         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55033         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55034         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55035         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55036         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55037         (R_ARM_THM_GOT_BREL12): Likewise.
55038         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55039         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55040         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55041         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55042         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55043         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55044         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55045         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55046         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55048 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55050         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55051         __attribute_used__ to __attribute__ ((unused)).
55053 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55055         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55056         powerpc mpa.c.
55057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55058         comment formatting.
55059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55061 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55063         [BZ #13550]
55064         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55065         Remove macro.
55066         (ENTER): Remove both macro definitions.
55067         (LEAVE): Likewise.
55068         (CHECK_BOUNDS_LOW): Likewise.
55069         (CHECK_BOUNDS_HIGH): Likewise.
55070         (CHECK_BOUNDS_BOTH): Likewise.
55071         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55072         (RETURN_BOUNDED_POINTER): Likewise.
55073         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55074         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55075         (POP_ERRNO_LOCATION_RETURN): Likewise.
55076         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55077         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55078         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55079         macros.
55080         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55081         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55082         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55083         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55084         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55085         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55086         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55087         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55088         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55089         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55090         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55091         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55092         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55093         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55094         removed macros.
55095         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55096         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55097         macros.
55098         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55099         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55100         * sysdeps/i386/i586/memset.S (memset): Likewise.
55101         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55102         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55103         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55104         macros.
55105         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55106         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55107         Change uses of L(2) to L(out).
55108         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55109         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55110         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55111         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55112         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55113         removed macros.
55114         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55115         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55116         macros.
55117         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55118         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55119         (RETURN): Do not use macro LEAVE.
55120         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55121         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55122         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55123         * sysdeps/i386/i686/memset.S (memset): Likewise.
55124         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55125         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55126         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55127         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55128         Likewise.
55129         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55130         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55131         L(1_2) and L(1_3) into L(1).
55132         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55133         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55134         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55135         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55136         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55137         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55138         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55139         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55140         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55141         macros.
55142         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55143         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55144         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55145         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55146         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55147         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55148         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55149         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55150         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55151         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55152         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55153         * sysdeps/i386/strspn.S (strspn): Likewise.
55154         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55155         conditional code.
55156         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55157         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55158         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55159         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55160         L(1_3) into L(1_1).
55161         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55162         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55163         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55164         macros.
55165         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55167 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55169         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55170         macro.
55172 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55174         * math/atest-exp.c (exp_mpn): Remove ROUND.
55175         * math/atest-exp2.c (exp_mpn): Likewise.
55176         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55178         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55179         * stdlib/tst-tls-atexit-lib.c: Likewise.
55180         * stdlib/tst-tls-atexit.c: Likewise.
55182 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55184         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55185         and __attribute_alloc_size__.
55187 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55189         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55190         __attribute_alloc_size__.
55191         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55192         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55194 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55196         * include/programs/xmalloc.h: New file.
55197         * catgets/gencat.c: Include it.
55198         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55199         * elf/pldd.c: Likewise.
55200         * iconv/iconv_charmap.c: Likewise.
55201         * iconv/iconvconfig.c: Likewise.
55202         * iconv/strtab.c: Likewise.
55203         * locale/programs/locale.c: Likewise.
55204         * locale/programs/localedef.h: Likewise.
55205         * locale/programs/simple-hash.c: Likewise.
55206         * nscd/nscd.h: Likewise.
55207         * nss/makedb.c: Likewise.
55208         * sysdeps/generic/ldconfig.h: Likewise.
55210 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55212         * Versions.def: Add GLIBC_2.18.
55213         * include/link.h (struct link_map): New member l_tls_dtor_count.
55214         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55215         (__call_tls_dtors): Likewise.
55216         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55217         __cxa_thread_atexit_impl.
55218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55219         Likewise.
55220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55221         Likewise.
55222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55223         Likewise.
55224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55225         Likewise.
55226         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55228         Likewise.
55229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55230         Likewise.
55231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55233         Likewise.
55234         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55235         (tests): Add test case tst-tls-atexit.
55236         (modules-names): Add shared library for tst-tls-atexit.
55237         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55238         (GLIBC_PRIVATE): Add __call_tls_dtors.
55239         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55240         for libstdc++.
55241         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55242         * stdlib/tst-tls-atexit.c: New test case.
55243         * stdlib/tst-tls-atexit-lib.c: New test case.
55245         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55247         * elf/Versions (ld): Add _dl_find_dso_for_object.
55248         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55249         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55250         (dl_open_worker): Use _dl_find_dso_for_object.
55251         * elf/dl-sym.c (do_sym): Likewise.
55252         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55254 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55256         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55257         Syntactic changes only.
55258         (_dl_runtime_profile): Do a tail-call to the resolved function.
55260 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55262         [BZ #13550]
55263         * sysdeps/x86_64/bp-asm.h: Remove file.
55264         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55265         <bp-sym.h> and <bp-asm.h>.
55266         (__clone): Do not use BP_SYM.
55267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55268         <bp-sym.h> and <bp-asm.h>.
55269         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55270         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55271         "bp-asm.h".
55272         (_setjmp): Do not use BP_SYM.
55273         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55274         "bp-asm.h".
55275         (setjmp): Do not use BP_SYM.
55276         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55277         libc_hidden_def.
55278         (mempcpy): Do not use BP_SYM in weak_alias.
55279         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55280         "bp-asm.h".
55281         (strchr): Do not use BP_SYM.
55282         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55283         "bp-asm.h".
55284         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55285         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55286         (_start): Do not use BP_SYM.
55287         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55288         "bp-asm.h".
55289         (strcat): Do not use BP_SYM.
55290         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55291         "bp-asm.h".
55292         (STRCMP): Do not use BP_SYM.
55293         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55294         "bp-asm.h".
55295         (STRCPY): Do not use BP_SYM.
55296         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55297         "bp-asm.h".
55298         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55299         "bp-asm.h".
55300         (FUNCTION): Do not use BP_SYM.
55301         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55302         weak_alias.
55303         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55305 2013-02-17  Andreas Jaeger  <aj@suse.de>
55307         * time/Versions: Sort entries.
55308         * string/Versions: Likewise.
55309         * resolv/Versions: Likewise.
55310         * posix/Versions: Likewise.
55311         * iconv/Versions: Likewise.
55312         * elf/Versions: Likewise.
55313         * wcsmbs/Versions: Likewise.
55315 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55317         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55318         loop termination condition.
55320         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55321         variable to calculate EZ.
55322         (__sqr): Likewise.
55324         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55325         the lower precision input.
55327 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55329         [BZ #13550]
55330         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55331         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55332         (run-via-rtld-prefix): Do not handle %-bp tests.
55333         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55334         (all-object-suffixes): Remove .ob.
55335         (bppfx): Remove variable.
55336         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55337         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55338         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55339         [$(build-bounded) = yes] (libtype.ob): Likewise.
55340         * Makerules (elide-routines.ob): Remove variable.
55341         (do-tests-clean): Do not handle *-bp.out.
55342         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55343         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55344         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55345         (tests): Do not include $(tests-bp.out).
55346         (xtests): Do not include $(xtests-bp.out).
55347         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55348         [$(build-bounded) = yes] ($(addprefix
55349         $(objpfx),$(binaries-bounded))): Remove rule.
55350         ($(objpfx)%-bp.out): Remove rule.
55351         * config.make.in (build-bounded): Remove variable.
55352         * crypt/Makefile [$(build-bounded) = yes]
55353         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55354         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55355         append to variable.
55356         [$(build-bounded) = yes] (install-lib): Likewise.
55357         [$(build-bounded) = yes] (generated): Likewise.
55358         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55359         Remove rule.
55360         * intl/Makefile [$(build-bounded) = yes]
55361         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55362         * math/Makefile [$(build-bounded) = yes]
55363         ($(tests:%=$(objpfx)%-bp): Likewise.
55364         * misc/Makefile [$(build-bounded) = yes]
55365         ($(objpfx)tst-tsearch-bp): Likewise.
55366         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55367         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55368         Remove dependency.
55369         * string/Makefile (o-objects.ob): Remove variable.
55370         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55371         (CFLAGS-.ob): Remove variable.
55372         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55373         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55374         both definitions of variable.
55375         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55376         (ASFLAGS-.ob): Remove variable.
55378 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55380         [BZ #13550]
55381         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55382         Remove __BOUNDED_POINTERS__ from condition.
55383         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55384         * string/bits/string2.h [!__NO_STRING_INLINES &&
55385         !__BOUNDED_POINTERS__]: Likewise.
55386         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55387         Likewise.
55388         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55389         Remove conditional code.
55390         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55391         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55392         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55393         condition.
55395         [BZ #13550]
55396         * csu/libc-start.c: Do not include <bp-sym.h>.
55397         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55398         * elf/dl-open.c: Do not include <bp-sym.h>.
55399         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55400         * math/fegetenv.c: Do not include <bp-sym.h>.
55401         (fegetenv): Do not use BP_SYM in versioned symbols.
55402         * nptl/sysdeps/pthread/bits/libc-lockP.h
55403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55404         <bp-sym.h>.
55405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55406         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55408         (__pthread_mutex_destroy): Likewise.
55409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55410         (__pthread_mutex_lock): Likewise.
55411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55412         (__pthread_mutex_trylock): Likewise.
55413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55414         (__pthread_mutex_unlock): Likewise.
55415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55416         (__pthread_mutexattr_init): Likewise.
55417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55418         (__pthread_mutexattr_destroy): Likewise.
55419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55420         (__pthread_mutexattr_settype): Likewise.
55421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55422         (__pthread_rwlock_init): Likewise.
55423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55424         (__pthread_rwlock_destroy): Likewise.
55425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55426         (__pthread_rwlock_rdlock): Likewise.
55427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55428         (__pthread_rwlock_tryrdlock): Likewise.
55429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55430         (__pthread_rwlock_wrlock): Likewise.
55431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55432         (__pthread_rwlock_trywrlock): Likewise.
55433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55434         (__pthread_rwlock_unlock): Likewise.
55435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55436         (__pthread_key_create): Likewise.
55437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55438         (__pthread_setspecific): Likewise.
55439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55440         (__pthread_getspecific): Likewise.
55441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55442         Likewise.
55443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55444         (_pthread_cleanup_push_defer): Likewise.
55445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55446         (_pthread_cleanup_pop_restore): Likewise.
55447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55448         (pthread_setcancelstate): Likewise.
55449         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55450         <bp-sym.h>.
55451         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55452         (memchr): Do not use BP_SYM in weak_alias.
55453         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55454         (fegetenv): Do not use BP_SYM in versioned symbols.
55455         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55456         (fesetenv): Do not use BP_SYM in versioned symbols.
55457         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55458         (feupdateenv): Do not use BP_SYM in versioned symbols.
55459         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55460         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55461         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55462         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55463         (open64): Do not use BP_SYM in weak_alias.
55464         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55465         (fegetenv): Do not use BP_SYM in versioned symbols.
55466         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55467         (fesetenv): Do not use BP_SYM in versioned symbols.
55468         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55469         (feupdateenv): Do not use BP_SYM in versioned symbols.
55470         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55471         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55472         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55473         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55474         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55475         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55476         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55477         <bp-sym.h>.
55478         (__libc_start_main): Do not use BP_SYM.
55480 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55483         redundant return line.
55484         (norm): Likewise.
55485         (denorm): Likewise.
55486         (dbl_mp): Likewise.
55487         (sub_magnitudes): Likewise.
55488         (__add): Likewise.
55489         (__sub): Likewise.
55490         (__mul): Likewise.
55491         (__inv): Likewise.
55492         (__dvd): Likewise.
55493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55494         (norm): Likewise.
55495         (denorm): Likewise.
55496         (dbl_mp): Likewise.
55497         (sub_magnitudes): Likewise.
55498         (__add): Likewise.
55499         (__sub): Likewise.
55500         (__mul): Likewise.
55501         (__inv): Likewise.
55502         (__dvd): Likewise.
55504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55505         instead of __mul.
55506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55507         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55508         (cc32): Likewise.
55510         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55511         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55513         of __mul for squares.
55514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55515         function
55516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55517         Likewise.
55518         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55519         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55521 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55523         [BZ #13550]
55524         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55525         code.
55526         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55527         prototype or function definition.  Rename ubp_* variables and
55528         parameters.  Remove argv definitions conditional on
55529         [__BOUNDED_POINTERS__].
55530         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55531         * elf/dl-runtime.c (_dl_fixup): Likewise.
55532         * include/set-hooks.h (RUN_HOOK): Likewise.
55533         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55534         definition.
55535         * string/strcpy.c (strcpy): Do not use __unbounded.
55536         * sysdeps/generic/frame.h (struct layout): Likewise.
55537         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55538         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55539         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55540         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55541         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55542         (__backtrace): Likewise.
55543         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55544         use __ptrvalue.
55545         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55546         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55547         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55548         Likewise.
55549         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55550         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55551         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55552         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55553         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55554         Do not use __unbounded.
55555         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55556         Rename __unboundedrlimits parameter to rlimits in prototype.
55557         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55558         Do not use __unbounded.
55559         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55560         not use __ptrvalue.
55561         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55562         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55563         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55564         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55565         __ptrvalue or __unbounded.
55566         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55567         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55568         use __unbounded.
55569         (__new_msgctl): Do not use __ptrvalue.
55570         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55571         __unbounded.
55572         (__libc_msgrcv): Do not use __ptrvalue.
55573         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55574         startup_info): Do not use __unbounded.
55575         (__libc_start_main): Likewise.  Rename ubp_* variables and
55576         parameters.  Remove argv definitions conditional on
55577         [__BOUNDED_POINTERS__].
55578         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55579         __ptrvalue.
55580         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55581         use __unbounded.
55582         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55583         or __ptrvalue.
55584         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55585         use __unbounded.
55586         (__new_shmctl): Do not use __ptrvalue.
55587         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55588         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55589         Likewise.
55590         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55592         (__libc_sigaction): Likewise.
55593         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55594         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55595         Likewise.
55596         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55598 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55600         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55602         * string/mempcpy.c: Implement by calling memcpy.
55604 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55609         evaluation.
55611         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55612         values in the mantissa.
55614         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55615         minimize writes to Z.
55616         (sub_magnitudes): Simplify code a bit.
55618 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55620         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55621         from the message.  The linker prefixes all warnings with that already.
55623 2013-02-12  Andreas Schwab  <schwab@suse.de>
55625         [BZ #15078]
55626         * posix/regexec.c (extend_buffers): Add parameter min_len.
55627         (check_matching): Pass minimum needed length.
55628         (clean_state_log_if_needed): Likewise.
55629         (get_subexp): Likewise.
55630         * posix/Makefile (tests): Add bug-regex34.
55631         (bug-regex34-ENV): Define.
55632         * posix/bug-regex34.c: New file.
55634         [BZ #11561]
55635         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55636         elements compare against the byte sequence of it, not its name.
55637         * posix/Makefile (tests): Add bug-regex35.
55638         (bug-regex35-ENV): Define.
55639         * posix/bug-regex35.c: New file.
55641 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55643         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55644         comment.
55645         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55646         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55647         (CHECK_EOL): Add undef.
55649 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55651         * bits/stdlib-bsearch.h: New file.
55652         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55653         * stdlib/stdlib.h: Likewise.
55655 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55657         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55658         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55659         declaration.
55660         * manual/search.texi (Array Search Function): Add missing const in
55661         lfind prototype.
55662         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55663         declaration to use rlim_t.
55664         (Basic Scheduling Functions): Remove erroneous const from
55665         sched_getparam prototype.  Remove erroneous * from
55666         sched_get_priority_max and sched_get_priority_min prototypes.
55667         (Resource Usage): Fix summary @comment on vtimes to refer to
55668         sys/vtimes.h rather than vtimes.h.
55669         Add missing *s in vtimes prototype.
55670         (Limits on Resources): Fix ulimit prototype to return long int.
55671         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55672         prototypes to use long int rather than double.
55673         (BSD Random): Fix initstate and setstate to use char *, not void *.
55674         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55675         prototype to make second argument 'struct aiocb64 *const[]'.
55676         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55677         (Status of AIO Operations): Remove erroneous const in aio_return and
55678         aio_return64 prototypes.
55679         (Synchronizing I/O): Fix sync prototype to return void.
55680         * manual/startup.texi (Suboptions): Remove an erroneous const in
55681         getsubopt prototype.
55682         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55683         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55684         use size_t rather than int.
55685         (Scanning All Users): Likewise for getpwent_r.
55686         (Setting Groups): Add missing const to setgroups prototype.
55687         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55688         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55689         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55690         'const void *' rather than 'const char *'.
55691         (Host Address Functions): Likewise for inet_ntop.
55692         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55693         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55694         ssize_t for return value.
55695         (Sending Data): Likewise for send, sendto, sendmsg.
55696         (Socket Option Functions): Add a missing const in setsockopt prototype.
55697         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55698         use wchar_t for the argument.
55699         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55700         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55701         take no arguments.
55702         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55703         double/float/long double for second argument.
55704         Fix return types of significand, significandf, significandl.
55705         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55706         argument in fchmod prototype.
55707         (File Owner): Use uid_t and gid_t in fchown prototype.
55708         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55709         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55710         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55711         use 'const struct dirent **' as argument types to CMP function pointer
55712         argument.
55713         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55714         (File Times): Fix summary magic @comment for struct utimbuf and utime
55715         to refer to utime.h, not time.h.
55716         * manual/string.texi (Argz Functions): Add missing const in
55717         argz_extract and argz_next prototypes.
55718         (Finding Tokens in a String): Likewise for basename.
55719         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55720         (Copying and Concatenation): Fix typo in wmemmove prototype.
55721         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55722         (Signal Stack): Remove erroneous const in sigstack prototype.
55723         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55724         prototype.
55725         (Simple Calendar Time): Likewise for stime.
55726         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55727         prototype.
55728         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55729         say sys/sysctl.h instead.
55730         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55731         and vsyslog prototypes.
55733 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55735         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55736         Remove.
55738 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55740         * misc/sys/mman.h: Fix typo in mremap comment.
55742 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55744         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55745         the '\0' terminator.
55747 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55749         [BZ #13550]
55750         * debug/segfault.c: Don't include <bp-checks.h>.
55751         * sysdeps/generic/bp-checks.h: Remove file.
55752         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55753         (__GETDENTS): Don't use CHECK_N.
55754         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55755         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55756         (__getgroups): Don't use CHECK_N.
55757         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55758         (setgroups): Don't use CHECK_N.
55759         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55760         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55761         (__libc_msgrcv): Don't use CHECK_N.
55762         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55763         (__libc_msgsnd): Don't use CHECK_N.
55764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55765         <bp-checks.h>.
55766         (__libc_pread): Don't use CHECK_N.
55767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55768         include <bp-checks.h>.
55769         (__libc_pread64): Don't use CHECK_N.
55770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55771         include <bp-checks.h>.
55772         (__libc_pwrite): Don't use CHECK_N.
55773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55774         include <bp-checks.h>.
55775         (__libc_pwrite64): Don't use CHECK_N.
55776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55777         <bp-checks.h>.
55778         (__libc_pread): Don't use CHECK_N.
55779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55780         include <bp-checks.h>.
55781         (__libc_pread64): Don't use CHECK_N.
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55783         include <bp-checks.h>.
55784         (__libc_pwrite): Don't use CHECK_N.
55785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55786         include <bp-checks.h>.
55787         (__libc_pwrite64): Don't use CHECK_N.
55788         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55789         (do_pread): Don't use CHECK_N.
55790         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55791         (do_pread64): Don't use CHECK_N.
55792         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55793         (do_pwrite): Don't use CHECK_N.
55794         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55795         (do_pwrite64): Don't use CHECK_N.
55796         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55797         (__libc_readv): Don't use CHECK_N.
55798         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55799         (semop): Don't use CHECK_N.
55800         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55801         <bp-checks.h>.
55802         (semtimedop): Don't use CHECK_N.
55803         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55804         (__libc_pread): Don't use CHECK_N.
55805         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55806         <bp-checks.h>.
55807         (__libc_pread64): Don't use CHECK_N.
55808         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55809         <bp-checks.h>.
55810         (__libc_pwrite): Don't use CHECK_N.
55811         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55812         <bp-checks.h>.
55813         (__libc_pwrite64): Don't use CHECK_N.
55814         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55815         <bp-checks.h>.
55816         (__libc_msgrcv): Don't use CHECK_N.
55817         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55818         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55819         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55820         (__libc_writev): Don't use CHECK_N.
55822 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55824         * string/strcpy.c: Removed unused variable.
55826         * Makeconfig (+sysdep-includes): Define with := rather than =.
55827         Use an existing include/ subdir of each sysdeps dir before it.
55829 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55831         * nscd/connection.c (register_traced_file): Comment function.
55832         [HAVE_INOTIFY] (union __inev): Define.
55833         [HAVE_INOTIFY] (inotify_check_files): New function.
55834         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55835         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55836         clear_db_cache.
55837         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55839 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55841         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55842         loaded if not already and that a failure is permanent.
55844 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55846         [BZ #15006]
55847         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55848         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55850 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55852         [BZ #13550]
55853         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55854         (CHECK_1_NULL_OK): Likewise.
55855         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55856         (__fxstat): Do not use CHECK_1.
55857         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55858         <bp-checks.h>.
55859         (___fxstat64): Do not use CHECK_1.
55860         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55861         <bp-checks.h>.
55862         (__fxstatat): Do not use CHECK_1.
55863         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55864         <bp-checks.h>.
55865         (__fxstatat64): Do not use CHECK_1.
55866         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55867         <bp-checks.h>.
55868         (__fxstat): Do not use CHECK_1.
55869         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55870         <bp-checks.h>.
55871         (__fxstatat): Do not use CHECK_1.
55872         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55873         <bp-checks.h>.
55874         (__getresgid): Do not use CHECK_1.
55875         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55876         <bp-checks.h>.
55877         (__getresuid): Do not use CHECK_1.
55878         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55879         <bp-checks.h>.
55880         (__lxstat): Do not use CHECK_1.
55881         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55882         <bp-checks.h>.
55883         (__old_msgctl): Do not use CHECK_1.
55884         (__new_msgctl): Likewise.
55885         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55886         <bp-checks.h>.
55887         (__new_setrlimit): Do not use CHECK_1.
55888         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55889         <bp-checks.h>.
55890         (__old_shmctl): Do not use CHECK_1.
55891         (__new_shmctl): Likewise.
55892         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55893         <bp-checks.h>.
55894         (__xstat): Do not use CHECK_1.
55895         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55896         (__lxstat): Do not use CHECK_1.
55897         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55898         <bp-checks.h>.
55899         (___lxstat64): Do not use CHECK_1.
55900         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55901         (__old_msgctl): Do not use CHECK_1.
55902         (__new_msgctl): Likewise.
55903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55904         <bp-checks.h>.
55905         (__gettimeofday): Do not use CHECK_1.
55906         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55907         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55908         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55909         <bp-checks.h>.
55910         (__gettimeofday): Do not use CHECK_1.
55911         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55912         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55913         (__new_shmctl): Do not use CHECK_1.
55914         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55915         <bp-checks.h>.
55916         (do_sigtimedwait): Do not use CHECK_1.
55917         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55918         <bp-checks.h>.
55919         (do_sigwaitinfo): Do not use CHECK_1.
55920         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55921         <bp-checks.h>.
55922         (msgctl): Do not use CHECK_1.
55923         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55924         <bp-checks.h>.
55925         (shmctl): Do not use CHECK_1.
55926         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55927         (ustat): Do not use CHECK_1.
55928         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55929         <bp-checks.h>.
55930         (__fxstat): Do not use CHECK_1.
55931         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55932         <bp-checks.h>.
55933         (__fxstatat): Do not use CHECK_1.
55934         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55935         <bp-checks.h>.
55936         (__lxstat): Do not use CHECK_1.
55937         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55938         <bp-checks.h>.
55939         (__xstat): Do not use CHECK_1.
55940         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55941         (__xstat): Do not use CHECK_1.
55942         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55943         (___xstat64): Do not use CHECK_1.
55945         [BZ #13550]
55946         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55947         definitions.
55948         (CHECK_BOUNDS_HIGH): Likewise.
55949         * string/strcpy.c: Do not include <bp-checks.h>.
55950         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55952 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55954         * nscd/nscd-client.h (__nscd_drop_map_ref):
55955         Add __attribute__ ((unused)).
55956         * nis/nss-nisplus.h (niserr2nss): Likewise.
55958         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55959         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55961         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55962         Remove inline keyword.
55963         * include/rounding-mode.h (round_away): Likewise.
55964         * libio/wfileops.c (adjust_wide_data): Likewise.
55965         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55966         (__m128i_strloadu_tolower): Likewise.
55967         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55968         (__m128i_strloadu_tolower): Likewise.
55969         * time/mktime.c (ydhms_diff): Likewise.
55970         * locale/elem-hash.h (elem_hash): Likewise.
55971         * locale/setlocale.c (setdata): Likewise.
55972         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55973         (re_string_wchar_at): Likewise.
55974         (bitset_not, bitset_merge, bitset_mask): Likewise.
55975         [!(__GNUC__ > 3)] (inline): Remove macro.
55976         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55977         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55978         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55979         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55980         * string/memcmp.c (memcmp_bytes): Likewise.
55981         * locale/programs/locarchive.c (compute_hashval): Likewise.
55982         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55983         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55984         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55985         * nss/getent.c (print_rpc, print_protocols): Likewise.
55986         (print_passwd, print_group, print_aliases): Likewise.
55987         * nis/nss-nisplus.h (niserr2nss): Likewise.
55988         * nscd/connections.c (restart_p): Likewise.
55989         Change return type to bool.
55991 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55993         * Makeconfig (all-Depend-files): Add existing
55994         $(sorted-subdirs:=/Depend) files.
55995         (all-subdirs): Remove nss.
55996         * sysdeps/unix/inet/Subdirs: Add it here instead.
55997         * hesiod/Depend: New file.
55999         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56000         instead of calling alloca.
56002         * io/lseek.c (__lseek): Rename to __libc_lseek.
56003         Define __lseek as an alias.
56005         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56007 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56009         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56010         else clause and remove check for non-standard endianness.
56012 2013-02-04  David S. Miller  <davem@davemloft.net>
56014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56016 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56018         [BZ #13550]
56019         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56020         (__ubp_memchr): Remove prototype.
56021         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56022         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56023         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56024         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56025         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56026         Remove alias.
56027         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56028         (__ubp_memchr): Likewise.
56029         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56030         (__ubp_memchr): Likewise.
56031         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56032         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56033         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56034         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56035         CHECK_STRING.
56036         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56037         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56038         (__getcwd): Do not use CHECK_STRING.
56039         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56040         <bp-checks.h>.
56041         (__real_chown): Do not use CHECK_STRING.
56042         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56043         <bp-checks.h>.
56044         (fchownat): Do not use CHECK_STRING.
56045         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56046         CHECK_STRING.
56047         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56048         <bp-checks.h>.
56049         (__lchown): Do not use CHECK_STRING.
56050         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56051         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56052         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56053         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56055         include <bp-checks.h>.
56056         (truncate64): Do not use CHECK_STRING.
56057         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56058         <bp-checks.h>.
56059         (__real_chown): Do not use CHECK_STRING.
56060         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56061         <bp-checks.h>.
56062         (__lchown): Do not use CHECK_STRING.
56063         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56064         <bp-checks.h>.
56065         (__chown): Do not use CHECK_STRING.
56066         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56067         <bp-checks.h>.
56068         (truncate64): Do not use CHECK_STRING.
56069         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56070         Likewise.
56071         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56072         (__xmknod): Do not use CHECK_STRING.
56073         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56074         <bp-checks.h>.
56075         (__xmknodat): Do not use CHECK_STRING.
56076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56077         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56079 2013-02-04  Andreas Schwab  <schwab@suse.de>
56081         [BZ #14142]
56082         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56083         * include/netdb.h: Likewise for h_errno.
56084         * elf/tst-stackguard1.c: Include <tls.h>.
56086 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56088         * elf/link.h (struct link_map): Extend the l_addr comment.
56089         * include/link.h (struct link_map): Likewise.
56091 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56093         [BZ #13550]
56094         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56095         (BOUNDED_1): Remove macro.
56096         * debug/backtrace.c: Don't include <bp-checks.h>.
56097         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56098         (__backtrace): Likewise.
56099         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56100         <bp-checks.h>.
56101         (__backtrace): Don't use BOUNDED_1.
56102         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56103         <bp-checks.h>.
56104         (__backtrace): Don't use BOUNDED_1.
56105         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56106         (__backtrace): Don't use BOUNDED_1.
56107         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56108         (shmat): Don't use BOUNDED_N.
56110 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56112         [BZ #13550]
56113         * sysdeps/generic/bp-start.h: Remove file.
56114         * csu/libc-start.c: Don't include <bp-start.h>.
56115         (LIBC_START_MAIN): Set up __environ directly instead of using
56116         INIT_ARGV_and_ENVIRON.
56117         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56118         <bp-start.h>.
56120         [BZ #13550]
56121         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56122         definitions.
56123         (CHECK_FCNTL): Likewise.
56124         (CHECK_N_PAGES): Likewise.
56126         [BZ #13550]
56127         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56128         definitions.
56129         (CHECK_SIGSET_NULL_OK): Likewise.
56130         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56131         <bp-checks.h>.
56132         (sigpending): Don't use CHECK_SIGSET.
56133         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56134         <bp-checks.h>.
56135         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56136         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56137         <bp-checks.h>.
56138         (do_sigsuspend): Don't use CHECK_SIGSET.
56139         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56140         use CHECK_SIGSET.
56141         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56142         (do_sigwait): Don't use CHECK_SIGSET.
56143         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56144         use CHECK_SIGSET.
56145         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56146         include <bp-checks.h>.
56147         (sigpending): Don't use CHECK_SIGSET.
56148         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56149         include <bp-checks.h>.
56150         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56151         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56152         <bp-checks.h>.
56153         (sigpending): Don't use CHECK_SIGSET.
56154         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56155         <bp-checks.h>.
56156         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56158         [BZ #13550]
56159         * sysdeps/generic/bp-semctl.h: Remove file.
56160         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56161         <bp-checks.h> and <bp-semctl.h>.
56162         (__old_semctl): Don't use CHECK_SEMCTL.
56163         (__new_semctl): Likewise.
56164         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56165         and <bp-semctl.h>.
56166         (__old_semctl): Don't use CHECK_SEMCTL.
56167         (__new_semctl): Likewise.
56168         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56169         <bp-checks.h> and <bp-semctl.h>.
56170         (__old_semctl): Don't use CHECK_SEMCTL.
56171         (__new_semctl): Likewise.
56172         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56173         <bp-checks.h> and <bp-semctl.h>.
56174         (semctl): Don't use CHECK_SEMCTL.
56176         [BZ #13550]
56177         * Makerules (elide-bp-thunks): Remove variable.
56178         (elide-routines.oS): Don't use $(elide-bp-thunks).
56179         (elide-routines.os): Likewise.
56180         (elide-routines.o): Likewise.
56181         (elide-routines.op): Likewise.
56182         (elide-routines.og): Likewise.
56183         (objects): Don't use $(bp-thunks).
56184         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56185         include.
56186         (common-generated): Do not add s-proto-bp.d.
56187         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56188         (int): Likewise.
56189         (typ): Likewise.
56190         Do not generate makefile rules for bounded-pointer thunks.
56191         * sysdeps/generic/bp-thunks.h: Remove file.
56192         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56193         * sysdeps/unix/s-proto-bp.S: Likewise.
56195         [BZ #15062]
56196         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56197         parts of result separately when argument is not close to line from
56198         -i to i and one part of argument is small.
56199         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56200         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56201         * math/libm-test.inc (cacos_test): Add more tests.
56202         (casin_test): Likewise.
56203         (casinh_test): Likewise.
56204         * sysdeps/i386/fpu/libm-test-ulps: Update.
56205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56207 2013-01-31  David S. Miller  <davem@davemloft.net>
56209         * po/de.po: Update from translation team.
56211 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56213         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56215 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56217         * configure.in (_AC_PROG_CC_C89): New definition.
56218         * configure: Regenerate.
56220         * configure.in (AC_PROG_CPP): New definition.
56221         * configure: Regenerate.
56223 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56225         * debug/tst-backtrace.h: New file.
56226         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56227         (ret): Remove variable.
56228         (x): Likewise.
56229         (FAIL): Remove macro.
56230         (NO_INLINE): Likewise.
56231         (fn1): Use match function instead of strstr.
56232         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56233         (ret): Remove variable.
56234         (x): Likewise.
56235         (FAIL): Remove macro.
56236         (NO_INLINE): Likewise.
56237         (fn): Use match function instead of strstr.
56238         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56239         (ret): Remove variable.
56240         (x): Likewise.
56241         (FAIL): Remove macro.
56242         (NO_INLINE): Likewise.
56243         (handle_signal): Use match function instead of strstr.
56244         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56245         (ret): Remove variable.
56246         (x): Likewise.
56247         (FAIL): Remove macro.
56248         (NO_INLINE): Likewise.
56249         (handle_signal): Use match function instead of strstr.
56251 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56253         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56255 2013-01-23  David S. Miller  <davem@davemloft.net>
56257         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56258         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56259         argument of CAS if possible.
56260         * sysdeps/sparc/sparc64/bits/atomic.h
56261         (__arch_compare_and_exchange_val_32_acq): Likewise.
56262         (__arch_compare_and_exchange_val_64_acq): Likewise.
56264 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56266         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56267         * sysdeps/posix/ulimit.c: ... this.
56268         Include <limits.h>.
56269         * sysdeps/unix/bsd/ulimit.c: Remove file.
56271 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56273         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56274         (LDFLAGS-tst-array5): Likewise.
56276 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56278         [BZ #15036]
56279         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56280         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56281         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56282         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56284 2013-01-21  David S. Miller  <davem@davemloft.net>
56286         * sysdeps/sparc/backtrace.c: New file.
56287         * sysdeps/sparc/sparc32/backtrace.h: New file.
56288         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56289         * sysdeps/sparc/sparc64/backtrace.h: New file.
56290         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56291         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56292         -funwind-tables.
56294 2013-01-21  Andreas Schwab  <schwab@suse.de>
56296         [BZ #15020]
56297         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56298         closed its stdout.
56300 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56303         "mpa2.h".
56304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56306 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56307             Mark Mitchell  <mark@codesourcery.com>
56308             Tom de Vries  <tom@codesourcery.com>
56309             Paul Pluzhnikov  <ppluzhnikov@google.com>
56311         * debug/tst-backtrace2.c: New file.
56312         * debug/tst-backtrace3.c: Likewise.
56313         * debug/tst-backtrace4.c: Likewise.
56314         * debug/tst-backtrace5.c: Likewise.
56315         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56316         (CFLAGS-tst-backtrace3.c): Likewise.
56317         (CFLAGS-tst-backtrace4.c): Likewise.
56318         (CFLAGS-tst-backtrace5.c): Likewise.
56319         (LDFLAGS-tst-backtrace2): Likewise.
56320         (LDFLAGS-tst-backtrace3): Likewise.
56321         (LDFLAGS-tst-backtrace4): Likewise.
56322         (LDFLAGS-tst-backtrace5): Likewise.
56323         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56324         tst-backtrace4 and tst-backtrace5.
56326 2013-01-18  Anton Blanchard  <anton@samba.org>
56327             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56329         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56330         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56331         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56332         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56334         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56335         "+r" and remove output regs list as redundant.  Add explicit inline
56336         asm to specify register of return val to work around compiler codegen
56337         bug.  Remove (int) cast on return value.  Add return type parameter to
56338         use in macro so that this macro does not truncate return value for
56339         64-bit values.
56340         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56341         pass to INTERNAL_VSYSCALL_NCS.
56342         (INLINE_VSYSCALL): Add 'long int' as return type to
56343         INTERNAL_VSYSCALL_NCS macro invocation.
56344         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56345         INTERNAL_VSYSCALL_NCS macro invocation.
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56348 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56350         [BZ #14496]
56351         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56352         Fix application of SIMD FP exception mask.
56354         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56355         mp_no from a power of two.
56356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56357         __mpexp_twomm1.  Use __pow_mp.
56359         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56360         multiplication.
56362 2013-01-17  David S. Miller  <davem@davemloft.net>
56364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56366 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56368         [BZ #15023]
56369         * include/complex.h: Condition contents on [!_COMPLEX_H].
56370         (__kernel_casinhf): New prototype.
56371         (__kernel_casinh): Likewise.
56372         (__kernel_casinhl): Likewise.
56373         * math/Makefile (libm_calls): Add k_casinh.
56374         * math/k_casinh.c: New file.
56375         * math/k_casinhf.c: Likewise.
56376         * math/k_casinhl.c: Likewise.
56377         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56378         finite nonzero arguments.
56379         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56380         finite nonzero arguments.
56381         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56382         finite nonzero arguments.
56383         * math/s_casinh.c: Do not include <float.h>.
56384         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56385         * math/s_casinhf.c: Do not include <float.h>.
56386         (__casinhf): Move code for finite nonzero arguments to
56387         k_casinhf.c.
56388         * math/s_casinhl.c: Do not include <float.h>.
56389         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56390         redefine.
56391         (__casinhl): Move code for finite nonzero arguments to
56392         k_casinhl.c.
56393         * math/libm-test.inc (cacos_test): Add more tests.
56394         * sysdeps/i386/fpu/libm-test-ulps: Update.
56395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56397 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56399         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56400         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56401         [!HAVE_MREMAP]: Remove [defined linux] case.
56402         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56404 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56406         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56408 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56410         * elf/elf.h (R_386_SIZE32): New relocation.
56411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56412         R_386_SIZE32.
56413         (elf_machine_rela): Likewise.
56414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56415         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56417 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56419         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56420         (FP_FAST_FMA): Do not define.
56421         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56422         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56423         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56424         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56425         !_SOFT_FLOAT]: Likewise.
56426         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56427         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56428         value.
56429         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56430         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56431         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56432         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56433         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56434         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56435         file.
56437 2013-01-16  Andreas Schwab  <schwab@suse.de>
56439         [BZ #14327]
56440         * include/stdlib.h (__mktemp): Add declaration.
56441         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56442         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56444 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56446         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56447         definitions.
56448         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56449         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56450         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56451         definitions here.
56452         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56453         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56454         definitions.
56455         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56456         and ONE.
56457         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56458         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56459         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56460         definitions.
56461         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56462         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56463         definitions.
56464         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56466         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56468 2013-01-15  David S. Miller  <davem@davemloft.net>
56470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56471         trunc{,f} to libm-sysdep_routes.
56472         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56474         file.
56475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56477         file.
56478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56479         file.
56480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56482         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56483         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56484         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56485         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56486         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56487         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56490         nearbyint{,f} to libm-sysdep_routes.
56491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56493         New file.
56494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56495         file.
56496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56497         New file.
56498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56499         file.
56500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56502         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56503         file.
56504         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56505         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56506         file.
56507         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56508         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56509         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56511         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56512         libc_feholdexcept and libc_fesetenv.
56514 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56516         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56518 2013-01-14  David S. Miller  <davem@davemloft.net>
56520         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56521         (SPARC_ASM_VIS2_IFUNC): Likewise.
56522         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56524         use of 'siam' instruction.
56525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56526         Likewise.
56527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56528         Likewise.
56529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56530         Likewise.
56531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56534         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56536         file.
56537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56538         file.
56539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56540         file.
56541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56542         file.
56543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56548         new VIS2 routines.
56549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56552         Likewise.
56553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56558         routines to libm-sysdep_routines.
56559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56562         fdim/fdimf to libm-sysdep_routines.
56563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56564         file.
56565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56567         file.
56568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56571         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56572         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56573         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56574         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56576 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56579         to optimize copies.
56581         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56586         local variable MPTWO.
56587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56588         Likewise.
56590 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56592         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56593         GLOB_NOESCAPE.
56595 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56597         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56599 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56601         * manual/pattern.texi (glob_t): Document gl_flags.
56602         (glob64_t): Likewise.
56604 2013-01-11  David S. Miller  <davem@davemloft.net>
56606         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56607         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56608         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56609         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56610         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56611         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56612         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56613         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56614         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56615         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56616         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56617         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56618         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56620         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56621         sparc V9 rather than using V8 code.
56622         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56623         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56625         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56626         Move to...
56627         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56628         Here.
56630 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56632         [BZ #14941]
56633         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56634         not in the main loop.
56635         * configure: Regenerated.
56637 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56639         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56640         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56641         to just #else.
56642         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56643         [!__GLIBC_HAVE_LONG_LONG] case.
56644         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56645         condition to just #else.
56646         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56647         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56648         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56649         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56650         unconditional.
56651         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56652         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56653         #elif condition to just #else.
56654         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56655         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56656         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56657         #elif condition to just #else.
56659 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56661         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56662         (EF_MIPS_ARCH_64): Fix value.
56663         (EF_MIPS_ARCH_32R2): New.
56664         (EF_MIPS_ARCH_64R2): New.
56666 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56668         * Makeconfig (+link-pie-before-libc): New.
56669         (+link-pie-after-libc): Likewise.
56670         (+link-pie-tests): Likewise.
56671         (+link-pie): Rewritten.
56672         (link-before-libc): Remove $(config-LDFLAGS).
56673         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56674         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56675         (config-LDFLAGS): Renamed to ...
56676         (rtld-LDFLAGS): This.
56677         (rtld-tests-LDFLAGS): New macro.
56678         (link-libc-rpath-link): Likewise.
56679         (link-libc-tests-rpath-link): Likewise.
56680         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56681         (link-libc): Prepand $(link-libc-rpath-link).
56682         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56683         (test-program-prefix): New macro.
56684         (test-via-rtld-prefix): Likewise.
56685         (test-program-cmd): Likewise.
56686         (host-test-program-cmd): Likewise.
56687         * Makefile ($(common-objpfx)testrun.sh): Replace
56688         $(run-program-prefix) with $(test-program-prefix).
56689         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56690         $(rtld-LDFLAGS).
56691         ($(common-objpfx)shlib.lds): Likewise.
56692         (build-module-helper): Likewise.
56693         ($(common-objpfx)format.lds): Likewise.
56694         * Rules (binaries-pie-tests): New.
56695         (binaries-pie-notests): Likewise.
56696         (binaries-pie): Rewritten.
56697         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56698         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56699         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56700         (make-test-out): Replace $(host-built-program-cmd) with
56701         $(host-test-program-cmd).
56702         * config.make.in (build-hardcoded-path-in-tests): New variable.
56703         * configure.in (--enable-hardcoded-path-in-tests): New configure
56704         option.
56705         (hardcoded_path_in_tests): New AC_SUBST.
56706         * configure: Regenerated.
56707         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56708         $(built-program-cmd) with $(test-program-cmd).
56709         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56710         (test_program_cmd): This.
56711         * elf/Makefile ($(objpfx)order.out): Run test with
56712         $(test-program-prefix).
56713         ($(objpfx)order2.out): Likewise.
56714         ($(objpfx)tst-initorder.out): Likewise.
56715         ($(objpfx)tst-initorder2.out): Likewise.
56716         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56717         $(test-program-cmd).
56718         ($(objpfx)tst-array1-static.out): Likewise.
56719         ($(objpfx)tst-array2.out): Likewise.
56720         ($(objpfx)tst-array3.out): Likewise.
56721         ($(objpfx)tst-array4.out): Likewise.
56722         ($(objpfx)tst-array5.out): Likewise.
56723         ($(objpfx)tst-array5-static.out): Likewise.
56724         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56725         $(test-program-cmd).
56726         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56727         $(run-program-prefix) with $(test-program-prefix).
56728         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56729         (test_program_prefix): This.
56730         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56731         $(run-program-prefix) with $(test-program-prefix).
56732         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56733         (test_program_prefix): This.
56734         * iconvdata/tst-tables.sh: Likewise.
56735         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56736         $(run-program-prefix) with $(test-program-prefix).
56737         ($(objpfx)tst-translit.out): Likewise.
56738         ($(objpfx)tst-gettext2.out): Likewise.
56739         ($(objpfx)tst-gettext4.out): Likewise.
56740         ($(objpfx)tst-gettext6.out): Likewise.
56741         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56742         (test_program_prefix): This.
56743         * intl/tst-gettext2.sh: Likewise.
56744         * intl/tst-gettext4.sh  Likewise.
56745         * intl/tst-gettext6.sh: Likewise.
56746         * intl/tst-translit.sh: Likewise.
56747         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56748         with $(test-program-cmd).
56749         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56750         $(run-program-prefix) with $(test-program-prefix).
56751         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56752         (test_program_prefix): This.
56753         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56754         $(run-program-prefix) with $(test-program-prefix).
56755         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56756         (test_program_prefix): This.
56757         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56758         * posix/Makefile ($(objpfx)globtest.out): Replace
56759         $(run-via-rtld-prefix) and $(test-wrapper) with
56760         $(test-program-prefix) and $(test-via-rtld-prefix).
56761         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56762         $(test-program-prefix).
56763         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56764         $(host-test-program-cmd).
56765         (tst-spawn-ARGS): Likewise.
56766         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56767         $(test-program-prefix).
56768         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56769         (test_via_rtld_prefix): This.
56770         (test_wrapper): Renamed to ...
56771         (test_program_prefix): This.
56772         (run_program_prefix): Replaced by test_program_prefix.
56773         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56774         (test_program_prefix): This.
56775         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56776         with $(host-test-program-cmd).
56777         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56778         $(run-program-prefix) with $(test-program-prefix).
56779         ($(objpfx)tst-printf.out): Likewise.
56780         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56781         $(test-program-cmd).
56782         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56783         (test_program_prefix): This.
56784         * stdio-common/tst-unbputc.sh: Likewise.
56785         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56786         $(run-program-prefix) with $(test-program-prefix).
56787         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56788         (test_program_prefix): This.
56789         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56790         $(built-program-cmd) with $(test-program-cmd).
56792 2013-01-11  Andreas Jaeger  <aj@suse.de>
56794         [BZ #15003]
56795         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56796         value. Sync with Linux 3.7.
56798 2013-01-10  David S. Miller  <davem@davemloft.net>
56800         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56801         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56802         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56804 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56806         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56807         never set.
56808         * configure: Regenerated.
56810 2013-01-10  David S. Miller  <davem@davemloft.net>
56812         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56813         sparc V9 rather than using V8 code.
56814         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56815         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56817 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56819         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56820         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56821         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56822         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56823         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56824         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56825         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56826         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56827         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56828         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56829         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56830         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56831         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56832         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56833         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56834         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56835         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56836         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56837         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56838         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56839         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56840         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56841         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56842         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56843         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56844         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56845         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56847 2013-01-10  David S. Miller  <davem@davemloft.net>
56849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56851 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56853         * posix/Makefile (tests-static): New variable.
56854         (tests): Add $(tests-static).
56855         (tst-exec-static-ARGS): New variable.
56856         (tst-spawn-static-ARGS): Likewise.
56857         * posix/tst-exec-static.c: New file.
56858         * posix/tst-spawn-static.c: Likewise.
56859         * posix/tst-exec.c: Support run directly.
56860         * posix/tst-spawn.c: Likewise.
56862 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56864         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56865         long.
56866         * math/bits/mathcalls.h (llrint): Likewise.
56867         (llround): Likewise.
56868         * stdlib/stdlib.h (struct drand48_data): Likewise.
56869         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56870         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56871         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56872         Likewise.
56873         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56874         Likewise.
56875         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56876         (elf_greg_t): Likewise.
56877         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56878         (__jmp_buf): Likewise.
56879         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56880         definitions.
56881         (llrint): Likewise, for all definitions.
56882         (llrintl): Likewise.
56884         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56885         Remove [__GNUC__] condition.
56886         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56887         condition to just [__USE_ISOC99].
56888         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56890 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56892         [BZ #14200]
56893         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56894         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56895         defined.
56896         (_POSIX_V6_ILP32_OFF32): Likewise.
56897         (_XBS5_ILP32_OFF32): Likewise.
56898         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56899         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56901 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56903         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56905         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56906         doubles __mpexp_twomm1.  Adjust usage.
56907         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56908         Remove.
56910 2013-01-10  Andreas Schwab  <schwab@suse.de>
56912         [BZ #14964]
56913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56914         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56916 2013-01-09  David S. Miller  <davem@davemloft.net>
56918         [BZ #15003]
56919         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56920         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56921         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56922         (TCP_FASTOPEN): Define.
56923         (tcp_repair_opt): New structure.
56924         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56925         enum values.
56926         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56927         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56928         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56929         (tcp_cookie_transactions): New structure.
56931 2013-01-09  Anton Blanchard  <anton@samba.org>
56933         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56934         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56935         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56938 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56940         * include/features.h (__USE_ANSI): Remove.
56942 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56944         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56946         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56948 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56950         * sysdeps/s390/fpu/libm-test-ulps: Update.
56952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56954         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56955         (__acr): Likewise.
56956         (__cpy): Likewise.
56957         (norm): Likewise.
56958         (denorm): Likewise.
56959         (__mp_dbl): Likewise.
56960         (__dbl_mp): Likewise.
56961         (add_magnitudes): Likewise.
56962         (sub_magnitudes): Likewise.
56963         (__add): Likewise.
56964         (__sub): Likewise.
56965         (__mul): Likewise.
56966         (__inv): Likewise.
56967         (__dvd): Likewise.
56968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56969         (__acr): Likewise.
56970         (__cpy): Likewise.
56971         (norm): Likewise.
56972         (denorm): Likewise.
56973         (__mp_dbl): Likewise.
56974         (__dbl_mp): Likewise.
56975         (add_magnitudes): Likewise.
56976         (sub_magnitudes): Likewise.
56977         (__add): Likewise.
56978         (__sub): Likewise.
56979         (__mul): Likewise.
56980         (__inv): Likewise.
56981         (__dvd): Likewise.
56982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56983         (__acr): Likewise.
56984         (__cpy): Likewise.
56985         (norm): Likewise.
56986         (denorm): Likewise.
56987         (__mp_dbl): Likewise.
56988         (__dbl_mp): Likewise.
56989         (add_magnitudes): Likewise.
56990         (sub_magnitudes): Likewise.
56991         (__add): Likewise.
56992         (__sub): Likewise.
56993         (__mul): Likewise.
56994         (__inv): Likewise.
56995         (__dvd): Likewise.
56997 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56999         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57000         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57001         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57002         2 && __USE_EXTERN_INLINES]: Likewise.
57004 2013-01-08  Andreas Jaeger  <aj@suse.de>
57006         [BZ# 14985]
57007         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57008         Remove.
57009         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57010         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57012 2013-01-07  Anton Blanchard  <anton@samba.org>
57014         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57015         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57016         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57017         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57018         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57019         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57020         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57021         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57023         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57024         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57025         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57026         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57028         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57029         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57030         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57031         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57032         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57033         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57034         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57035         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57037         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57038         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57039         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57040         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57041         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57043         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57044         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57046         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57047         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57048         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57049         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57050         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57051         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57052         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57053         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57056         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57058 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57060         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57061         (__MALLOC_PMT): Likewise.
57062         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57063         [__GNUC__], only on [_LIBC].
57064         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57065         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57066         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57067         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57068         forward declaration.
57069         (realloc_hook_ini): Likewise.
57070         (memalign_hook_ini): Likewise.
57071         (__libc_memalign): Do not use __MALLOC_PMT in variable
57072         declaration.
57073         (__libc_valloc): Likewise.
57074         (__libc_pvalloc): Likewise.
57075         (__libc_calloc): Likewise.
57076         (__posix_memalign): Likewise.
57078         [BZ #14996]
57079         * math/s_casinh.c: Include <float.h>.
57080         (__casinh): Do not do computation with squaring and square root
57081         for large arguments.
57082         * math/s_casinhf.c: Include <float.h>.
57083         (__casinhf): Do not do computation with squaring and square root
57084         for large arguments.
57085         * math/s_casinhl.c: Include <float.h>.
57086         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57087         (__casinhl): Do not do computation with squaring and square root
57088         for large arguments.
57089         * math/libm-test.inc (casin_test): Add more tests.
57090         (casinh_test): Likewise.
57091         * sysdeps/i386/fpu/libm-test-ulps: Update.
57092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57094 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57096         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57097         (__x86_64_raw_data_cache_size): Likewise.
57098         (__x86_64_data_cache_size_half): Likewise.
57099         (__x86_64_raw_data_cache_size_half): Likewise.
57100         (__x86_64_shared_cache_size): Likewise.
57101         (__x86_64_raw_shared_cache_size): Likewise.
57102         (__x86_64_shared_cache_size_half): Likewise.
57103         (__x86_64_raw_shared_cache_size_half): Likewise.
57104         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57105         to ...
57106         (__x86_data_cache_size): This.
57107         (__x86_64_raw_data_cache_size): Renamed to ...
57108         (__x86_raw_data_cache_size): This.
57109         (__x86_64_data_cache_size_half): Renamed to ...
57110         (__x86_data_cache_size_half): This.
57111         (__x86_64_raw_data_cache_size_half): Renamed to ...
57112         (__x86_raw_data_cache_size_half): This.
57113         (__x86_64_shared_cache_size): Renamed to ...
57114         (__x86_shared_cache_size): This.
57115         (__x86_64_raw_shared_cache_size): Renamed to ...
57116         (__x86_raw_shared_cache_size): This.
57117         (__x86_64_shared_cache_size_half): Renamed to ...
57118         (__x86_shared_cache_size_half): This.
57119         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57120         (__x86_raw_shared_cache_size_half): This.
57121         * sysdeps/x86_64/memcpy.S: Updated.
57122         * sysdeps/x86_64/memset.S: Likewise.
57123         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57124         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57125         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57127 2013-01-04  David S. Miller  <davem@davemloft.net>
57129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57131 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57133         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57134         1 to avoid redefinition warning.
57135         (__USE_GNU): Don't define.
57136         (init_signaling_nan): Protoize.
57138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57140 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57142         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57144         (__cpymn): Likewise.
57145         (norm): Remove commented code.
57146         (denorm): Likewise.
57147         (__mp_dbl): Likewise.
57148         (__inv): Likewise.
57149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57150         (__cpymn): Likewise.
57151         (norm): Remove commented code.
57152         (denorm): Likewise.
57153         (__mp_dbl): Likewise.
57154         (__inv): Likewise.
57156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57157         mp_no value for 1.0 and 2.0.
57158         (norm): Use RADIXI instead of radixi.d.
57159         (denorm): Likewise.
57160         (__mul): Use 0.0 instead of zero.d.
57161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57162         mp_no value for 1.0 and 2.0.
57163         (norm): Use RADIXI instead of radixi.d.
57164         (denorm): Likewise.
57165         (__mul): Use 0.0 instead of zero.d.
57167 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57169         [BZ #14994]
57170         * math/s_casinh.c (__casinh): Reduce finite argument to first
57171         quadrant then set signs of results at the end.
57172         * math/s_casinhf.c (__casinhf): Likewise.
57173         * math/s_casinhl.c (__casinhl): Likewise.
57174         * math/libm-test.inc (casin_test): Add more tests.
57175         (casinh_test): Likewise.
57176         * sysdeps/i386/fpu/libm-test-ulps: Update.
57177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57179 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57181         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57183         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57185         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57186         declarations.
57187         (denorm): Likewise.
57188         (__mp_dbl): Likewise.
57189         (__inv): Likewise.
57191         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57192         and adjust the header comment.
57194         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57195         variable name from declaration.
57197 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57200         Initialize COMMON_CPUID_INDEX_7 element.
57201         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57202         (CPUID_RTM): Likewise.
57203         (HAS_RTM): Likewise.
57204         (COMMON_CPUID_INDEX_7): New enum.
57206 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57208         [BZ #14981]
57209         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57210         size is zero, record memory as freed.
57212 2013-01-03  Andreas Jaeger  <aj@suse.de>
57214         * po/ia.po: Add new Interlingua translation.
57216 2012-01-03  Allan McRae  <allan@archlinux.org>
57218         * locale/programs/localedef.c: Fix description of '--posix' flag.
57220 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57222         * NEWS: Update dates in second copyright notice.
57223         * README: Update copyright dates in example.
57224         * manual/libc.texinfo: Update copyright dates.
57225         * scripts/test-installation.pl: Update copyright date in --version
57226         output.
57228         * hurd/ctty-input.c: Fix copyright notice formatting.
57229         * hurd/ctty-output.c: Likewise.
57230         * hurd/dtable.c: Likewise.
57231         * hurd/hurd-raise.c: Likewise.
57232         * hurd/hurdprio.c: Likewise.
57233         * hurd/msgportdemux.c: Likewise.
57234         * misc/sys/file.h: Likewise.
57235         * misc/sys/ioctl.h: Likewise.
57236         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57237         * sysdeps/mach/hurd/chdir.c: Likewise.
57238         * sysdeps/mach/hurd/fchdir.c: Likewise.
57239         * sysdeps/mach/hurd/rename.c: Likewise.
57240         * sysdeps/mach/hurd/rmdir.c: Likewise.
57241         * sysdeps/mach/hurd/seekdir.c: Likewise.
57242         * sysdeps/mach/hurd/setsid.c: Likewise.
57243         * sysdeps/posix/wait3.c: Likewise.
57245         * All files with FSF copyright notices: Update copyright dates
57246         using scripts/update-copyrights.
57247         * intl/plural.c: Regenerated.
57248         * locale/programs/charmap-kw.h: Likewise.
57249         * locale/programs/locfile-kw.h: Likewise.
57251 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57253         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57254         four values.
57256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57257         calculation loop and add branch prediction.
57259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57260         check access beyond bounds of m1np.
57262         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57263         MPTWO.
57264         (__inv): Remove local variable MPTWO to use the global
57265         constant.
57266         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57267         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57268         variable MPTWO.
57269         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57270         MP3HALFS static const.
57272 2013-01-01  David S. Miller  <davem@davemloft.net>
57274         * po/ca.po: Update from translation team.
57276 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57278         * scripts/update-copyrights: New file.
57279         * Makeconfig: Reformat copyright notice.
57280         * ctype/ctype.h: Likewise.
57281         * debug/swprintf_chk.c: Likewise.
57282         * elf/dl-cache.c: Likewise.
57283         * elf/dl-debug.c: Likewise.
57284         * elf/dl-object.c: Likewise.
57285         * grp/initgroups.c: Likewise.
57286         * hurd/Makefile: Likewise.
57287         * hurd/hurd/signal.h: Likewise.
57288         * hurd/hurdfault.c: Likewise.
57289         * hurd/hurdioctl.c: Likewise.
57290         * hurd/hurdlookup.c: Likewise.
57291         * hurd/intr-msg.c: Likewise.
57292         * iconv/gconv_open.c: Likewise.
57293         * libio/swprintf.c: Likewise.
57294         * locale/lc-ctype.c: Likewise.
57295         * locale/nl_langinfo.c: Likewise.
57296         * mach/Machrules: Likewise.
57297         * mach/Makefile: Likewise.
57298         * malloc/obstack.h: Likewise.
57299         * manual/Makefile: Likewise.
57300         * manual/tsort.awk: Likewise.
57301         * misc/bits/stab.def: Likewise.
57302         * nis/nis_print_group_entry.c: Likewise.
57303         * nis/nis_table.c: Likewise.
57304         * nis/nss_compat/compat-pwd.c: Likewise.
57305         * nis/nss_compat/compat-spwd.c: Likewise.
57306         * po/Makefile: Likewise.
57307         * posix/fnmatch.c: Likewise.
57308         * posix/regex.h: Likewise.
57309         * resolv/Makefile: Likewise.
57310         * resolv/nss_dns/dns-network.c: Likewise.
57311         * resolv/res_hconf.c: Likewise.
57312         * scripts/gen-sorted.awk: Likewise.
57313         * soft-fp/soft-fp.h: Likewise.
57314         * stdio-common/printf.h: Likewise.
57315         * stdlib/monetary.h: Likewise.
57316         * stdlib/random.c: Likewise.
57317         * stdlib/random_r.c: Likewise.
57318         * sysdeps/generic/Makefile: Likewise.
57319         * sysdeps/gnu/Makefile: Likewise.
57320         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57322         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57324         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57326         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57327         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57330         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57331         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57332         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57333         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57334         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57335         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57336         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57337         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57338         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57339         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57340         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57341         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57342         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57343         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57344         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57345         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57346         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57347         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57348         * sysdeps/mach/hurd/errnos.awk: Likewise.
57349         * sysdeps/mach/hurd/fork.c: Likewise.
57350         * sysdeps/mach/hurd/getcwd.c: Likewise.
57351         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57352         * sysdeps/mach/hurd/mmap.c: Likewise.
57353         * sysdeps/mach/hurd/utimes.c: Likewise.
57354         * sysdeps/mach/hurd/xmknod.c: Likewise.
57355         * sysdeps/posix/profil.c: Likewise.
57356         * sysdeps/posix/readdir_r.c: Likewise.
57357         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57358         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57359         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57360         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57362         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57364         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57366         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57367         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57368         * sysdeps/pthread/lio_listio.c: Likewise.
57369         * sysdeps/sparc/dl-procinfo.h: Likewise.
57370         * sysdeps/unix/i386/sysdep.S: Likewise.
57371         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57372         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57373         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57374         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57376         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57377         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57378         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57379         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57380         * sysdeps/wordsize-32/divdi3.c: Likewise.
57381         * time/sys/time.h: Likewise.
57382         * wcsmbs/Makefile: Likewise.
57384 2013-01-01  David S. Miller  <davem@davemloft.net>
57386         * po/fr.po: Update from translation team.
57388         * catgets/gencat.c: Update copyright year.
57389         * csu/version.c: Likewise.
57390         * debug/catchsegv.sh: Likewise.
57391         * debug/pcprofiledump.c: Likewise.
57392         * debug/xtrace.sh: Likewise.
57393         * elf/ldconfig.c: Likewise.
57394         * elf/ldd.bash.in: Likewise.
57395         * elf/pldd.c: Likewise.
57396         * elf/sotruss.ksh: Likewise.
57397         * elf/sprof.c: Likewise.
57398         * iconv/iconv_prog.c: Likewise.
57399         * iconv/iconvconfig.c: Likewise.
57400         * locale/programs/locale.c: Likewise.
57401         * locale/programs/localedef.c: Likewise.
57402         * login/programs/pt_chown.c: Likewise.
57403         * malloc/memusage.sh: Likewise.
57404         * malloc/memusagestat.c: Likewise.
57405         * malloc/mtrace.pl: Likewise.
57406         * nscd/nscd.c: Likewise.
57407         * nss/getent.c: Likewise.
57408         * nss/makedb.c: Likewise.
57409         * posix/getconf.c: Likewise.
57411 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57413         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57414         numbers.
57416 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57418         * math/bits/mathcalls.h (modf): Use __nonnull.
57420 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57422         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57423         (split): Use macro CN instead of the bare value.
57424         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57425         could be used.
57426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57427         instead of the bare value.
57428         (power1): Likewise.
57430 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57432         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57433         __ATAN_TWOM.
57434         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57436         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57437         their values.
57438         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57439         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57440         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57441         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57443 2012-12-28  Andreas Jaeger  <aj@suse.de>
57445         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57446         values are from Linux 3.7.
57448         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57449         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57451 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57453         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57454         TRUE case.
57456         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57457         (norm): Likewise.
57458         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57459         variables with preprocessor constants.
57460         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57461         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57462         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57464 2012-12-27  Bruno Haible  <bruno@clisp.org>
57466         [BZ #14317]
57467         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57468         only if needed.
57470 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57473         and use variable directly.
57474         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57476         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57477         MPONE.
57478         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57479         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57480         variable MPONE.
57481         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57483         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57484         include directive.  Remove local variable MPONE.
57485         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57486         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57489 2012-12-25  David S. Miller  <davem@davemloft.net>
57491         * version.h (RELEASE): Set to "development".
57492         (VERSION): Set to "2.17.90".
57493         * NEWS: Add 2.18 section.
57495 2012-12-21  David S. Miller  <davem@davemloft.net>
57497         * po/hr.po: Update from translation team.
57499 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57501         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57503 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57505         * NEWS:  Mention new memcpy for MIPS.
57507 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57509         * manual/contrib.texi (Contributors): Spelling correction.
57511 2012-12-15  David S. Miller  <davem@davemloft.net>
57513         * po/ru.po: Update from translation team.
57515 2012-12-13  David S. Miller  <davem@davemloft.net>
57517         * NEWS: Mention IFUNC testsuite enhancements.
57519         * po/pl.po: Update from translation team.
57520         * po/bg.po: Likewise.
57522         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57523         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57525 2012-12-11  David S. Miller  <davem@davemloft.net>
57527         * po/sv.po: Update from translation team.
57529         * po/vi.po: Update from translation team.
57531         * po/cs.po: Update from translation team.
57533         * po/de.po: Update from translation team.
57534         * po/eo.po: Likewise.
57535         * po/nl.po: Likewise.
57537 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57539         [BZ #14246]
57540         * manual/argp.texi (Argp Helper Functions): Move node to follow
57541         Argp Parsing State.
57543         [BZ #14872]
57544         * manual/conf.texi (Limits on File System Capacity): Mention if
57545         terminating null is included in the max size.
57547 2012-12-10  Andreas Jaeger  <aj@suse.de>
57549         * po/cs.po: Update from translation team.
57551 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57553         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57554         void pointer and cast to uintptr_t.
57555         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57556         path.
57557         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57558         * sysdeps/s390/s390-64/memset.S: Likewise.
57560 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57562         [BZ #14833]
57563         * menual/message.texi (Message Translation): Fix typos.
57564         (Helper programs for gettext): Likewise.
57566 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57568         [BZ #14898]
57569         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57570         Change to -1.
57572 2012-12-07  David S. Miller  <davem@davemloft.net>
57574         * po/libc.pot: Update.
57576 2012-12-07  Richard Henderson  <rth@redhat.com>
57578         [BZ #10114]
57579         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57580         normal/normal case to before the switch.
57581         (_FP_DIV): Likewise.
57583 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57584             Mike Frysinger  <vapier@gentoo.org>
57586         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57587         check for __NR_fadvise64_64.
57589 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57591         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57592         0, not just to plain "0" as a statement.
57593         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57594         with cw.
57596 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57598         * NEWS: Use sourceware.org in Bugzilla URL.
57600 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57603         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57605         * stdio-common/tst-put-error.c (do_test): Add newline to the
57606         padded test to ensure flush.
57608 2012-12-05  Jeff Law  <law@redhat.com>
57610         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57612 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57614         * README: Don't refer to ports add-on as distributed separately.
57615         Mention AArch64 in list of systems supported in the ports add-on.
57617         * LICENSES: Add more non-FSF copyright and license notices.
57619         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57620         ((unused)).
57622         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57624         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57625         10000 as width of padded output.
57627 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57629         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57631         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57632         variable LX with __attribute__ ((unused)).
57633         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57634         Likewise.
57635         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57636         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57637         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57638         with __attribute__ ((unused)).
57640 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57642         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57644 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57646         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57647         (CFLAGS-nldbl-acos.c): New variable.
57648         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57649         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57650         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57651         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57652         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57653         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57654         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57655         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57656         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57657         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57658         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57659         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57660         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57661         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57662         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57663         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57664         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57665         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57666         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57667         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57668         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57669         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57670         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57671         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57672         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57673         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57674         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57675         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57676         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57677         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57678         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57679         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57680         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57681         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57682         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57683         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57684         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57685         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57686         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57687         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57688         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57689         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57690         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57691         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57692         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57693         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57694         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57695         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57696         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57697         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57698         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57699         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57700         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57701         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57702         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57703         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57704         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57705         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57706         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57707         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57708         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57709         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57710         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57711         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57712         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57713         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57714         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57715         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57716         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57717         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57718         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57719         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57720         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57721         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57722         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57723         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57724         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57725         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57726         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57727         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57728         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57729         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57730         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57731         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57732         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57733         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57734         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57735         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57736         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57737         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57738         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57739         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57740         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57741         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57742         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57743         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57744         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57747         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57749         [BZ #14914]
57750         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57751         whole low double instead of just low 47 bits when splitting values
57752         into two parts.
57754 2012-12-03  Allan McRae  <allan@archlinux.org>
57756         * manual/stdio.texi (Predefined Printf Handlers): Remove
57757         @hsep and @vsep usage.
57759 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57761         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57762         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57764 2012-12-03  Jeff Law  <law@redhat.com>
57766         * time/sys/time.h (settimeofday): Do not mark TV argument
57767         as __nonnull.
57769 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57771         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57772         when currently writing and seek to current position when not.
57773         * libio/Makefile (tests): Remove bug-fclose1.
57774         * libio/bug-fclose1.c: Delete.
57776 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57778         * manual/arith.texi (feenableexcept): Fix typo.
57779         (fedisableexcept): Likewise.
57781 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57783         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57784         second, differently-typed declaration, rather than a cast.
57786 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57788         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57789         * include/rpc/svc.h: ... here.
57791 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57793         [BZ #13013]
57794         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57795         depending n and resplen2 to catch cases where answer
57796         equals answerp2.
57798 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57800         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57801         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57803 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57805         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57807 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57809         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57811 2012-11-28  Jeff Law  <law@redhat.com>
57813         [BZ #13761]
57814         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57815         dataset_temporary.  Track alloca usage into alloca_used.
57816         If dataset is large allocate and release it via malloc/free.
57818 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57820         [BZ #14197]
57821         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57823 2012-11-28  David S. Miller  <davem@davemloft.net>
57825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57827 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57829         [BZ #14803]
57830         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57831         of pi/2 rounded to nearest to 64 bits.
57832         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57833         nearest to 64 bits.
57834         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57835         bits.
57837 2012-11-28  Jeff Law <law@redhat.com>
57838             Martin Osvald <mosvald@redhat.com>
57840         [BZ #14889]
57841         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57842         * sunrpc/svc.c: Include time.h.
57843         (__svc_accept_failed): New function.
57844         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57845         any reason other than EINTR, call __svc_accept_failed.
57846         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57847         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57849 2012-11-28  Andreas Schwab  <schwab@suse.de>
57851         * scripts/abilist.awk: Also handle indirect functions in .opd
57852         section.
57854 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57856         [BZ #13881]
57857         * sysdeps/x86/fpu/powl_helper.c: New file.
57858         * sysdeps/x86/fpu/Makefile: Likewise.
57859         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57860         (p3): New object.
57861         (__ieee754_powl): Use __powl_helper for finite arguments except
57862         integer exponents below 8.
57863         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57864         (p3): New object.
57865         (__ieee754_powl): Use __powl_helper for finite arguments except
57866         integer exponents below 8.
57867         * math/libm-test.inc (pow_test): Add more tests and enable some
57868         previously disabled tests.
57869         * sysdeps/i386/fpu/libm-test-ulps: Update.
57870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57872 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57873             Carlos O'Donell  <carlos_odonell@mentor.com>
57875         * nss/makedb.c (is_prime): Assert that input is odd and greater
57876         than 4.  Note that fact in a comment too.
57877         (next_prime): Add 4 to input.
57879 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57881         [BZ #11741]
57882         * libio/Makefile (tests): Add test case tst-fwrite-error.
57883         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57884         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57885         * libio/tst-fwrite-error.c: New test case.
57887 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57889         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57890         before casting to void *.
57891         * include/libc-internal.h (__pointer_type): New macro.
57892         (__integer_if_pointer_type_sub): Likewise.
57893         (__integer_if_pointer_type): Likewise.
57894         (cast_to_integer): Likewise.
57895         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57896         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57897         before casting to atomic64_t.
57898         (atomic_exchange_acq): Likewise.
57899         (__arch_exchange_and_add_body): Likewise.
57900         (__arch_add_body): Likewise.
57901         (atomic_add_negative): Likewise.
57902         (atomic_add_zero): Likewise.
57904 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57906         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57907         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57908         (add_fdes): Likewise.
57909         (linear_search_fdes): Likewise.
57910         (binary_search_unencoded_fdes): Likewise.
57912 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57914         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57916 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57918         * configure.in: Autodetect C++ header directories.
57919         * configure: Regenerated.
57921 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57923         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57925 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57929 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57931         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57932         LDBL_MANT_DIG == 106]: Disable some tests.
57933         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57934         Likewise.
57935         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57936         Likewise.
57938         [BZ #14871]
57939         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57940         input for small inputs.  Return +/- pi/2 for large inputs.
57941         * math/libm-test.inc (atan_test): Add more tests.
57943         * sysdeps/generic/unwind-dw2-fde-glibc.c
57944         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57945         __attribute__ ((unused)).
57947         [BZ #14645]
57948         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57949         x * y if x and y are nonzero and z is zero.
57951         [BZ #14811]
57952         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57953         nonzero exponents with absolute value below 0x1p-117 to +/-
57954         0x1p-117.
57956         [BZ #14869]
57957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57958         up arguments below 2**-450, not just those below 2**-500.
57959         * math/libm-test.inc (hypot_test): Add another test.
57961         [BZ #14868]
57962         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57963         Return a+b for ratio over 2**120, not 2**60.
57964         * math/libm-test.inc (hypot_test): Add another test.
57966         * math/libm-test.inc (clog_test): Use
57967         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57968         (clog10_test): Likewise.
57970         [BZ #6778]
57971         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57973 2012-11-22  Andreas Schwab  <schwab@suse.de>
57975         * sysdeps/i386/fpu/libm-test-ulps: Update.
57977 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57979         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57980         printf output with newline.
57982 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57984         [BZ #14865]
57985         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57986         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57987         -z nodlopen, -z initfirst and -z execstack support.
57988         * configure: Regenerated.
57990         * elf/elf.h (DF_1_NODIRECT): New macro.
57991         (DF_1_IGNMULDEF): Likewise.
57992         (DF_1_NOKSYMS): Likewise.
57993         (DF_1_NOHDR): Likewise.
57994         (DF_1_EDITED): Likewise.
57995         (DF_1_NORELOC): Likewise.
57996         (DF_1_SYMINTPOSE): Likewise.
57997         (DF_1_GLOBAUDIT): Likewise.
57998         (DF_1_SINGLETON): Likewise.
57999         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58000         DT_1_SUPPORTED_MASK bits.
58001         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58003 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58005         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58007 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58009         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58010         macro.
58012         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58013         (sendmmsg): Move declarations...
58014         * socket/sys/socket.h: ... here.
58015         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58016         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58017         include it from...
58018         * socket/recvmmsg.c: ... this new file.
58019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58020         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58021         definition of __sendmmsg hidden.
58022         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58023         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58024         Move ENOSYS stub into and include it from...
58025         * socket/sendmmsg.c: ... this new file.
58026         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58027         (sysdep_routines): Move recvmmsg and sendmmsg...
58028         * socket/Makefile (routines): ... here.
58029         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58030         (GLIBC_PRIVATE): Add __sendmmsg.
58031         * include/sys/socket.h (__sendmmsg): Add declarations.
58032         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58033         sendmmsg.
58035 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58037         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58038         variable I1 with __attribute__ ((unused)).
58039         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58041 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58043         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58044         DUMMY variables with __attribute__ ((unused)).
58046         * bits/byteswap.h: Include <bits/types.h>.
58047         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58049 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58051         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58052         string_t.  Do not manually set errno.
58053         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58054         length with __strnlen.  Make sure to both set errno and return it on
58055         failure.
58057 2012-11-19  David S. Miller  <davem@davemloft.net>
58059         With help from Joseph Myers.
58060         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58061         very large arguments properly.
58062         * math/libm-test.inc (atan_test): New tests.
58063         (atan2_test): New tests.
58064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58067 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58069         [BZ #14856]
58070         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58071         Define to 3.
58073         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58074         [POSIX] (EADDRNOTAVAIL): Likewise.
58075         [POSIX] (EAFNOSUPPORT): Likewise.
58076         [POSIX] (EALREADY): Likewise.
58077         [POSIX] (ECONNABORTED): Likewise.
58078         [POSIX] (ECONNREFUSED): Likewise.
58079         [POSIX] (ECONNRESET): Likewise.
58080         [POSIX] (EDESTADDRREQ): Likewise.
58081         [POSIX] (EDQUOT): Likewise.
58082         [POSIX] (EHOSTUNREACH): Likewise.
58083         [POSIX] (EIDRM): Likewise.
58084         [POSIX] (EISCONN): Likewise.
58085         [POSIX] (ELOOP): Likewise.
58086         [POSIX] (EMULTIHOP): Likewise.
58087         [POSIX] (ENETDOWN): Likewise.
58088         [POSIX] (ENETUNREACH): Likewise.
58089         [POSIX] (ENOBUFS): Likewise.
58090         [POSIX] (ENODATA): Likewise.
58091         [POSIX] (ENOLINK): Likewise.
58092         [POSIX] (ENOMSG): Likewise.
58093         [POSIX] (ENOPROTOOPT): Likewise.
58094         [POSIX] (ENOSR): Likewise.
58095         [POSIX] (ENOSTR): Likewise.
58096         [POSIX] (ENOTCONN): Likewise.
58097         [POSIX] (ENOTSOCK): Likewise.
58098         [POSIX] (EOPNOTSUPP): Likewise.
58099         [POSIX] (EOVERFLOW): Likewise.
58100         [POSIX] (EPROTO): Likewise.
58101         [POSIX] (EPROTONOSUPPORT): Likewise.
58102         [POSIX] (EPROTOTYPE): Likewise.
58103         [POSIX] (ESTALE): Likewise.
58104         [POSIX] (ETIME): Likewise.
58105         [POSIX] (ETXTBSY): Likewise.
58106         [POSIX] (EWOULDBLOCK): Likewise.
58107         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58108         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58109         [POSIX] (SEEK_CUR): Likewise.
58110         [POSIX] (SEEK_END): Likewise.
58111         [POSIX || UNIX98] (mode_t): Do not require.
58112         [POSIX] (off_t): Likewise.
58113         [POSIX] (pid_t): Likewise.
58114         [POSIX] (sys/stat.h): Do not allow header.
58115         [POSIX] (unistd.h): Likewise.
58116         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58117         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58118         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58119         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58120         require.
58121         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58122         sigevent): Specify elements.
58123         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58124         entry.
58125         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58126         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58128         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58129         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58130         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58131         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58132         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58133         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58134         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58135         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58136         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58137         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58138         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58139         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58140         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58141         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58142         Likewise.
58143         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58144         Likewise.
58145         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58146         Likewise.
58147         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58148         Likewise.
58149         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58150         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58151         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58152         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58153         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58154         Specify lower bound on value.
58155         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58156         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58157         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58158         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58159         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58160         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58161         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58162         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58163         value.
58164         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58165         as optional.
58166         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58167         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58168         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58169         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58170         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58171         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58172         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58173         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58174         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58175         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58176         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58177         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58178         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58179         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58180         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58181         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58182         entry.
58183         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58184         optional.
58185         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58186         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58187         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58188         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58189         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58190         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58191         Likewise.
58192         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58193         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58194         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58195         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58196         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58197         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58198         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58199         as optional.
58200         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58201         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58202         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58203         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58204         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58205         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58206         specify as optional.
58207         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58208         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58209         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58210         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58211         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58212         [XPG3] (NL_LANGMAX): Likewise.
58213         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58214         [POSIX || XPG3] (NL_NMAX): Likewise.
58215         [POSIX || XPG3] (NL_SETMAX): Likewise.
58216         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58217         [XPG3] (NZERO): Likewise.
58218         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58219         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58220         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58221         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58222         (REG_ERANGE): Expect.
58223         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58224         optional-constant.
58225         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58226         Use (void) in prototype.
58227         [POSIX] (*_t): Allow.
58228         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58229         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58230         (WRDE_BADVAL): Expect.
58232         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58233         expect.
58234         [XPG3 || XPG4] (O_RSYNC): Likewise.
58235         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58236         Likewise.
58237         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58238         [XPG3 || XPG4] (sigqueue): Likewise.
58239         [XPG3 || XPG4] (sigtimedwait): Likewise.
58240         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58241         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58242         [XPG3 || XPG4] (vsnprintf): Likewise.
58243         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58244         Likewise.
58245         [XPG3 || XPG4] (blksize_t): Likewise.
58246         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58247         Likewise.
58248         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58249         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58250         [XPG3 || XPG4] (struct itimerspec): Likewise.
58251         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58252         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58253         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58254         [XPG3 || XPG4] (clockid_t): Likewise.
58255         [XPG3 || XPG4] (timer_t): Likewise.
58256         [XPG3 || XPG4] (clock_getres): Likewise.
58257         [XPG3 || XPG4] (clock_gettime): Likewise.
58258         [XPG3 || XPG4] (clock_settime): Likewise.
58259         [XPG3 || XPG4] (nanosleep): Likewise.
58260         [XPG3 || XPG4] (timer_create): Likewise.
58261         [XPG3 || XPG4] (timer_delete): Likewise.
58262         [XPG3 || XPG4] (timer_gettime): Likewise.
58263         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58264         [XPG3 || XPG4] (timer_settime): Likewise.
58265         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58266         [XPG3 || XPG4] (getlogin_r): Likewise.
58267         [XPG3 || XPG4] (pread): Likewise.
58268         [XPG3 || XPG4] (pthread_atfork): Likewise.
58269         [XPG3 || XPG4] (pwrite): Likewise.
58271         [BZ #14835]
58272         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58273         <bits/siginfo.h>.
58275 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58277         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58278         finalizing MALLSTREAM.
58280         * sysdeps/mach/hurd/syncfs.c: New file.
58282 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58284         [BZ #14719]
58285         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58286         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58287         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58288         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58289         (_nss_dns_gethostbyname4_r): Likewise.
58290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58291         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58293 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58295         [BZ #13763]
58296         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58298 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58300         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58301         * elf/cache.c (print_entry): Print ",AArch64" for
58302         FLAG_AARCH64_LIB64
58304         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58305         * elf/cache.c (print_entry): Print ",hard-float" for
58306         FLAG_ARM_LIBHF.
58308 2012-11-18  David S. Miller  <davem@davemloft.net>
58310         With help from Joseph Myers.
58311         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58312         cutoff to 2**-13.
58313         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58314         cutoff to 2**-25.
58315         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58316         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58317         small.
58318         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58319         * math/libm-test.inc (y0_test): New tests.
58320         (y1_test): New tests.
58321         * sysdeps/i386/fpu/libm-test-ulps: Update.
58322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58325 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58327         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58328         64-bit targets.
58329         * configure: Regenerated.
58331 2012-11-17  David S. Miller  <davem@davemloft.net>
58333         [BZ #14811]
58334         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58335         nonzero exponents with absolute value below 0x1p-128 to +/-
58336         0x1p-128.
58338 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58340         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58342         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58344         * posix/getconf-speclist.c: New file.
58345         * posix/posix-envs.def: Likewise.
58346         * posix/confstr.c (START_ENV_GROUP): New macro.
58347         (END_ENV_GROUP): Likewise.
58348         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58349         (KNOWN_PRESENT_ENV_STRING): Likewise.
58350         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58351         (UNKNOWN_ENVIRONMENT): Likewise.
58352         (confstr): Include posix-envs.def instead of handling
58353         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58354         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58355         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58356         (END_ENV_GROUP): Likewise.
58357         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58358         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58359         (UNKNOWN_ENVIRONMENT): Likewise.
58360         (__sysconf): Include posix-envs.def instead of handling associated
58361         cases directly here.
58362         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58363         preprocessing getconf-speclist.c rather than running getconf or
58364         generating empty file.
58366 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58368         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58370 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58372         [BZ #14672]
58373         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58375 2012-11-16  David S. Miller  <davem@davemloft.net>
58377         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58378         smaller than LDBL_EPSILON/2.0L, just return xm1.
58380 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58382         * elf/tst-array1.c (init): Set constructor priority to 1000.
58383         (fini): Set destructor priority to 1000.
58384         * elf/tst-array2dep.c: Likewise.
58386 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58388         [BZ #11741]
58389         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58390         (_IO_new_file_xsputn): Also return EOF if none of the input
58391         data was written when overflow failed.
58392         * libio/iopadn.c (_IO_padn): Likewise.
58393         * libio/iowpadn.c (_IO_wpadn): Likewise.
58394         * stdio-common/tst-put-error.c: Add copyright notice.
58395         (do_test): Add case for printing padded string.
58396         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58397         _IO_padn returned error.
58398         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58399         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58400         return EOF.
58402 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58404         * libio/libioP.h: Add comment note that the references to C++
58405         bits are now obsolete.
58407 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58409         * math/libm-test.inc (check_complex): Use asprintf.
58411 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58413         * debug/pcprofiledump.c (print_version): Update copyright year.
58414         * malloc/memusagestat.c (print_version): Likewise.
58416 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58418         [BZ #14831]
58419         * elf/Makefile (tests): Add tst-audit8.
58420         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58421         ($(objpfx)tst-audit8.out): New target.
58422         (tst-audit8-ENV): New variable.
58423         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58424         audit if l_reloc_result is NULL.
58425         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58426         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58427         * elf/tst-audit8.c: New file.
58429 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58431         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58432         * misc/Makefile (CFLAGS-select.c): Define.
58433         * posix/Makefile (CFLAGS-pause.c): Define.
58435 2012-11-13  David S. Miller  <davem@davemloft.net>
58437         * crypt/Makefile: Move test targets after toplevel Rules
58438         inclusion.  Grab any necessary sysdep routines when linking.
58439         * crypt/md5.c (md5_process_block): Remove define, we will always
58440         name it __md5_process_block.
58441         (md5_finish_ctx): Update md5_process_block call.
58442         (md5_stream): Likewise.
58443         (md5_process_bytes): Likewise.
58444         (md5_process_block): Rename to __md5_process_block and move to ...
58445         * crypt/md5-block.c: ... here.
58446         * crypt/sha256.c (sha256_process_block): Move to ...
58447         * crypt/sha256-block.c: ... here.
58448         * crypt/sha512.c (sha512_process_block): Move to ...
58449         * crypt/sha512-block.c: ... here.
58450         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58451         path.
58452         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58453         * sysdeps/sparc/sparc64/multiarch/Makefile
58454         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58455         crypt subdir.
58456         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58457         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58458         multiarch changes.
58459         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58460         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58461         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58462         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58463         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58464         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58465         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58466         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58467         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58468         file.
58469         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58470         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58471         file.
58472         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58474 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58476         * timezone/tzselect.ksh: Update from tzcode git revision
58477         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58478         * timezone/zdump.c: Likewise.
58479         * timezone/zic.c: Likewise.
58480         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58481         in TZVERSION setting, not $(PKGVERSION).
58482         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58483         REPORT_BUGS_TO settings.
58485         [BZ #14838]
58486         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58487         macro.
58489 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58491         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58492         detection to immediately after _FP_ROUND().
58493         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58494         bits are 0.
58496 2012-11-11  David S. Miller  <davem@davemloft.net>
58498         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58499         inttypes.h
58500         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58501         __close rather than their public counterparts.
58503 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58505         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58506         file.
58507         [UNIX98] (sem_timedwait): Do not expect.
58508         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58509         [XPG4 || UNIX98] (sockatmark): Do not expect.
58510         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58511         (clock_getcpuclockid): Do not expect.
58512         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58513         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58514         Do not expect.
58515         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58516         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58517         [UNIX98] (vwscanf): Likewise.
58518         [UNIX98] (vswscanf): Likewise.
58520 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58522         * timezone/version.h: Remove file.
58523         * timezone/README: Do not refer to version.h.
58524         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58525         $(objpfx)version.h.
58526         ($(objpfx)zdump.o): Likewise.
58527         ($(objpfx)version.h): New target.
58529         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58530         2012i.
58531         * timezone/README: Don't mention modification to tzselect.ksh.
58532         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58533         work on unmodified tzselect.ksh.  Substitute version numbers in
58534         tzselect.ksh.
58536         * Makefile (format-me): Remove.
58537         (INSTALL): Adjust indentation.  Use commands directly instead of
58538         using $(format-me).
58540         * aclocal.m4 (ACX_PKGVERSION): New macro.
58541         (ACX_BUGURL): Likewise.
58542         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58543         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58544         (REPORT_BUGS_TO): Likewise.
58545         * configure: Regenerated.
58546         * config.h.in (PKGVERSION): New macro.
58547         (REPORT_BUGS_TO): Likewise.
58548         * config.make.in (PKGVERSION): New variable.
58549         (PKGVERSION_TEXI): Likewise.
58550         (REPORT_BUGS_TO): Likewise.
58551         (REPORT_BUGS_TEXI): Likewise.
58552         * Makefile (format-me): Use -I$(common-objpfx)manual.
58553         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58554         ($(common-objpfx)manual/%): New target.
58555         (manual/%): Remove target.
58556         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58557         (print_version): Use PKGVERSION.
58558         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58559         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58560         and REPORT_BUGS_TO.
58561         ($(objpfx)xtrace): Likewise.
58562         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58563         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58564         (print_version): Use PKGVERSION.
58565         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58566         (do_version): Use PKGVERSION.
58567         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58568         REPORT_BUGS_TO.
58569         (common-ldd-rewrite): Likewise.
58570         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58571         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58572         (print_version): Use PKGVERSION.
58573         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58574         * elf/pldd.c (argp_program_bug_address): Remove variable.
58575         (more_help): New function.
58576         (argp): Use more_help.
58577         (print_version): Use PKGVERSION.
58578         * elf/sln.c (main): Use PKGVERSION.
58579         (usage): Use REPORT_BUGS_TO.
58580         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58581         (top level): Use PKGVERSION.
58582         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58583         (print_version): Use PKGVERSION.
58584         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58585         (print_version): Use PKGVERSION.
58586         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58587         (print_version): Use PKGVERSION.
58588         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58589         (print_version): Use PKGVERSION.
58590         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58591         (print_version): Use PKGVERSION.
58592         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58593         (print_version): Use PKGVERSION.
58594         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58595         and BUGURL.
58596         ($(objpfx)memusage): Likewise.
58597         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58598         (do_version): Use PKGVERSION.
58599         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58600         (print_version): Use PKGVERSION.
58601         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58602         ($PKGVERSION): New variable.
58603         ($REPORT_BUGS_TO): Likewise.
58604         (usage): Use $REPORT_BUGS_TO.
58605         (top level): Use $PKGVERSION.
58606         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58607         ($(objpfx)pkgvers.texi): New rule.
58608         ($(objpfx)stamp-pkgvers): Likewise.
58609         * manual/install.texi: Include pkgvers.texi.
58610         (--with-pkgversion): Document new configure option.
58611         (--with-bugurl): Likewise.
58612         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58613         than necessarily for this particular distribution.  Use
58614         REPORT_BUGS_TO for where to report bugs.
58615         * INSTALL: Regenerated.
58616         * manual/libc.texinfo: Include pkgvers.texi.
58617         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58618         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58619         (print_version): Use PKGVERSION.
58620         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58621         (print_version): Use PKGVERSION.
58622         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58623         (print_version): Use PKGVERSION.
58624         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58625         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58626         macro.
58627         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58628         (print_version): Use PKGVERSION.
58629         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58630         (print_version): Use PKGVERSION.
58631         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58632         and PKGVERSION.
58634         * timezone/checktab.awk: Update from tzcode 2012i.
58635         * timezone/ialloc.c: Likewise.
58636         * timezone/private.h: Likewise.
58637         * timezone/scheck.c: Likewise.
58638         * timezone/tzfile.h: Likewise.
58639         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58640         (TZVERSION): Hardcode tzcode version number.
58641         * timezone/zdump.c: Update from tzcode 2012i.
58642         * timezone/zic.c: Likewise.
58643         * timezone/version.h: New file.
58644         * timezone/README: Describe version.h.  Update upstream location.
58646         [BZ #14824]
58647         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58648         (mktemp): Enable declaration.
58649         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58650         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58651         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58652         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58653         Likewise.
58654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58655         Likewise.
58656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58657         Likewise.
58658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58659         Likewise.
58660         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58661         Likewise.
58662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58663         Likewise.
58665         [BZ #14821]
58666         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58667         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58668         for copies of such integer values.
58669         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58670         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58672 2012-11-09  Andreas Jaeger  <aj@suse.de>
58674         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58675         definitions and declarations that are provided by
58676         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58678 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58680         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58681         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58682         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58683         definition.
58685 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58687         * elf/elf.h: Update comment before AArch64 relocations.
58689 2012-11-07  David S. Miller  <davem@davemloft.net>
58691         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58692         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58693         (__start_context): Declare.
58694         (__makecontext_ret): Delete.
58695         (__makecontext): Hook up __start_context instead of
58696         __makecontext_ret.
58697         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58698         (sysdep_routines): Add __start_context when in stdlib.
58700 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58702         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58703         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58704         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58705         hardcoded "nm".
58706         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58707         (READELF): New variable.  Use it instead of hardcoded "readelf".
58709 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58711         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58712         * sysdeps/x86/Makefile: Here.
58713         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58714         * sysdeps/x86/tst-xmmymm.sh: This.
58716 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58718         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58719         expectations.
58720         [UNIX98] (pthread_barrier_t): Do not expect.
58721         [UNIX98] (pthread_barrierattr_t): Likewise.
58722         [UNIX98] (pthread_spinlock_t): Likewise.
58723         [UNIX98] (pthread_barrier_destroy): Likewise.
58724         [UNIX98] (pthread_barrier_init): Likewise.
58725         [UNIX98] (pthread_barrier_wait): Likewise.
58726         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58727         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58728         [UNIX98] (pthread_barrierattr_init): Likewise.
58729         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58730         [UNIX98] (pthread_getcpuclockid): Likewise.
58731         [UNIX98] (pthread_mutex_timedlock): Likewise.
58732         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58733         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58734         [UNIX98] (pthread_sigmask): Likewise.
58735         [UNIX98] (pthread_spin_destroy): Likewise.
58736         [UNIX98] (pthread_spin_init): Likewise.
58737         [UNIX98] (pthread_spin_lock): Likewise.
58738         [UNIX98] (pthread_spin_trylock): Likewise.
58739         [UNIX98] (pthread_spin_unlock): Likewise.
58740         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58741         Do not expect.
58742         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58743         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58744         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58745         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58746         [XPG3 || XPG4] (pthread_key_t): Likewise.
58747         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58748         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58749         [XPG3 || XPG4] (pthread_once_t): Likewise.
58750         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58751         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58752         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58753         [XPG3 || XPG4] (pthread_t): Likewise.
58755         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58756         not expect.
58757         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58759         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58760         Change function return type to int.
58762         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58763         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58764         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58765         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58766         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58767         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58768         [!POSIX] (posix_madvise): Likewise.
58769         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58770         && !UNIX98].
58771         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58772         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58773         (mode_t): Likewise.
58774         (posix_mem_offset): Likewise.
58775         (posix_typed_mem_get_info): Likewise.
58776         (posix_typed_mem_open): Likewise.
58778         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58779         Change condition to [XOPEN2K8].
58781         * conform/conformtest.pl: Preprocess allow-header data with -x c
58782         instead of from stdin.
58783         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58784         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58785         [C99-based standards] (cerfc): Likewise.
58786         [C99-based standards] (cexp2): Likewise.
58787         [C99-based standards] (cexpm1): Likewise.
58788         [C99-based standards] (clog10): Likewise.
58789         [C99-based standards] (clog1p): Likewise.
58790         [C99-based standards] (clog2): Likewise.
58791         [C99-based standards] (clgamma): Likewise.
58792         [C99-based standards] (ctgamma): Likewise.
58793         [C99-based standards] (cerff): Likewise.
58794         [C99-based standards] (cerfcf): Likewise.
58795         [C99-based standards] (cexp2f): Likewise.
58796         [C99-based standards] (cexpm1f): Likewise.
58797         [C99-based standards] (clog10f): Likewise.
58798         [C99-based standards] (clog1pf): Likewise.
58799         [C99-based standards] (clog2f): Likewise.
58800         [C99-based standards] (clgammaf): Likewise.
58801         [C99-based standards] (ctgammaf): Likewise.
58802         [C99-based standards] (cerfl): Likewise.
58803         [C99-based standards] (cerfcl): Likewise.
58804         [C99-based standards] (cexp2l): Likewise.
58805         [C99-based standards] (cexpm1l): Likewise.
58806         [C99-based standards] (clog10l): Likewise.
58807         [C99-based standards] (clog1pl): Likewise.
58808         [C99-based standards] (clog2l): Likewise.
58809         [C99-based standards] (clgammal): Likewise.
58810         [C99-based standards] (ctgammal): Likewise.
58811         * conform/data/inttypes.h-data [C99-based standards]: Include
58812         stdint.h-data.  Remove all expectations for stdint.h contents.
58813         [C99-based standards] (PRI*): Do not allow.
58814         [C99-based standards] (SCN*): Likewise.
58815         [C99-based standards] (*_t): Likewise.
58816         [C99-based-standards] (PRId8): Expect macro.
58817         [C99-based-standards] (PRIi8): Likewise.
58818         [C99-based-standards] (PRIo8): Likewise.
58819         [C99-based-standards] (PRIu8): Likewise.
58820         [C99-based-standards] (PRIx8): Likewise.
58821         [C99-based-standards] (PRIX8): Likewise.
58822         [C99-based-standards] (SCNd8): Likewise.
58823         [C99-based-standards] (SCNi8): Likewise.
58824         [C99-based-standards] (SCNo8): Likewise.
58825         [C99-based-standards] (SCNu8): Likewise.
58826         [C99-based-standards] (SCNx8): Likewise.
58827         [C99-based-standards] (PRIdLEAST8): Likewise.
58828         [C99-based-standards] (PRIiLEAST8): Likewise.
58829         [C99-based-standards] (PRIoLEAST8): Likewise.
58830         [C99-based-standards] (PRIuLEAST8): Likewise.
58831         [C99-based-standards] (PRIxLEAST8): Likewise.
58832         [C99-based-standards] (PRIXLEAST8): Likewise.
58833         [C99-based-standards] (SCNdLEAST8): Likewise.
58834         [C99-based-standards] (SCNiLEAST8): Likewise.
58835         [C99-based-standards] (SCNoLEAST8): Likewise.
58836         [C99-based-standards] (SCNuLEAST8): Likewise.
58837         [C99-based-standards] (SCNxLEAST8): Likewise.
58838         [C99-based-standards] (PRIdFAST8): Likewise.
58839         [C99-based-standards] (PRIiFAST8): Likewise.
58840         [C99-based-standards] (PRIoFAST8): Likewise.
58841         [C99-based-standards] (PRIuFAST8): Likewise.
58842         [C99-based-standards] (PRIxFAST8): Likewise.
58843         [C99-based-standards] (PRIXFAST8): Likewise.
58844         [C99-based-standards] (SCNdFAST8): Likewise.
58845         [C99-based-standards] (SCNiFAST8): Likewise.
58846         [C99-based-standards] (SCNoFAST8): Likewise.
58847         [C99-based-standards] (SCNuFAST8): Likewise.
58848         [C99-based-standards] (SCNxFAST8): Likewise.
58849         [C99-based-standards] (PRId16): Likewise.
58850         [C99-based-standards] (PRIi16): Likewise.
58851         [C99-based-standards] (PRIo16): Likewise.
58852         [C99-based-standards] (PRIu16): Likewise.
58853         [C99-based-standards] (PRIx16): Likewise.
58854         [C99-based-standards] (PRIX16): Likewise.
58855         [C99-based-standards] (SCNd16): Likewise.
58856         [C99-based-standards] (SCNi16): Likewise.
58857         [C99-based-standards] (SCNo16): Likewise.
58858         [C99-based-standards] (SCNu16): Likewise.
58859         [C99-based-standards] (SCNx16): Likewise.
58860         [C99-based-standards] (PRIdLEAST16): Likewise.
58861         [C99-based-standards] (PRIiLEAST16): Likewise.
58862         [C99-based-standards] (PRIoLEAST16): Likewise.
58863         [C99-based-standards] (PRIuLEAST16): Likewise.
58864         [C99-based-standards] (PRIxLEAST16): Likewise.
58865         [C99-based-standards] (PRIXLEAST16): Likewise.
58866         [C99-based-standards] (SCNdLEAST16): Likewise.
58867         [C99-based-standards] (SCNiLEAST16): Likewise.
58868         [C99-based-standards] (SCNoLEAST16): Likewise.
58869         [C99-based-standards] (SCNuLEAST16): Likewise.
58870         [C99-based-standards] (SCNxLEAST16): Likewise.
58871         [C99-based-standards] (PRIdFAST16): Likewise.
58872         [C99-based-standards] (PRIiFAST16): Likewise.
58873         [C99-based-standards] (PRIoFAST16): Likewise.
58874         [C99-based-standards] (PRIuFAST16): Likewise.
58875         [C99-based-standards] (PRIxFAST16): Likewise.
58876         [C99-based-standards] (PRIXFAST16): Likewise.
58877         [C99-based-standards] (SCNdFAST16): Likewise.
58878         [C99-based-standards] (SCNiFAST16): Likewise.
58879         [C99-based-standards] (SCNoFAST16): Likewise.
58880         [C99-based-standards] (SCNuFAST16): Likewise.
58881         [C99-based-standards] (SCNxFAST16): Likewise.
58882         [C99-based-standards] (PRId32): Likewise.
58883         [C99-based-standards] (PRIi32): Likewise.
58884         [C99-based-standards] (PRIo32): Likewise.
58885         [C99-based-standards] (PRIu32): Likewise.
58886         [C99-based-standards] (PRIx32): Likewise.
58887         [C99-based-standards] (PRIX32): Likewise.
58888         [C99-based-standards] (SCNd32): Likewise.
58889         [C99-based-standards] (SCNi32): Likewise.
58890         [C99-based-standards] (SCNo32): Likewise.
58891         [C99-based-standards] (SCNu32): Likewise.
58892         [C99-based-standards] (SCNx32): Likewise.
58893         [C99-based-standards] (PRIdLEAST32): Likewise.
58894         [C99-based-standards] (PRIiLEAST32): Likewise.
58895         [C99-based-standards] (PRIoLEAST32): Likewise.
58896         [C99-based-standards] (PRIuLEAST32): Likewise.
58897         [C99-based-standards] (PRIxLEAST32): Likewise.
58898         [C99-based-standards] (PRIXLEAST32): Likewise.
58899         [C99-based-standards] (SCNdLEAST32): Likewise.
58900         [C99-based-standards] (SCNiLEAST32): Likewise.
58901         [C99-based-standards] (SCNoLEAST32): Likewise.
58902         [C99-based-standards] (SCNuLEAST32): Likewise.
58903         [C99-based-standards] (SCNxLEAST32): Likewise.
58904         [C99-based-standards] (PRIdFAST32): Likewise.
58905         [C99-based-standards] (PRIiFAST32): Likewise.
58906         [C99-based-standards] (PRIoFAST32): Likewise.
58907         [C99-based-standards] (PRIuFAST32): Likewise.
58908         [C99-based-standards] (PRIxFAST32): Likewise.
58909         [C99-based-standards] (PRIXFAST32): Likewise.
58910         [C99-based-standards] (SCNdFAST32): Likewise.
58911         [C99-based-standards] (SCNiFAST32): Likewise.
58912         [C99-based-standards] (SCNoFAST32): Likewise.
58913         [C99-based-standards] (SCNuFAST32): Likewise.
58914         [C99-based-standards] (SCNxFAST32): Likewise.
58915         [C99-based-standards] (PRId64): Likewise.
58916         [C99-based-standards] (PRIi64): Likewise.
58917         [C99-based-standards] (PRIo64): Likewise.
58918         [C99-based-standards] (PRIu64): Likewise.
58919         [C99-based-standards] (PRIx64): Likewise.
58920         [C99-based-standards] (PRIX64): Likewise.
58921         [C99-based-standards] (SCNd64): Likewise.
58922         [C99-based-standards] (SCNi64): Likewise.
58923         [C99-based-standards] (SCNo64): Likewise.
58924         [C99-based-standards] (SCNu64): Likewise.
58925         [C99-based-standards] (SCNx64): Likewise.
58926         [C99-based-standards] (PRIdLEAST64): Likewise.
58927         [C99-based-standards] (PRIiLEAST64): Likewise.
58928         [C99-based-standards] (PRIoLEAST64): Likewise.
58929         [C99-based-standards] (PRIuLEAST64): Likewise.
58930         [C99-based-standards] (PRIxLEAST64): Likewise.
58931         [C99-based-standards] (PRIXLEAST64): Likewise.
58932         [C99-based-standards] (SCNdLEAST64): Likewise.
58933         [C99-based-standards] (SCNiLEAST64): Likewise.
58934         [C99-based-standards] (SCNoLEAST64): Likewise.
58935         [C99-based-standards] (SCNuLEAST64): Likewise.
58936         [C99-based-standards] (SCNxLEAST64): Likewise.
58937         [C99-based-standards] (PRIdFAST64): Likewise.
58938         [C99-based-standards] (PRIiFAST64): Likewise.
58939         [C99-based-standards] (PRIoFAST64): Likewise.
58940         [C99-based-standards] (PRIuFAST64): Likewise.
58941         [C99-based-standards] (PRIxFAST64): Likewise.
58942         [C99-based-standards] (PRIXFAST64): Likewise.
58943         [C99-based-standards] (SCNdFAST64): Likewise.
58944         [C99-based-standards] (SCNiFAST64): Likewise.
58945         [C99-based-standards] (SCNoFAST64): Likewise.
58946         [C99-based-standards] (SCNuFAST64): Likewise.
58947         [C99-based-standards] (SCNxFAST64): Likewise.
58948         [C99-based-standards] (PRIdMAX): Likewise.
58949         [C99-based-standards] (PRIiMAX): Likewise.
58950         [C99-based-standards] (PRIoMAX): Likewise.
58951         [C99-based-standards] (PRIuMAX): Likewise.
58952         [C99-based-standards] (PRIxMAX): Likewise.
58953         [C99-based-standards] (PRIXMAX): Likewise.
58954         [C99-based-standards] (SCNdMAX): Likewise.
58955         [C99-based-standards] (SCNiMAX): Likewise.
58956         [C99-based-standards] (SCNoMAX): Likewise.
58957         [C99-based-standards] (SCNuMAX): Likewise.
58958         [C99-based-standards] (SCNxMAX): Likewise.
58959         [C99-based-standards] (PRIdPTR): Likewise.
58960         [C99-based-standards] (PRIiPTR): Likewise.
58961         [C99-based-standards] (PRIoPTR): Likewise.
58962         [C99-based-standards] (PRIuPTR): Likewise.
58963         [C99-based-standards] (PRIxPTR): Likewise.
58964         [C99-based-standards] (PRIXPTR): Likewise.
58965         [C99-based-standards] (SCNdPTR): Likewise.
58966         [C99-based-standards] (SCNiPTR): Likewise.
58967         [C99-based-standards] (SCNoPTR): Likewise.
58968         [C99-based-standards] (SCNuPTR): Likewise.
58969         [C99-based-standards] (SCNxPTR): Likewise.
58970         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58971         allow.
58972         * conform/data/stdint.h-data: Update comments to clarify
58973         requirements.
58974         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58975         type.
58976         [C99-based standards] (INT8_MAX): Likewise.
58977         [C99-based standards] (INT16_MIN): Likewise.
58978         [C99-based standards] (INT16_MAX): Likewise.
58979         [C99-based standards] (INT32_MIN): Likewise.
58980         [C99-based standards] (INT32_MAX): Likewise.
58981         [C99-based standards] (INT64_MIN): Likewise.
58982         [C99-based standards] (INT64_MAX): Likewise.
58983         [C99-based standards] (UINT8_MAX): Likewise.
58984         [C99-based standards] (UINT16_MAX): Likewise.
58985         [C99-based standards] (UINT32_MAX): Likewise.
58986         [C99-based standards] (UINT64_MAX): Likewise.
58987         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58988         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58989         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58990         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58991         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58992         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58993         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58994         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58995         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58996         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58997         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58998         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58999         [C99-based standards] (INT_FAST8_MIN): Likewise.
59000         [C99-based standards] (INT_FAST8_MAX): Likewise.
59001         [C99-based standards] (INT_FAST16_MIN): Likewise.
59002         [C99-based standards] (INT_FAST16_MAX): Likewise.
59003         [C99-based standards] (INT_FAST32_MIN): Likewise.
59004         [C99-based standards] (INT_FAST32_MAX): Likewise.
59005         [C99-based standards] (INT_FAST64_MIN): Likewise.
59006         [C99-based standards] (INT_FAST64_MAX): Likewise.
59007         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59008         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59009         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59010         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59011         [C99-based standards] (INTPTR_MIN): Likewise.
59012         [C99-based standards] (INTPTR_MAX): Likewise.
59013         [C99-based standards] (UINTPTR_MAX): Likewise.
59014         [C99-based standards] (INTMAX_MIN): Likewise.
59015         [C99-based standards] (INTMAX_MAX): Likewise.
59016         [C99-based standards] (UINTMAX_MAX): Likewise.
59017         [C99-based standards] (PTRDIFF_MIN): Likewise.
59018         [C99-based standards] (PTRDIFF_MAX): Likewise.
59019         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59020         [C99-based standards] (SIZE_MAX): Likewise.
59021         [C99-based standards] (WCHAR_MAX): Likewise.
59022         [C99-based standards] (WINT_MAX): Likewise.
59023         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59024         constraint on value.
59025         [C99-based standards] (WCHAR_MIN): Likewise.
59026         [C99-based standards] (WINT_MIN): Likewise.
59027         [C99-based standards] (*_t): Allow.
59028         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59029         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59030         Include math.h-data and complex.h-data.  Remove all expectations
59031         of math.h and complex.h contents.
59032         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59033         at end of line.
59034         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59035         (struct tm): Expect tag.
59036         [C99-based-standards] (wcstof): Expect function.
59037         [C99-based-standards] (wcstold): Likewise.
59038         [C99-based-standards] (wcstoll): Likewise.
59039         [C99-based-standards] (wcstoull): Likewise.
59040         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59041         macro-int-constant.  Specify type.
59042         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59043         constraint on value.
59044         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59045         Specify type.
59046         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59047         Specify value.
59048         [ISO C standards]: Do not allow headers.
59049         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59050         wcs[abcdefghijklmnopqrstuvwxyz]*.
59051         [ISO C standards] (*_t): Do not allow.
59052         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59053         Expect function.
59054         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59055         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59056         Specify type.
59057         [ISO C standards]: Do not allow headers.
59058         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59059         is[abcdefghijklmnopqrstuvwxyz]*.
59060         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59061         to[abcdefghijklmnopqrstuvwxyz]*.
59062         [ISO C standards] (*_t): Do not allow.
59063         * conform/data/stdalign.h-data: New file.
59064         * conform/data/stdbool.h-data: Likewise.
59065         * conform/data/stdnoreturn.h-data: Likewise.
59067 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59069         [BZ #14815]
59070         * manual/filesys.texi (Directory Entries): Typo fix.
59071         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59073 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59075         * elf/elf.h (EM_AARCH64): New macro.
59076         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59077         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59078         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59079         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59080         (R_AARCH64_TLSDESC): Likewise.
59081         (NT_ARM_TLS): Likewise.
59082         (NT_ARM_HW_BREAK): Likewise.
59083         (NT_ARM_HW_WATCH): Likewise.
59085 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59087         [BZ #14811]
59088         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59089         (__ieee754_powl): Saturate nonzero exponents with absolute value
59090         below 0x1p-79 to +/- 0x1p-79.
59091         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59092         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59093         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59094         nonzero exponents with absolute value below 0x1p-32 to +/-
59095         0x1p-32.
59096         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59097         (__ieee754_powl): Saturate nonzero exponents with absolute value
59098         below 0x1p-79 to +/- 0x1p-79.
59099         * math/libm-test.inc (pow_test): Add more tests.
59101 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59103         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59104         _dl_s390_cap_flags with kernel. Increase string length.
59105         (_dl_s390_platforms): Add z196 and zEC12.
59107 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59109         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59110         Change XOPEN21K to XOPEN2K.
59112 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59114         * string/memmove.c: Use memcpy when possible.
59116 2012-11-06  Andreas Jaeger  <aj@suse.de>
59118         * po/eo.po: Update from translation team.
59120 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59122         [BZ #14793]
59123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59124         exponent and small x and y exponents, scale x or y up.  Increase
59125         by 2 the exponent used in scaling up.
59126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59128         * math/libm-test.inc (fma_test): Add more tests.
59129         (fma_test_towardzero): Likewise.
59130         (fma_test_downward): Likewise.
59131         (fma_test_upward): Likewise.
59133 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59135         [BZ #14805]
59136         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59137         fenv_t *.
59139         [BZ #14801]
59140         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59141         namespace for names of struct fields.
59142         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59143         fenv_t fields.
59144         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59145         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59147 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59149         [BZ #3665]
59150         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59152 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59154         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59155         PTR_DEMANGLE.
59157         [BZ #5246]
59158         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59159         PTR_DEMANGLE.
59161 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59163         [BZ #14797]
59164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59165         definitely overflow as x * y not x * y + z.
59166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59167         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59168         * math/libm-test.inc (fma_test): Add more tests.
59169         (fma_test_towardzero): Likewise.
59170         (fma_test_downward): Likewise.
59171         (fma_test_upward): Likewise.
59173 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59175         [BZ #157]
59177         * include/stub-tag.h: Remove file.
59178         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59179         '#include' of it.
59180         * manual/maint.texi (Porting): Don't reference it.
59181         * Makerules ($(objpfx)stubs): Likewise.
59182         * dirent/closedir.c: Don't include <stub-tag.h>.
59183         * dirent/dirfd.c: Likewise.
59184         * dirent/fdopendir.c: Likewise.
59185         * dirent/getdents.c: Likewise.
59186         * dirent/getdents64.c: Likewise.
59187         * dirent/opendir.c: Likewise.
59188         * dirent/readdir.c: Likewise.
59189         * dirent/readdir64.c: Likewise.
59190         * dirent/readdir64_r.c: Likewise.
59191         * dirent/readdir_r.c: Likewise.
59192         * dirent/rewinddir.c: Likewise.
59193         * dirent/seekdir.c: Likewise.
59194         * dirent/telldir.c: Likewise.
59195         * gmon/profil.c: Likewise.
59196         * grp/setgroups.c: Likewise.
59197         * inet/if_index.c: Likewise.
59198         * io/access.c: Likewise.
59199         * io/chdir.c: Likewise.
59200         * io/chmod.c: Likewise.
59201         * io/chown.c: Likewise.
59202         * io/close.c: Likewise.
59203         * io/dup.c: Likewise.
59204         * io/dup2.c: Likewise.
59205         * io/dup3.c: Likewise.
59206         * io/euidaccess.c: Likewise.
59207         * io/faccessat.c: Likewise.
59208         * io/fchdir.c: Likewise.
59209         * io/fchmod.c: Likewise.
59210         * io/fchmodat.c: Likewise.
59211         * io/fchown.c: Likewise.
59212         * io/fchownat.c: Likewise.
59213         * io/fcntl.c: Likewise.
59214         * io/flock.c: Likewise.
59215         * io/fstatfs.c: Likewise.
59216         * io/fstatfs64.c: Likewise.
59217         * io/fstatvfs.c: Likewise.
59218         * io/fstatvfs64.c: Likewise.
59219         * io/futimens.c: Likewise.
59220         * io/fxstat.c: Likewise.
59221         * io/fxstat64.c: Likewise.
59222         * io/fxstatat.c: Likewise.
59223         * io/fxstatat64.c: Likewise.
59224         * io/getcwd.c: Likewise.
59225         * io/isatty.c: Likewise.
59226         * io/lchmod.c: Likewise.
59227         * io/lchown.c: Likewise.
59228         * io/link.c: Likewise.
59229         * io/linkat.c: Likewise.
59230         * io/lseek.c: Likewise.
59231         * io/lseek64.c: Likewise.
59232         * io/lxstat64.c: Likewise.
59233         * io/mkdir.c: Likewise.
59234         * io/mkdirat.c: Likewise.
59235         * io/mkfifo.c: Likewise.
59236         * io/mkfifoat.c: Likewise.
59237         * io/open.c: Likewise.
59238         * io/open64.c: Likewise.
59239         * io/openat.c: Likewise.
59240         * io/openat64.c: Likewise.
59241         * io/pipe.c: Likewise.
59242         * io/pipe2.c: Likewise.
59243         * io/poll.c: Likewise.
59244         * io/posix_fadvise.c: Likewise.
59245         * io/posix_fadvise64.c: Likewise.
59246         * io/posix_fallocate.c: Likewise.
59247         * io/posix_fallocate64.c: Likewise.
59248         * io/read.c: Likewise.
59249         * io/readlink.c: Likewise.
59250         * io/readlinkat.c: Likewise.
59251         * io/rmdir.c: Likewise.
59252         * io/sendfile.c: Likewise.
59253         * io/sendfile64.c: Likewise.
59254         * io/statfs.c: Likewise.
59255         * io/statfs64.c: Likewise.
59256         * io/statvfs.c: Likewise.
59257         * io/statvfs64.c: Likewise.
59258         * io/symlink.c: Likewise.
59259         * io/symlinkat.c: Likewise.
59260         * io/ttyname.c: Likewise.
59261         * io/ttyname_r.c: Likewise.
59262         * io/umask.c: Likewise.
59263         * io/unlink.c: Likewise.
59264         * io/unlinkat.c: Likewise.
59265         * io/utime.c: Likewise.
59266         * io/utimensat.c: Likewise.
59267         * io/write.c: Likewise.
59268         * io/xmknod.c: Likewise.
59269         * io/xmknodat.c: Likewise.
59270         * io/xstat.c: Likewise.
59271         * io/xstat64.c: Likewise.
59272         * login/getpt.c: Likewise.
59273         * login/grantpt.c: Likewise.
59274         * login/unlockpt.c: Likewise.
59275         * math/e_acoshl.c: Likewise.
59276         * math/e_acosl.c: Likewise.
59277         * math/e_asinl.c: Likewise.
59278         * math/e_atan2l.c: Likewise.
59279         * math/e_atanhl.c: Likewise.
59280         * math/e_coshl.c: Likewise.
59281         * math/e_expl.c: Likewise.
59282         * math/e_fmodl.c: Likewise.
59283         * math/e_gammal_r.c: Likewise.
59284         * math/e_hypotl.c: Likewise.
59285         * math/e_j0l.c: Likewise.
59286         * math/e_j1l.c: Likewise.
59287         * math/e_jnl.c: Likewise.
59288         * math/e_lgammal_r.c: Likewise.
59289         * math/e_log10l.c: Likewise.
59290         * math/e_log2l.c: Likewise.
59291         * math/e_logl.c: Likewise.
59292         * math/e_powl.c: Likewise.
59293         * math/e_rem_pio2l.c: Likewise.
59294         * math/e_sinhl.c: Likewise.
59295         * math/e_sqrtl.c: Likewise.
59296         * math/fclrexcpt.c: Likewise.
59297         * math/fedisblxcpt.c: Likewise.
59298         * math/feenablxcpt.c: Likewise.
59299         * math/fegetenv.c: Likewise.
59300         * math/fegetexcept.c: Likewise.
59301         * math/fegetround.c: Likewise.
59302         * math/feholdexcpt.c: Likewise.
59303         * math/fesetenv.c: Likewise.
59304         * math/fesetround.c: Likewise.
59305         * math/feupdateenv.c: Likewise.
59306         * math/fgetexcptflg.c: Likewise.
59307         * math/fraiseexcpt.c: Likewise.
59308         * math/fsetexcptflg.c: Likewise.
59309         * math/ftestexcept.c: Likewise.
59310         * math/k_cosl.c: Likewise.
59311         * math/k_rem_pio2l.c: Likewise.
59312         * math/k_sinl.c: Likewise.
59313         * math/k_tanl.c: Likewise.
59314         * math/s_asinhl.c: Likewise.
59315         * math/s_atanl.c: Likewise.
59316         * math/s_cbrtl.c: Likewise.
59317         * math/s_erfl.c: Likewise.
59318         * math/s_expm1l.c: Likewise.
59319         * math/s_log1pl.c: Likewise.
59320         * math/s_tanhl.c: Likewise.
59321         * misc/acct.c: Likewise.
59322         * misc/brk.c: Likewise.
59323         * misc/chflags.c: Likewise.
59324         * misc/chroot.c: Likewise.
59325         * misc/fchflags.c: Likewise.
59326         * misc/fgetxattr.c: Likewise.
59327         * misc/flistxattr.c: Likewise.
59328         * misc/fremovexattr.c: Likewise.
59329         * misc/fsetxattr.c: Likewise.
59330         * misc/fsync.c: Likewise.
59331         * misc/ftruncate.c: Likewise.
59332         * misc/futimes.c: Likewise.
59333         * misc/futimesat.c: Likewise.
59334         * misc/getdomain.c: Likewise.
59335         * misc/getdtsz.c: Likewise.
59336         * misc/gethostid.c: Likewise.
59337         * misc/gethostname.c: Likewise.
59338         * misc/getloadavg.c: Likewise.
59339         * misc/getpagesize.c: Likewise.
59340         * misc/getsysstats.c: Likewise.
59341         * misc/getxattr.c: Likewise.
59342         * misc/gtty.c: Likewise.
59343         * misc/ioctl.c: Likewise.
59344         * misc/lgetxattr.c: Likewise.
59345         * misc/listxattr.c: Likewise.
59346         * misc/llistxattr.c: Likewise.
59347         * misc/lremovexattr.c: Likewise.
59348         * misc/lsetxattr.c: Likewise.
59349         * misc/lutimes.c: Likewise.
59350         * misc/madvise.c: Likewise.
59351         * misc/mincore.c: Likewise.
59352         * misc/mlock.c: Likewise.
59353         * misc/mlockall.c: Likewise.
59354         * misc/mmap.c: Likewise.
59355         * misc/mprotect.c: Likewise.
59356         * misc/msync.c: Likewise.
59357         * misc/munlock.c: Likewise.
59358         * misc/munlockall.c: Likewise.
59359         * misc/munmap.c: Likewise.
59360         * misc/preadv.c: Likewise.
59361         * misc/preadv64.c: Likewise.
59362         * misc/ptrace.c: Likewise.
59363         * misc/pwritev.c: Likewise.
59364         * misc/pwritev64.c: Likewise.
59365         * misc/readv.c: Likewise.
59366         * misc/reboot.c: Likewise.
59367         * misc/remap_file_pages.c: Likewise.
59368         * misc/removexattr.c: Likewise.
59369         * misc/revoke.c: Likewise.
59370         * misc/select.c: Likewise.
59371         * misc/setdomain.c: Likewise.
59372         * misc/setegid.c: Likewise.
59373         * misc/seteuid.c: Likewise.
59374         * misc/sethostid.c: Likewise.
59375         * misc/sethostname.c: Likewise.
59376         * misc/setregid.c: Likewise.
59377         * misc/setreuid.c: Likewise.
59378         * misc/setxattr.c: Likewise.
59379         * misc/sstk.c: Likewise.
59380         * misc/stty.c: Likewise.
59381         * misc/swapoff.c: Likewise.
59382         * misc/swapon.c: Likewise.
59383         * misc/sync.c: Likewise.
59384         * misc/syncfs.c: Likewise.
59385         * misc/syscall.c: Likewise.
59386         * misc/truncate.c: Likewise.
59387         * misc/ualarm.c: Likewise.
59388         * misc/usleep.c: Likewise.
59389         * misc/ustat.c: Likewise.
59390         * misc/utimes.c: Likewise.
59391         * misc/vhangup.c: Likewise.
59392         * misc/writev.c: Likewise.
59393         * posix/_exit.c: Likewise.
59394         * posix/alarm.c: Likewise.
59395         * posix/execve.c: Likewise.
59396         * posix/fexecve.c: Likewise.
59397         * posix/fork.c: Likewise.
59398         * posix/fpathconf.c: Likewise.
59399         * posix/getaddrinfo.c: Likewise.
59400         * posix/getegid.c: Likewise.
59401         * posix/geteuid.c: Likewise.
59402         * posix/getgid.c: Likewise.
59403         * posix/getgroups.c: Likewise.
59404         * posix/getlogin.c: Likewise.
59405         * posix/getlogin_r.c: Likewise.
59406         * posix/getpgid.c: Likewise.
59407         * posix/getpid.c: Likewise.
59408         * posix/getppid.c: Likewise.
59409         * posix/getresgid.c: Likewise.
59410         * posix/getresuid.c: Likewise.
59411         * posix/getsid.c: Likewise.
59412         * posix/getuid.c: Likewise.
59413         * posix/glob64.c: Likewise.
59414         * posix/nanosleep.c: Likewise.
59415         * posix/pathconf.c: Likewise.
59416         * posix/pause.c: Likewise.
59417         * posix/posix_madvise.c: Likewise.
59418         * posix/pread.c: Likewise.
59419         * posix/pread64.c: Likewise.
59420         * posix/pwrite.c: Likewise.
59421         * posix/pwrite64.c: Likewise.
59422         * posix/sched_getaffinity.c: Likewise.
59423         * posix/sched_getp.c: Likewise.
59424         * posix/sched_gets.c: Likewise.
59425         * posix/sched_primax.c: Likewise.
59426         * posix/sched_primin.c: Likewise.
59427         * posix/sched_rr_gi.c: Likewise.
59428         * posix/sched_setaffinity.c: Likewise.
59429         * posix/sched_setp.c: Likewise.
59430         * posix/sched_sets.c: Likewise.
59431         * posix/sched_yield.c: Likewise.
59432         * posix/setgid.c: Likewise.
59433         * posix/setlogin.c: Likewise.
59434         * posix/setpgid.c: Likewise.
59435         * posix/setresgid.c: Likewise.
59436         * posix/setresuid.c: Likewise.
59437         * posix/setsid.c: Likewise.
59438         * posix/setuid.c: Likewise.
59439         * posix/sleep.c: Likewise.
59440         * posix/spawni.c: Likewise.
59441         * posix/sysconf.c: Likewise.
59442         * posix/times.c: Likewise.
59443         * posix/wait.c: Likewise.
59444         * posix/wait3.c: Likewise.
59445         * posix/wait4.c: Likewise.
59446         * posix/waitpid.c: Likewise.
59447         * resolv/gai_sigqueue.c: Likewise.
59448         * resource/getpriority.c: Likewise.
59449         * resource/getrlimit.c: Likewise.
59450         * resource/getrusage.c: Likewise.
59451         * resource/nice.c: Likewise.
59452         * resource/setpriority.c: Likewise.
59453         * resource/setrlimit.c: Likewise.
59454         * resource/ulimit.c: Likewise.
59455         * rt/aio_cancel.c: Likewise.
59456         * rt/aio_fsync.c: Likewise.
59457         * rt/aio_read.c: Likewise.
59458         * rt/aio_sigqueue.c: Likewise.
59459         * rt/aio_suspend.c: Likewise.
59460         * rt/aio_write.c: Likewise.
59461         * rt/clock_getres.c: Likewise.
59462         * rt/clock_gettime.c: Likewise.
59463         * rt/clock_nanosleep.c: Likewise.
59464         * rt/clock_settime.c: Likewise.
59465         * rt/lio_listio.c: Likewise.
59466         * rt/mq_close.c: Likewise.
59467         * rt/mq_getattr.c: Likewise.
59468         * rt/mq_notify.c: Likewise.
59469         * rt/mq_open.c: Likewise.
59470         * rt/mq_receive.c: Likewise.
59471         * rt/mq_send.c: Likewise.
59472         * rt/mq_setattr.c: Likewise.
59473         * rt/mq_timedreceive.c: Likewise.
59474         * rt/mq_timedsend.c: Likewise.
59475         * rt/mq_unlink.c: Likewise.
59476         * rt/shm_open.c: Likewise.
59477         * rt/shm_unlink.c: Likewise.
59478         * rt/timer_create.c: Likewise.
59479         * rt/timer_delete.c: Likewise.
59480         * rt/timer_getoverr.c: Likewise.
59481         * rt/timer_gettime.c: Likewise.
59482         * rt/timer_settime.c: Likewise.
59483         * setjmp/__longjmp.c: Likewise.
59484         * setjmp/setjmp.c: Likewise.
59485         * signal/kill.c: Likewise.
59486         * signal/killpg.c: Likewise.
59487         * signal/raise.c: Likewise.
59488         * signal/sigaction.c: Likewise.
59489         * signal/sigaltstack.c: Likewise.
59490         * signal/sigblock.c: Likewise.
59491         * signal/sigignore.c: Likewise.
59492         * signal/sigintr.c: Likewise.
59493         * signal/signal.c: Likewise.
59494         * signal/sigpause.c: Likewise.
59495         * signal/sigpending.c: Likewise.
59496         * signal/sigqueue.c: Likewise.
59497         * signal/sigreturn.c: Likewise.
59498         * signal/sigset.c: Likewise.
59499         * signal/sigsetmask.c: Likewise.
59500         * signal/sigstack.c: Likewise.
59501         * signal/sigsuspend.c: Likewise.
59502         * signal/sigtimedwait.c: Likewise.
59503         * signal/sigvec.c: Likewise.
59504         * signal/sigwait.c: Likewise.
59505         * signal/sigwaitinfo.c: Likewise.
59506         * signal/sysv_signal.c: Likewise.
59507         * socket/accept.c: Likewise.
59508         * socket/accept4.c: Likewise.
59509         * socket/bind.c: Likewise.
59510         * socket/connect.c: Likewise.
59511         * socket/getpeername.c: Likewise.
59512         * socket/getsockname.c: Likewise.
59513         * socket/getsockopt.c: Likewise.
59514         * socket/isfdtype.c: Likewise.
59515         * socket/listen.c: Likewise.
59516         * socket/recv.c: Likewise.
59517         * socket/recvfrom.c: Likewise.
59518         * socket/recvmsg.c: Likewise.
59519         * socket/send.c: Likewise.
59520         * socket/sendmsg.c: Likewise.
59521         * socket/sendto.c: Likewise.
59522         * socket/setsockopt.c: Likewise.
59523         * socket/shutdown.c: Likewise.
59524         * socket/sockatmark.c: Likewise.
59525         * socket/socket.c: Likewise.
59526         * socket/socketpair.c: Likewise.
59527         * stdio-common/ctermid.c: Likewise.
59528         * stdio-common/cuserid.c: Likewise.
59529         * stdio-common/remove.c: Likewise.
59530         * stdio-common/rename.c: Likewise.
59531         * stdio-common/renameat.c: Likewise.
59532         * stdio-common/tempname.c: Likewise.
59533         * stdlib/getcontext.c: Likewise.
59534         * stdlib/makecontext.c: Likewise.
59535         * stdlib/setcontext.c: Likewise.
59536         * stdlib/swapcontext.c: Likewise.
59537         * stdlib/system.c: Likewise.
59538         * streams/fattach.c: Likewise.
59539         * streams/fdetach.c: Likewise.
59540         * streams/getmsg.c: Likewise.
59541         * streams/getpmsg.c: Likewise.
59542         * streams/putmsg.c: Likewise.
59543         * streams/putpmsg.c: Likewise.
59544         * sysdeps/unix/bsd/getpt.c: Likewise.
59545         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59546         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59547         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59549         Likewise.
59550         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59551         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59552         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59553         * sysvipc/msgctl.c: Likewise.
59554         * sysvipc/msgget.c: Likewise.
59555         * sysvipc/msgrcv.c: Likewise.
59556         * sysvipc/msgsnd.c: Likewise.
59557         * sysvipc/semctl.c: Likewise.
59558         * sysvipc/semget.c: Likewise.
59559         * sysvipc/semop.c: Likewise.
59560         * sysvipc/semtimedop.c: Likewise.
59561         * sysvipc/shmat.c: Likewise.
59562         * sysvipc/shmctl.c: Likewise.
59563         * sysvipc/shmdt.c: Likewise.
59564         * sysvipc/shmget.c: Likewise.
59565         * termios/tcdrain.c: Likewise.
59566         * termios/tcflow.c: Likewise.
59567         * termios/tcflush.c: Likewise.
59568         * termios/tcgetattr.c: Likewise.
59569         * termios/tcgetpgrp.c: Likewise.
59570         * termios/tcsendbrk.c: Likewise.
59571         * termios/tcsetattr.c: Likewise.
59572         * termios/tcsetpgrp.c: Likewise.
59573         * time/adjtime.c: Likewise.
59574         * time/clock.c: Likewise.
59575         * time/getitimer.c: Likewise.
59576         * time/gettimeofday.c: Likewise.
59577         * time/setitimer.c: Likewise.
59578         * time/settimeofday.c: Likewise.
59579         * time/stime.c: Likewise.
59580         * time/time.c: Likewise.
59582 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59584         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59585         /usr/old/bin.
59587         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59588         instead of spaces.
59589         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59591 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59593         [BZ #14796]
59594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59595         FE_TONEAREST before applying Dekker multiplication and Knuth
59596         addition.  Clear inexact exceptions and check for exact zero
59597         results afterwards.
59598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59599         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59600         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59601         * math/libm-test.inc (fma_test): Add more tests.
59602         (fma_test_towardzero): Likewise.
59603         (fma_test_downward): Likewise.
59604         (fma_test_upward): Likewise.
59605         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59606         function.
59607         (libc_fesetround): New macro.
59608         (libc_fesetroundf): Likewise.
59609         (libc_fesetroundl): Likewise.
59610         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59611         function.
59612         (libc_fesetround_387): Likewise.
59613         (libc_fesetroundf): New macro.
59614         (libc_fesetround): Likewise.
59615         (libc_fesetroundl): Likewise.
59616         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59617         function.
59618         (libc_fesetroundf): New macro.
59619         (libc_fesetround): Likewise.
59620         (libc_fesetroundl): Likewise.
59621         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59622         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59623         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59624         libm_hidden_ver.
59625         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59626         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59627         libm_hidden_def.
59628         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59629         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59630         libm_hidden_ver.
59631         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59632         libm_hidden_def.
59634         [BZ #3439]
59635         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59636         integer constant usable in #if and use that to give value to enum
59637         constant.
59638         (FE_DIVBYZERO): Likewise.
59639         (FE_UNDERFLOW): Likewise.
59640         (FE_OVERFLOW): Likewise.
59641         (FE_INVALID): Likewise.
59642         (FE_INVALID_SNAN): Likewise.
59643         (FE_INVALID_ISI): Likewise.
59644         (FE_INVALID_IDI): Likewise.
59645         (FE_INVALID_ZDZ): Likewise.
59646         (FE_INVALID_IMZ): Likewise.
59647         (FE_INVALID_COMPARE): Likewise.
59648         (FE_INVALID_SOFTWARE): Likewise.
59649         (FE_INVALID_SQRT): Likewise.
59650         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59651         (FE_TONEAREST): Likewise.
59652         (FE_TOWARDZERO): Likewise.
59653         (FE_UPWARD): Likewise.
59654         (FE_DOWNWARD): Likewise.
59655         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59656         (FE_DIVBYZERO): Likewise.
59657         (FE_OVERFLOW): Likewise.
59658         (FE_UNDERFLOW): Likewise.
59659         (FE_INEXACT): Likewise.
59660         (FE_TONEAREST): Likewise.
59661         (FE_DOWNWARD): Likewise.
59662         (FE_UPWARD): Likewise.
59663         (FE_TOWARDZERO): Likewise.
59664         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59665         (FE_UNDERFLOW): Likewise.
59666         (FE_OVERFLOW): Likewise.
59667         (FE_DIVBYZERO): Likewise.
59668         (FE_INVALID): Likewise.
59669         (FE_TONEAREST): Likewise.
59670         (FE_TOWARDZERO): Likewise.
59671         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59672         (FE_OVERFLOW): Likewise.
59673         (FE_UNDERFLOW): Likewise.
59674         (FE_DIVBYZERO): Likewise.
59675         (FE_INEXACT): Likewise.
59676         (FE_TONEAREST): Likewise.
59677         (FE_TOWARDZERO): Likewise.
59678         (FE_UPWARD): Likewise.
59679         (FE_DOWNWARD): Likewise.
59680         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59681         (FE_DIVBYZERO): Likewise.
59682         (FE_OVERFLOW): Likewise.
59683         (FE_UNDERFLOW): Likewise.
59684         (FE_INEXACT): Likewise.
59685         (FE_TONEAREST): Likewise.
59686         (FE_DOWNWARD): Likewise.
59687         (FE_UPWARD): Likewise.
59688         (FE_TOWARDZERO): Likewise.
59690 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59692         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59694 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59696         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59697         commands.  Quote $PWD.
59698         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59699         -x" by "export".
59700         (remove_newlines): Remove.
59702 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59704         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59705         * stdlib/stdlib.h (atof): Moved to ...
59706         * include/bits/stdlib-float.h: Here.  New file.
59707         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59708         * stdlib/bits/stdlib-float.h: New file.
59709         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59710         -mno-sse -mno-mmx.
59711         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59712         <xmmintrin.h>.
59714 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59716         * conform/conformtest.pl (@headers): Add fenv.h.
59717         * conform/data/fenv.h-data: New file.
59718         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59719         include of <math/fenv.h>.
59721         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59722         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59723         && !UNIX98].  Enables tests for XOPEN2K8.
59724         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59725         POSIX2008]: Likewise.
59727         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59728         (struct rusage): Do not expect type or its members.
59730         [BZ #3439]
59731         * math/math.h (FP_NAN): Define macro to integer constant usable in
59732         #if and use that to give value to enum constant.
59733         (FP_INFINITE): Likewise.
59734         (FP_ZERO): Likewise.
59735         (FP_SUBNORMAL): Likewise.
59736         (FP_NORMAL): Likewise.
59738 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59740         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59741         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59742         arguments.
59744 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59746         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59747         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59748         autoconf-time if not.
59749         * configure.in: Remove AC_PREREQ.
59751 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59753         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59754         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59755         of the internal implementation.
59757 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59759         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59760         except include of <misc/sys/syslog.h>.
59762 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59765         function returns with a NULL context exit with zero.
59767 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59769         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59771 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59773         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59774         (run_program_cmd): This.
59775         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59776         (tst_langinfo): New variable.  Use it.
59778 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59780         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59781         floating point opcodes.
59783 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59785         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59786         variable.
59788         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59790         * sysdeps/mach/hurd/powerpc: Remove directory.
59791         * sysdeps/mach/powerpc: Likewise.
59793 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59795         * scripts/check-local-headers.sh: Ignore c++ headers.
59797 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59799         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59800         __libc_cleanup_region_start argument.
59802 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59804         [BZ #14784]
59805         [BZ #14785]
59806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59807         x * y using scaling, not as x * y + z.
59808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59810         * math/libm-test.inc (fma_test): Add more tests.
59811         (fma_test_towardzero): Likewise.
59812         (fma_test_downward): Likewise.
59813         (fma_test_upward): Likewise.
59815 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59817         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59819 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59821         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59822         New variable.
59824 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59826         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59828 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59831         Fix sort order.
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59833         Likewise.
59835 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59838         Fix the order of the list for glibc 2.17.
59839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59840         Likewise.
59842 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59846 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59848         [BZ #14610]
59849         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59850         for low part of x being zero before using __atanl (y).
59851         * math/libm-test.inc (atan2_test): Add another test.
59853         * manual/install.texi (Configuring and compiling): Document
59854         general use of test-wrapper and test-wrapper-env.
59855         * INSTALL: Regenerated.
59857         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59858         (__fma): Do not extract and scale down low bits on after-rounding
59859         systems when result rounded to normal precision would have normal
59860         exponent.
59861         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59862         (__fmal): Do not extract and scale down low bits on after-rounding
59863         systems when result rounded to normal precision would have normal
59864         exponent.
59865         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59866         (__fmal): Do not extract and scale down low bits on after-rounding
59867         systems when result rounded to normal precision would have normal
59868         exponent.
59869         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59870         macro.
59871         (fma_test): Add more tests.
59872         (fma_test_towardzero): Likewise.
59873         (fma_test_downward): Likewise.
59874         (fma_test_upward): Likewise.
59876 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59878         * sysdeps/i386/tininess.h: Renamed to ...
59879         * sysdeps/x86/tininess.h: This.
59880         * sysdeps/x86_64/tininess.h: Removed.
59882 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59884         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59885         input.  Use $(build-program-cmd).
59886         ($(objpfx)tst-array1-static.out): Likewise.
59887         ($(objpfx)tst-array2.out): Likewise.
59888         ($(objpfx)tst-array3.out): Likewise.
59889         ($(objpfx)tst-array4.out): Likewise.
59890         ($(objpfx)tst-array5.out): Likewise.
59891         ($(objpfx)tst-array5-static.out): Likewise.
59893 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59895         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59896         if defined.
59898         * nss/nsswitch.h (nss_interface_function): Provide new
59899         macro for use with NSS functions.
59900         * grp/initgroups.c: Use new macro.
59901         * nss/getXXbyYY.c: Likewise.
59902         * nss/getXXbyYY_r.c: Likewise.
59903         * nss/getXXent.c: Likewise.
59904         * nss/getXXent_r.c: Likewise.
59905         * sysdeps/posix/getaddrinfo.c: Likewise.
59907 2012-10-30  Andreas Jaeger  <aj@suse.de>
59909         * po/ru.po: Update Russion translation from translation project.
59911 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59913         [BZ #14152]
59914         [BZ #14783]
59915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59916         result and shift together with sticky bit instead of replicating
59917         round-to-nearest rounding.
59918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59920         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59921         missing underflow exceptions.
59922         (fma_test_towardzero): Add more tests.
59923         (fma_test_downward): Likewise.
59924         (fma_test_upward): Likewise.
59926         [BZ #14047]
59927         * sysdeps/generic/tininess.h: New file.
59928         * sysdeps/i386/tininess.h: Likewise.
59929         * sysdeps/sh/tininess.h: Likewise.
59930         * sysdeps/x86_64/tininess.h: Likewise.
59931         * stdlib/tst-strtod-underflow.c: Likewise.
59932         * stdlib/tst-tininess.c: Likewise.
59933         * stdlib/strtod_l.c: Include <tininess.h>.
59934         (round_and_return): Do not set errno for exact underflow cases.
59935         Force an underflow exception when setting errno for underflow.
59936         Determine underflow based on rounding to normal precision if
59937         TININESS_AFTER_ROUNDING.
59938         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59939         ERANGE for exact underflow cases.
59940         * stdlib/Makefile (tests): Add tst-tininess and
59941         tst-strtod-underflow.
59942         ($(objpfx)tst-tininess): Use $(link-libm).
59943         ($(objpfx)tst-strtod-underflow): Likewise.
59945 2012-10-30  Andreas Jaeger  <aj@suse.de>
59947         [BZ#14767]
59948         * elf/Makefile (tests): Remove conditional for have-initfini-array
59949         since this is now always required and the variable does not exist
59950         anymore.
59951         (tests-static): Likewise.
59952         (modules-names): Likewise.
59954         * po/eo.po: Add Esperanto translation from translation project.
59956         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59957         merged with constructor/destructor.
59958         (init_array): Likewise.
59959         * elf/tst-array2dep.c (fini_array): Likewise.
59960         (init_array): Likewise.
59962 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59964         * manual/message.texi: Delete @cartouche tags.
59966 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59968         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59969         EOPNOTSUPP.
59970         * sysdeps/mach/hurd/fsync.c: Likewise.
59972         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59973         [_POSIX_REALTIME_SIGNALS]: Change condition to
59974         [_POSIX_REALTIME_SIGNALS > 0].
59976 2012-10-27  Andreas Jaeger  <aj@suse.de>
59978         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59979         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59980         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59981         [__WORDSIZE != 64]: Likewise.
59983 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59985         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59986         *  iconvdata/tst-tables.sh: Likewise.
59988 2012-10-25  David S. Miller  <davem@davemloft.net>
59990         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59991         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59992         of strtoull.
59994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59995         ifunc-impl-list.c
59996         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59997         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59998         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59999         file.
60001 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60004         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60005         __getdirentries.
60007 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60008             Jim Blandy  <jimb@codesourcery.com>
60010         * scripts/cross-test-ssh.sh: New file.
60011         * manual/install.texi (Configuring and compiling): Document use of
60012         cross-test-ssh.sh.
60013         * INSTALL: Regenerated.
60015 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60017         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60018         EOPNOTSUPP.
60020 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60022         * Makeconfig (run-program-prefix): Fix comment.
60024 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60025             Jim Blandy  <jimb@codesourcery.com>
60027         * Makeconfig (test-wrapper): New variable,
60028         (test-wrapper-env): Likewise.
60029         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60030         (run-built-tests): Define to yes.
60031         (run-program-prefix): Use $(test-wrapper).
60032         (built-program-cmd): Likewise.
60033         * Rules (make-test-out): Use $(test-wrapper-env) and
60034         $(host-built-program-cmd).
60035         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60036         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60037         tst-pathopt.sh.
60038         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60039         $(test-wrapper-env) to tst-rtld-load-self.sh.
60040         ($(objpfx)order2.out): Use $(test-wrapper).
60041         ($(objpfx)tst-initorder.out): Likewise.
60042         ($(objpfx)tst-initorder2.out): Likewise.
60043         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60044         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60045         (test_wrapper_env): New variable.  Use it to run ld.so.
60046         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60047         Use it to run ld.so.
60048         (test_wrapper_env): Likewise.
60049         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60050         $(test-wrapper) to run-iconv-test.sh.
60051         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60052         (ICONV): Use $test_wrapper.
60053         * posix/Makefile ($(objpfx)globtest.out): Pass
60054         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60055         globtest.sh, not $(run-program-prefix).
60056         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60057         (test_wrapper): Likewise.
60058         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60059         set together with run_via_rtld_prefix.
60060         (run_program_prefix): Define in terms of test_wrapper and
60061         run_via_rtld_prefix.
60063 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60065         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60066         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60067         Targets removed.
60069         [BZ #14743]
60070         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60071         Declare __clock_getres, __clock_gettime, __clock_settime,
60072         __clock_nanosleep, and __clock_getcpuclockid.
60073         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60074         Remove librt_hidden_def (clock_gettime).
60075         * sysdeps/unix/clock_gettime.c: Likewise.
60076         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60078         * rt/clock_getres.c: Define __clock_getres as an alias.
60079         * sysdeps/posix/clock_getres.c: Likewise.
60080         * rt/clock_settime.c: Define __clock_settime as an alias.
60081         * sysdeps/unix/clock_settime.c: Likewise.
60082         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60083         * sysdeps/unix/clock_nanosleep.c: Likewise.
60084         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60085         * rt/clock-compat.c: New file.
60086         * rt/Makefile (librt-routines): Add clock-compat and move
60087         $(clock-routines) to ...
60088         (routines): ... here, new variable.
60089         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60090         Don't add get_clockfreq here.
60091         * rt/Versions (libc: GLIBC_2.17): New version set.
60092         Add clock_* symbols here.
60093         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60094         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60095         (GLIBC_2.17): Add clock_* symbols.
60096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60100         Likewise.
60101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60102         Likewise.
60103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60107         * NEWS: Mention the move.
60109         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60110         Use __open, __read, __close rather than their public counterparts.
60111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60112         (__get_clockfreq_via_cpuinfo): Likewise.
60113         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60114         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60116         * config.h.in (HAVE_IFUNC): New #undef.
60117         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60118         was successful.
60119         * configure: Regenerated.
60121 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60123         * configure.in: Move READELF check to start of file.
60124         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60125         libc_cv_asm_gnu_indirect_function in the process.
60126         * configure: Regenerated.
60128 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60130         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60131         send the output to /dev/null.
60132         (libc_cv_cc_with_libunwind): Likewise.
60133         (libc_cv_as_noexecstack): Likewise.
60134         * configure: Regenerate.
60136 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60138         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60140         * posix/globtest.sh (TMPDIR): Do not set.
60141         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60142         (testout): Likewise.
60144 2012-10-24  Andreas Jaeger  <aj@suse.de>
60146         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60147         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60148         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60149         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60150         posix_fadvise64, posix_fallocate64.
60152         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60153         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60154         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60155         Likewise.
60156         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60157         Likewise.
60158         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60161         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60162         <bits/fcntl-linux.h>.
60163         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60166         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60167         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60168         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60169         [__WORDSIZE != 64]: Likewise.
60171 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60173         * Makeconfig (run-built-tests): New variable.
60174         * Rules [$(cross-compiling) = yes]: Change condition to
60175         [$(run-built-tests) = no].
60176         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60177         to [$(run-built-tests) = yes].
60178         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60179         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60180         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60181         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60182         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60183         * io/Makefile [$(cross-compiling) = no]: Likewise.
60184         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60185         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60186         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60187         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60188         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60189         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60190         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60191         * string/Makefile [$(cross-compiling) = no]: Likewise.
60193         * posix/Makefile ($(objpfx)globtest.out): Pass
60194         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60195         $(rtld-installed-name).
60196         * posix/globtest.sh (elf_objpfx): Remove variable.
60197         (rtld_installed_name): Likewise.
60198         (library_path): Likewise.
60199         (run_program_prefix): New variable.  Use for running globtest
60200         binary.
60202 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60203             Joseph Myers  <joseph@codesourcery.com>
60205         * Makeconfig (host-built-program-cmd): New variable.
60206         * elf/Makefile (tst-stackguard1-ARGS): Use
60207         $(host-built-program-cmd).
60208         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60209         (tst-spawn-ARGS): Likewise.
60210         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60212 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60213             Jim Blandy  <jimb@codesourcery.com>
60215         * Makeconfig (run-via-rtld-prefix): New variable.
60216         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60217         (built-program-cmd): Likewise.
60219 2012-10-22  Andreas Jaeger  <aj@suse.de>
60221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60222         __O_RSYNC if it exists, otherwise to O_SYNC.
60224 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60225             Joseph Myers  <joseph@codesourcery.com>
60227         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60228         /dev/null.
60229         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60230         from /dev/null
60231         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60232         /dev/null.
60234 2012-10-22  Andreas Jaeger  <aj@suse.de>
60236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60237         Define always.
60238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60241         bits/fcntl-linux.h.
60243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60244         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60247         to __O_LARGEFILE.
60248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60249         to __O_LARGEFILE.
60251 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60252             Joseph Myers  <joseph@codesourcery.com>
60254         * config.make.in (NM): New variable.
60256 2012-10-21  Andreas Jaeger  <aj@suse.de>
60258         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60259         definitions and declarations that are provided by
60260         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60262 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60264         [BZ #14683]
60265         * elf/Makefile (tests-static): Add tst-leaks1-static.
60266         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60267         ($(objpfx)tst-leaks1-static): New rule.
60268         ($(objpfx)tst-leaks1-static-mem): Likewise.
60269         (tst-leaks1-static-ENV): New macro.
60270         * elf/dl-open.c (dl_open_worker): Check the main application
60271         only if SHARED is defined.
60272         * elf/tst-leaks1-static.c: New file.
60274 2012-10-20  Andreas Jaeger  <aj@suse.de>
60276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60277         generic values for Linux.
60278         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60279         and declarations that are provided by <bits/fcntl-linux.h> and
60280         include <bits/fcntl-linux.h>.
60281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60284 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60286         * io/fcntl.h: Move include of <bits/types.h> to the top and
60287         include it unconditionally.
60289 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60291         * wcsmbs/Makefile (tests-ifunc): New variable.
60292         (tests): Add $(tests-ifunc).
60293         * wcsmbs/test-wcschr-ifunc.c: New file.
60294         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60295         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60296         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60297         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60298         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60300         * string/Makefile (tests-ifunc): New variable.
60301         (tests): Add $(tests-ifunc).
60302         * string/test-memccpy.c (TEST_NAME): New macro.
60303         * string/test-memchr.c (TEST_NAME): Likewise.
60304         * string/test-memcmp.c (TEST_NAME): Likewise.
60305         * string/test-memcpy.c (TEST_NAME): Likewise.
60306         * string/test-memmem.c (TEST_NAME): Likewise.
60307         * string/test-memmove.c (TEST_NAME): Likewise.
60308         * string/test-memset.c (TEST_NAME): Likewise.
60309         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60310         * string/test-stpcpy.c (TEST_NAME): Likewise.
60311         * string/test-stpncpy.c (TEST_NAME): Likewise.
60312         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60313         * string/test-strcasestr.c (TEST_NAME): Likewise.
60314         * string/test-strcat.c (TEST_NAME): Likewise.
60315         * string/test-strchr.c (TEST_NAME): Likewise.
60316         * string/test-strcmp.c(TEST_NAME): Likewise.
60317         * string/test-strcpy.c (TEST_NAME): Likewise.
60318         * string/test-strcspn.c (TEST_NAME): Likewise.
60319         * string/test-strlen.c (TEST_NAME): Likewise.
60320         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60321         * string/test-strncmp.c (TEST_NAME): Likewise.
60322         * string/test-strncpy.c (TEST_NAME): Likewise.
60323         * string/test-strnlen.c (TEST_NAME): Likewise.
60324         * string/test-strpbrk.c (TEST_NAME): Likewise.
60325         * string/test-strrchr.c (TEST_NAME): Likewise.
60326         * string/test-strspn.c (TEST_NAME): Likewise.
60327         * string/test-strstr.c (TEST_NAME): Likewise.
60328         * string/test-bcopy-ifunc.c: New file.
60329         * string/test-bzero-ifunc.c: Likewise.
60330         * string/test-memccpy-ifunc.c: Likewise.
60331         * string/test-memchr-ifunc.c: Likewise.
60332         * string/test-memcmp-ifunc.c: Likewise.
60333         * string/test-memcpy-ifunc.c: Likewise.
60334         * string/test-memmem-ifunc.c: Likewise.
60335         * string/test-memmove-ifunc.c: Likewise.
60336         * string/test-mempcpy-ifunc.c: Likewise.
60337         * string/test-memset-ifunc.c: Likewise.
60338         * string/test-rawmemchr-ifunc.c: Likewise.
60339         * string/test-stpcpy-ifunc.c: Likewise.
60340         * string/test-stpncpy-ifunc.c: Likewise.
60341         * string/test-strcasecmp-ifunc.c: Likewise.
60342         * string/test-strcasestr-ifunc.c: Likewise.
60343         * string/test-strcat-ifunc.c: Likewise.
60344         * string/test-strchr-ifunc.c: Likewise.
60345         * string/test-strchrnul-ifunc.c: Likewise.
60346         * string/test-strcmp-ifunc.c: Likewise.
60347         * string/test-strcpy-ifunc.c: Likewise.
60348         * string/test-strcspn-ifunc.c: Likewise.
60349         * string/test-strlen-ifunc.c: Likewise.
60350         * string/test-strncasecmp-ifunc.c: Likewise.
60351         * string/test-strncat-ifunc.c: Likewise.
60352         * string/test-strncmp-ifunc.c: Likewise.
60353         * string/test-strncpy-ifunc.c: Likewise.
60354         * string/test-strnlen-ifunc.c: Likewise.
60355         * string/test-strpbrk-ifunc.c: Likewise.
60356         * string/test-strrchr-ifunc.c: Likewise.
60357         * string/test-strspn-ifunc.c: Likewise.
60358         * string/test-strstr-ifunc.c: Likewise.
60360         * debug/Makefile (tests-ifunc): New variable.
60361         (tests): Add $(tests-ifunc).
60362         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60363         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60364         * debug/test-stpcpy_chk-ifunc.c: New file.
60365         * debug/test-strcpy_chk-ifunc.c: Likewise.
60367 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60369         [BZ #13601]
60370         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60371         header is not read in.
60373 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60375         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60376         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60377         directly.  Pass built executable to script as
60378         $(built-program-cmd).
60379         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60380         $testprogram without using LD_LIBRARY_PATH and $ldso.
60382         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60383         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60384         $(rtld-installed-name).
60385         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60386         (rtld_installed_name): Likewise.
60387         (library_path): Likewise.
60388         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60389         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60390         $(run-program-prefix) to tst-tables.sh.
60391         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60392         it to run tst-table-from and tst-table-to.
60393         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60394         Pass it to tst-table.sh.
60395         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60396         $(run-program-prefix) to tst-gettext.sh.
60397         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60398         tst-translit.sh.
60399         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60400         tst-gettext2.sh.
60401         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60402         to run tst-gettext.
60403         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60404         to run tst-gettext2.
60405         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60406         to run tst-translit.
60407         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60408         $(run-program-prefix) to tst-mtrace.sh.
60409         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60410         to run tst-mtrace.
60411         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60412         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60413         $(rtld-installed-name).
60414         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60415         (rtld_installed_name): Likewise.
60416         (run_program_prefix): New variable.  Use it to run wordexp-test.
60418         * Makeconfig (ARCH): Remove all definitions.
60419         (machine): Likewise.
60420         [ARCH]: Remove conditional code.
60421         [!objdir]: Give error.
60422         [!objdir] (objpfx): Remove.
60423         [!objdir] (common-objpfx): Likewise.
60424         [!objdir] (common-objdir): Likewise.
60425         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60426         AC_CONFIG_FILES call.
60427         * configure: Regenerated.
60429         [BZ #13888]
60430         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60431         or TMPDIR.
60432         (testout): Likewise.
60434         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60435         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60436         $(rtld-installed-name).
60437         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60438         (rtld_installed_name): Likwise.
60439         (runit): Remove function.
60440         (run_getconf): New variable,  Use it for running getconf binary.
60442 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60444         [BZ #14716]
60445         * string/test-memmem.c (check_result): New function.
60446         (do_one_test): Use it.
60447         (check1): New function.
60448         (test_main): Use it.
60450 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60452         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60454 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60456         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60457         (_G_LSEEK64): Likewise.
60458         (_G_MMAP64): Likewise.
60459         (_G_FSTAT64): Likewise.
60460         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60461         (_G_LSEEK64): Likewise.
60462         (_G_MMAP64): Likewise.
60463         (_G_FSTAT64): Likewise.
60464         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60465         unconditional.  Call __mmap64 directly.
60466         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60467         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60468         __lseek64 directly.
60469         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60470         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60471         __mmap64 directly.
60472         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60473         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60474         __lseek64 directly.
60475         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60476         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60477         __lseek64 directly.
60478         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60479         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60480         __lseek64 directly.
60481         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60482         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60483         __fxstat64 directly.
60484         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60485         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60486         unconditional.
60487         (freopen64) [!_G_OPEN64]: Remove conditional code.
60488         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60489         unconditional.
60490         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60491         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60492         unconditional.
60493         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60494         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60495         unconditional.
60496         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60497         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60498         unconditional.
60499         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60500         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60501         unconditional.
60502         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60503         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60504         unconditional.
60505         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60506         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60507         unconditional.
60508         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60510 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60512         [BZ #12140]
60513         * manual/memory.texi (Malloc Tunable Parameters): Add note
60514         about free list pointers overwriting some perturb bytes.
60515         Wording suggested by Roland McGrath.
60517 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60519         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60520         (lgamma_test): Likewise.
60521         (tgamma_test): Likewise.
60523 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60525         [BZ #14700]
60526         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60527         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60529 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60531         * NEWS: Mention BZ #14716.
60532         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60533         when removing AVAILABLE1_USES_J macro.
60535 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60537         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60538         (__bswap_64): __uint64_t for unsigned 64-bit int.
60540 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60542         * include/string.h (memmem): Declare libc hidden alias.
60543         * string/memmem.c (memmem): Define libc hidden alias.
60544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60545         __read, __close instead of open, read, close.
60547 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60550         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60551         global and hidden.
60552         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60553         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60554         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60555         Likewise.
60556         (__rawmemchr_sse2): Likewise.
60557         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60558         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60559         (__strchr_sse2): Likewise.
60560         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60561         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60562         (__strcasecmp_sse2): Likewise.
60563         (__strncasecmp_sse2): Likewise.
60564         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60565         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60566         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60567         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60568         (__strrchr_sse2): Likewise.
60569         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60570         ifunc-impl-list.c.
60571         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60572         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60573         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60574         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60575         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60576         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60577         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60578         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60579         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60580         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60581         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60582         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60583         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60584         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60585         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60586         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60587         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60588         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60589         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60590         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60591         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60592         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60593         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60594         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60595         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60596         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60597         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60598         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60599         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60600         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60602         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60603         global and hidden.
60604         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60605         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60606         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60607         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60608         Likewise.
60609         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60610         Likewise.
60611         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60612         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60613         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60614         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60615         ifunc-impl-list.c.
60616         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60617         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60618         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60619         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60620         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60621         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60622         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60623         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60624         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60625         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60626         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60627         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60628         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60629         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60630         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60631         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60632         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60633         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60634         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60635         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60637         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60638         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60639         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60640         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60641         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60642         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60643         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60644         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60645         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60646         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60647         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60648         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60649         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60650         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60651         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60652         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60653         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60654         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60655         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60656         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60658         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60659         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60660         * include/ifunc-impl-list.h: New file.
60661         * misc/ifunc-impl-list.c: Likewise.
60662         * misc/Makefile (routines): Add ifunc-impl-list.
60663         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60664         * string/test-string.h: Include <ifunc-impl-list.h>.
60665         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60666         TEST_NAME]: New variables.
60667         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60668         are defined.
60669         (test_init): Call __libc_ifunc_impl_list to initialize
60670         func_list if TEST_IFUNC and TEST_NAME are defined.
60672         * string/Makefile (strop-tests): Add bcopy and bzero.
60673         * string/test-bcopy.c: New file.
60674         * string/test-bzero.c: Likewise.
60675         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60676         defined.
60677         * string/test-memset.c: Support bzero test if TEST_BZERO is
60678         defined.
60679         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60680         __libc_memmove.
60681         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60682         __libc_memset.
60683         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60684         of memset.
60686 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60688         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60689         * configure: Regenerated.
60691         * Makeconfig (+link-static-before-libc): Don't include
60692         $(link-static-libc).
60694         * libio/libio.h (_IO_pos_t): Remove.
60696 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60698         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60699         McGrath.
60701 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60703         * crypt/crypt-entry.c: Include fips-private.h.
60704         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60705         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60706         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60707         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60709 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60711         * crypt/crypt-private.h: Include stdbool.h.
60712         (_ufc_setup_salt_r): Return bool.
60713         * crypt/crypt-entry.c: Include errno.h.
60714         (__crypt_r): Return NULL with EINVAL for bad salt.
60715         * crypt/crypt_util.c (bad_for_salt): New.
60716         (_ufc_setup_salt_r): Check that salt is long enough and within
60717         the specified alphabet.
60718         * crypt/badsalttest.c: New file.
60719         * crypt/Makefile (tests): Add it.
60720         ($(objpfx)badsalttest): New.
60722 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60724         * NEWS: Add entry for BZ #14602.
60726 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60728         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60729         type-generic.
60730         * math/libm-test.inc: Update comment listing what functions and
60731         macros are tested.
60732         (isgreater_test): New function.
60733         (isgreaterequal_test): Likewise.
60734         (isless_test): Likewise.
60735         (islessequal_test): Likewise.
60736         (islessgreater_test): Likewise.
60737         (isunordered_test): Likewise.
60738         (main): Call the new functions.
60740 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60742         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60743         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60744         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60745         * sysdeps/i386/configure: Regenerated.
60746         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60747         * sysdeps/mach/configure: Regenerated.
60748         * sysdeps/mach/hurd/configure: Regenerated.
60749         * sysdeps/powerpc/configure: Regenerated.
60750         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60751         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60752         * sysdeps/s390/s390-32/configure: Regenerated.
60753         * sysdeps/s390/s390-64/configure: Regenerated.
60754         * sysdeps/sh/configure: Regenerated.
60755         * sysdeps/sparc/configure: Regenerated.
60756         * sysdeps/unix/sysv/linux/configure: Regenerated.
60757         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60758         * sysdeps/x86_64/configure: Regenerated.
60760         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60761         defined.  Don't check if MAP is NULL.
60763 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60765         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60766         (_G_stat64): Likewise.
60767         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60768         (_G_stat64): Likewise.
60769         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60770         instead of struct _G_stat64.
60771         * libio/fileops.c (mmap_remap_check): Likewise.
60772         (decide_maybe_mmap): Likewise.
60773         (_IO_new_file_seekoff): Likewise.
60774         (_IO_file_stat): Likewise.
60775         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60776         _G_off64_t.
60777         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60778         instead of struct _G_stat64.
60779         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60781 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60783         [BZ #14602]
60784         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60785         Replace with ...
60786         (CHECK_EOL): New macro.
60787         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60788         CHECK_EOL.
60789         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60790         Replace with CHECK_EOL.
60791         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60792         Replace with CHECK_EOL.
60794 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60796         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60797         type-generic.
60798         * math/libm-test.inc: Update comment listing what functions and
60799         macros are tested.
60800         (finite_test): New function.
60801         (isinf_test): Likewise.
60802         (isnan_test): Likewise.
60803         (fpclassify_test): Test subnormal input.
60804         (isfinite_test): Likewise.
60805         (isnormal_test): Likewise.
60806         (main): Call the new functions.
60808 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60810         [BZ #14660]
60811         * Makerules (%.dynsym): Force C locale when running
60812         $(OBJDUMP) --dynamic-syms.
60814 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60816         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60817         <stdint.h>.
60819 2012-10-06  David S. Miller  <davem@davemloft.net>
60821         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60822         upper 32-bits of the length value in %o2 since we use branch-on-register
60823         tests which consider the entire 64-bit register.
60825 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60827         * string/test-strstr.c (check2): Add a test for page boundary.
60829 2012-10-05  David S. Miller  <davem@davemloft.net>
60831         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60832         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60833         file.
60834         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60835         sysdep_routines.
60836         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60837         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60838         and bzero when HWCAP_SPARC_CRYPTO is present.
60840 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60842         [BZ #14602]
60843         * string/test-strstr.c (check2): New function.
60844         (test_main): Call check2.
60846         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60847         and bug-strchr1.
60848         * string/bug-strcasestr1.c (do_test): Moved to ...
60849         * string/test-strcasestr.c (check1): Here.  New function.
60850         (do_one_test): Break out result checking code into ...
60851         (check_result): This.  New function.
60852         (do_one_test): Call check_result.
60853         (test_main): Call check1.
60854         * string/bug-strchr1.c (do_test): Moved to ...
60855         * string/test-strchr.c (check1): Here.  New function.
60856         (do_one_test): Break out result checking code into ...
60857         (check_result): This.  New function.
60858         (do_one_test): Call check_result.
60859         (test_main): Call check1.
60860         * string/bug-strstr1.c (main): Moved to ...
60861         * string/test-strstr.c (check1): Here.  New function.
60862         (do_one_test): Break out result checking code into ...
60863         (check_result): This.  New function.
60864         (do_one_test): Call check_result.
60865         (test_main): Call check1.
60866         * string/bug-strcasestr1.c: Removed.
60867         * string/bug-strchr1.c: Likewise.
60868         * string/bug-strstr1.c: Likewise.
60870         * elf/Makefile (dl-routines): Add hwcaps.
60871         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60872         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60873         (_dl_important_hwcaps): Moved to ...
60874         * elf/dl-hwcaps.c: Here.  New file.
60875         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60877         [BZ #14557]
60878         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60879         if IS_IN_rtld isn't defined.
60881         * elf/dl-support.c (_dl_sysinfo_map): New.
60882         Include "get-dynamic-info.h" and "setup-vdso.h".
60883         (_dl_non_dynamic_init): Call setup_vdso.
60884         * elf/dynamic-link.h: Don't include <assert.h>.
60885         (elf_get_dynamic_info): Moved to ...
60886         * elf/get-dynamic-info.h: Here.  New file.
60887         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60888         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60889         * elf/setup-vdso.h: Here.  New file.
60890         * elf/rtld.c: Include "setup-vdso.h".
60891         (dl_main): Call setup_vdso.
60893 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60895         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60896         creal in comment listing functions tested.  List finite, isinf,
60897         isnan, isless, islessequal, isgreater, isgreaterequal,
60898         islessgreater, isunordered, lgamma_r and pow10 as functions and
60899         macros not tested.  Mention which functions not tested are aliases
60900         for other functions.  Fix typo.  Note that signs of NaNs are not
60901         tested.
60903         * scripts/config.guess: Update from config.git.
60904         * scripts/config.sub: Likewise.
60906 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60908         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60909         * misc/madvise.c (madvise): Renamed to __madvise.
60910         Make madvise a weak alias.
60911         * include/sys/mman.h: Declare __madvise.
60912         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60913         * sysdeps/unix/syscalls.list
60914         (madvise): Make __madvise the strong name, and madvise a weak alias.
60915         * sysdeps/unix/sysv/linux/syscalls.list
60916         (madvise, mmap): Remove redundant entries.
60917         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60918         * malloc/malloc.c (mtrim): Likewise.
60919         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60921 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60923         * sysdeps/mach/hurd/dl-cache.c: File removed.
60924         * config.h.in (USE_LDCONFIG): New #undef.
60925         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60926         * configure: Regenerated.
60927         * elf/Makefile (dl-routines): Add dl-cache only under
60928         [$(use-ldconfig) = yes].
60929         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60930         cache on [USE_LDCONFIG].
60931         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60932         [USE_LDCONFIG].
60933         * elf/rtld.c (dl_main): Likewise.
60935 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60937         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60938         _SC_LEVEL4_CACHE_LINESIZE.
60940 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60942         * sysdeps/unix/bsd/confstr.h: File removed.
60944 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60946         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60947         sys/sdt-config.h.
60949 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60951         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60952         Make 'mapoff' field ElfW(Off) rather than off_t.
60954 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60956         * nscd/Makefile: Remove nscd-cflags and all its users.
60957         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60958         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60960         [BZ #10631]
60961         * malloc.c (malloc_printerr): Clarify error message.
60963 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60965         [BZ #14648]
60966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60967         Set bit_FMA_Usable if FMA is supported.
60968         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60969         macro.
60970         (bit_FMA4_Usable): Updated.
60971         (index_FMA_Usable): New macro.
60972         (CPUID_FMA): Likewise.
60973         (HAS_FMA): Defined with bit_FMA_Usable.
60975 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60977         * bits/types.h (__swblk_t): Type removed.
60978         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60979         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60981         (__SWBLK_T_TYPE): Likewise.
60982         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60983         (__SWBLK_T_TYPE): Likewise.
60984         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60985         (__SWBLK_T_TYPE): Likewise.
60986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60987         (__SWBLK_T_TYPE): Likewise.
60989 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60990             Honza Horak <hhorak@redhat.com>
60992         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60993         (xdr_mapname): Use YPMAXMAP as maxsize.
60994         (xdr_peername): Use YPMAXPEER as maxsize.
60995         (xdr_keydat): Use YPAXRECORD as maxsize.
60996         (xdr_valdat): Use YPMAXRECORD as maxsize.
60998 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61000         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61002         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61003         * csu/init-first.c: ... here.
61004         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61005         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61006         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61007         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61008         * sysdeps/i386/init-first.c: File removed.
61009         * sysdeps/sh/init-first.c: File removed.
61011 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61013         [BZ #14645]
61014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61015         if x * y might underflow to zero and z is zero.
61016         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61018         * math/libm-test.inc (min_subnorm_value): New variable.
61019         (fma_test): Add more tests.
61020         (fma_test_towardzero): Likewise.
61021         (fma_test_downward): Likewise.
61022         (fma_test_upward): Likewise.
61023         (initialize): Set min_subnorm_value.
61025 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61027         [BZ #14638]
61028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61029         0 + 0.
61030         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61031         mode for addition resulting in exact zero.
61032         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61034         exact 0 + 0.
61035         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61036         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61037         * math/libm-test.inc (fma_test): Add more tests.
61038         (fma_test_towardzero): New function.
61039         (fma_test_downward): Likewise.
61040         (fma_test_upward): Likewise.
61041         (main): Call the new functions.
61043 2012-09-28  David S. Miller  <davem@davemloft.net>
61045         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61047 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61049         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61050         instead of SIGALRM.
61052         * sysdeps/gnu/_G_config.h: Moved to ...
61053         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61054         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61055         * sysdeps/generic/_G_config.h: ... here.
61057         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61059         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61061         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61062         Conditionalize target on [libnss_test1.so-version].
61064         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61066         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61067         (elfobjdir): Move out of conditionals.
61069         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61070         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61071         (__nss_lookup_function): Conditionalize label remove_from_tree on
61072         [!DO_STATIC_NSS || SHARED], matching its only use.
61074 2012-09-28  David S. Miller  <davem@davemloft.net>
61076         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61077         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61078         file.
61079         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61080         sysdep_routines.
61081         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61083         when HWCAP_SPARC_CRYPTO is present.
61085 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61087         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61089 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61091         [BZ #6530]
61092         * stdio-common/vfprintf.c (process_string_arg): Revert
61093         2000-07-22 change.
61095 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61097         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61098         for testcase.
61099         * stdio-common/tst-sprintf.c: Include <locale.h>
61100         (main): Test sprintf's handling of incomplete multibyte
61101         characters.
61103 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61105         * elf/dl-runtime.c (VERSYMIDX): Removed.
61106         * elf/dl-version.c (VERSYMIDX): Likewise.
61107         * elf/do-rel.h (VERSYMIDX): Likewise.
61108         (VALIDX): Likewise.
61109         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61110         * elf/rtld.c (VALIDX): Likewise.
61111         (ADDRIDX): Likewise.
61112         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61113         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61114         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61115         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61116         (VALIDX): Likewise.
61117         (ADDRIDX): Likewise.
61119 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61121         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61123 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61125         [BZ #11438]
61126         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61127         to global scope.
61128         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61129         addresses are in the same scope as 192.0.2/24.
61130         * posix/gai.conf: Document new scope table defaults.
61132 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61134         [BZ #5298]
61135         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61136         for ftell.  Compute offsets from write pointers instead.
61137         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61139 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61141         [BZ #14543]
61142         * libio/Makefile (tests): New test case tst-fseek.
61143         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61144         combination works in wide mode.
61145         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61146         state when the external buffer state changes.
61148 2012-09-27  David S. Miller  <davem@davemloft.net>
61150         [BZ #14376]
61151         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61152         pass reloc->r_addend in as the 'high' argument to
61153         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61157 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61159         * rt/tst-aio2.c: Include <pthread.h>.
61160         * rt/tst-aio3.c: Likewise.
61162 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61164         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61166 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61168         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61169         contents on [SHARED].
61171 2012-09-26  Marek Polacek  <polacek@redhat.com>
61173         [BZ #14530]
61174         [BZ #13741]
61175         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61176         for C++ and GCC <4.3 as well as for non GCC compilers.
61178 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61182 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61184         * Makefile.in (all, install): Declare with .PHONY.
61185         Reported by Michael Hope <michael.hope@linaro.org>.
61187 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61189         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61190         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61191         system header.
61192         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61193         Likewise.
61194         (sydep_routines): Add the new and the internal functions.
61195         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61196         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61198         (GLIBC_2.17): Add the new function.
61199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61200         (GLIBC_2.17): Likewise.
61201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61202         (GLIBC_2.17): Likewise.
61203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61204         (GLIBC_2.17): Likewise.
61205         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61207 2012-09-25  Alan Modra  <amodra@gmail.com>
61209         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61210         Add release barrier before setting once_control to say
61211         initialisation is done.  Add hints on lwarx.  Use macro in
61212         place of isync.
61213         (clear_once_control): Add release barrier.
61215 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61217         [BZ #13629]
61218         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61219         specially.
61220         * math/s_clog10.c (__clog10): Likewise.
61221         * math/s_clog10f.c (__clog10f): Likewise.
61222         * math/s_clog10l.c (__clog10l): Likewise.
61223         * math/s_clogf.c (__clogf): Likewise.
61224         * math/s_clogl.c (__clogl): Likewise.
61225         * math/Makefile (libm-calls): Add x2y2m1.
61226         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61227         (__x2y2m1): Likewise.
61228         (__x2y2m1l): Likewise.
61229         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61230         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61231         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61232         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61233         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61234         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61235         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61236         * sysdeps/i386/fpu/libm-test-ulps: Update.
61237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61239         [BZ #14621]
61240         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61241         int as type of variable DEPTH.
61242         (glob): Use size_t instead of int as type of variables NEWCOUNT
61243         and OLD_PATHC.
61245 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61247         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61248         Add s_sincosf-sse2.
61249         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61250         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61251         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61252         macros for using routine as __sincosf_ia32.
61253         Use macro for function declaration and weak_alias.
61254         * sysdeps/i386/fpu/libm-test-ulps: Update.
61256         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61259         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61260         subnormal argument.
61261         * math/s_cexpf.c (__cexpf): Likewise.
61262         * math/s_csinf.c (__csinf): Likewise.
61263         * math/s_csinhf.c (__csinhf): Likewise.
61264         * math/s_ctanf.c (__ctanf): Likewise.
61265         * math/s_ctanhf.c (__ctanhf): Likewise.
61266         * math/s_ccosh.c (__ccoshf): Likewise.
61267         * math/s_cexp.c (__cexpl): Likewise.
61268         * math/s_csin.c (__csin): Likewise.
61269         * math/s_csinh.c (__csinh): Likewise.
61270         * math/s_ctan.c (__ctan): Likewise.
61271         * math/s_ctanh.c (ctanh): Likewise.
61272         * math/s_ccoshl.c (__ccoshl): Likewise.
61273         * math/s_cexpl.c (__cexpl): Likewise.
61274         * math/s_csinl.c (__csinl): Likewise.
61275         * math/s_csinhl.c (__csinhl): Likewise.
61276         * math/s_ctanl.c (__ctanl): Likewise.
61277         * math/s_ctanhl.c (__ctanhl): Likewise.
61279 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61281         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61282         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61283         (_IO_off_t): Define to __off_t, not _G_off_t.
61284         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61285         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61286         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61287         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61288         type of __dummy and __dummy2 fields.
61289         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61290         (_G_ssize_t): Likewise.
61291         (_G_off_t): Likewise.
61292         (_G_pid_t): Likewise.
61293         (_G_uid_t): Likewise.
61294         (_G_wchar_t): Likewise.
61295         (_G_wint_t): Likewise.
61296         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61297         (_G_ssize_t): Likewise.
61298         (_G_off_t): Likewise.
61299         (_G_pid_t): Likewise.
61300         (_G_uid_t): Likewise.
61301         (_G_wchar_t): Likewise.
61302         (_G_wint_t): Likewise.
61303         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61304         (_G_ssize_t): Likewise.
61305         (_G_off_t): Likewise.
61306         (_G_pid_t): Likewise.
61307         (_G_uid_t): Likewise.
61308         (_G_wchar_t): Likewise.
61309         (_G_wint_t): Likewise.
61311 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61313         * malloc/arena.c: Include malloc-sysdep.h.
61314         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61315         is sufficient to shrink the heap or an unmap is needed.
61316         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61317         new function check_may_shrink_heap.
61318         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61319         new function check_may_shrink_heap.
61321 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61323         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61324         comments.
61326 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61328         * catgets/test-gencat.sh: Add "set -e".
61329         * elf/tst-pathopt.sh: Likewise.
61330         * grp/tst_fgetgrent.sh: Likewise.
61331         * iconvdata/run-iconv-test.sh: Likewise.
61332         * intl/tst-gettext.sh: Likewise.
61333         * intl/tst-gettext2.sh: Likewise.
61334         * intl/tst-gettext4.sh: Likewise.
61335         * intl/tst-gettext6.sh: Likewise.
61336         * intl/tst-translit.sh: Likewise.
61337         * io/ftwtest-sh: Likewise.
61338         * libio/test-freopen.sh: Likewise.
61339         * malloc/tst-mtrace.sh: Likewise.
61340         * posix/globtest.sh: Likewise.
61341         * posix/tst-getconf.sh: Likewise.
61342         * posix/wordexp-tst.sh: Likewise.
61343         * stdio-common/tst-printf.sh: Likewise.
61344         * stdio-common/tst-unbputc.sh: Likewise.
61345         * stdlib/tst-fmtmsg.sh: Likewise.
61346         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61347         * catgets/Makefile: Do not specify -e option when running
61348         testsuite shell scripts.
61349         * elf/Makefile: Likewise.
61350         * grp/Makefile: Likewise.
61351         * iconvdata/Makefile: Likewise.
61352         * intl/Makefile: Likewise.
61353         * io/Makefile: Likewise.
61354         * libio/Makefile: Likewise.
61355         * malloc/Makefile: Likewise.
61356         * posix/Makefile: Likewise.
61357         * stdio-common/Makefile: Likewise.
61358         * stdlib/Makefile: Likewise.
61359         * sysdeps/x86_64/Makefile: Likewise.
61361         * io/ftwtest-sh: Add copyright header.
61362         * posix/globtest.sh: Likewise.
61363         * posix/tst-getconf.sh: Likewise.
61364         * posix/wordexp-tst.sh: Likewise.
61365         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61367 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61369         [BZ #13679]
61370         * Makeconfig (+link): Defined as $(+link-static) if
61371         $(build-shared) isn't yes.
61372         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61373         isn't yes.
61374         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61376         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61378         [BZ #14562]
61379         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61380         new chunk size with MALLOC_ALIGN_MASK.
61382 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61384         [BZ #5044]
61385         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61386         <rounding-mode.h>.
61387         (__printf_fphex): Determine rounding using get_rounding_mode and
61388         round_away.
61389         * stdio-common/tst-printf-round.c (struct hex_test): New
61390         structure.
61391         (hex_tests): New variable.
61392         (test_hex_in_one_mode): New function.
61393         (do_test): Also run tests for hex float output.
61395 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61397         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61398         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61399         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61400         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61401         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61402         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61403         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61404         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61406 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61408         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61409         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61410         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61411         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61413 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61415         [BZ #14579]
61416         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61417         mode only.
61418         * elf/tst-rtld-load-self.sh: New test.
61419         * elf/Makefile: Run it.
61421 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61423         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61424         (tst-writev-ENV): Remove.
61425         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61427 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61429         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61431 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61433         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61434         unconditional.
61435         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61436         Likewise.
61437         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61438         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61439         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61440         Likewise.
61442 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61444         [BZ #14587]
61445         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61446         * config.make.in (have-cpp-asm-debuginfo): Removed.
61447         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61448         * configure: Regenerated.
61450 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61452         [BZ #5044]
61453         * stdio-common/printf_fp.c: Include <stdbool.h> and
61454         <rounding-mode.h>.
61455         (___printf_fp): Determine rounding using get_rounding_mode and
61456         round_away.
61457         * stdio-common/tst-printf-round.c: New file.
61458         * stdio-common/Makefile (tests): Add tst-printf-round.
61459         (link-libm): New variable.
61460         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61462 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61464         [BZ #14576]
61465         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61466         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61467         Likewise.
61468         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61469         Likewise.
61471 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61473         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61474         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61475         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61476         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61478 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61480         [BZ #14518]
61481         * include/rounding-mode.h: New file.
61482         * sysdeps/generic/get-rounding-mode.h: Likewise.
61483         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61484         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61485         (MAX_VALUE): New macro.
61486         (MIN_VALUE): Likewise.
61487         (overflow_value): New function.
61488         (underflow_value): Likewise.
61489         (round_and_return): Use overflow_value and underflow_value to
61490         determine return values in overflow and underflow cases.  Use
61491         round_away to determine rounding depending on rounding mode.
61492         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61493         determine return values in overflow and underflow cases.
61494         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61495         (struct test_results): New structure.
61496         (struct test): Use struct test_results to store expected results
61497         for all rounding modes.
61498         (TEST): Include expected results for all rounding modes.
61499         (test_in_one_mode): New function.
61500         (do_test): Use test_in_one_mode to compute and check results.
61501         Check results for all rounding modes.
61502         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61503         $(link-libm).
61505 2012-12-09  Allan McRae  <allan@archlinux.org>
61507         * sysdeps/i386/fpu/libm-test-ulps: Update
61509 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61511         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61512         (_G_int32_t): Likewise.
61513         (_G_uint16_t): Likewise.
61514         (_G_uint32_t): Likewise.
61515         (_G_HAVE_BOOL): Likewise.
61516         (_G_HAVE_ATEXIT): Likewise.
61517         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61518         (_G_HAVE_IO_FILE_OPEN): Likewise.
61519         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61520         (_G_int32_t): Likewise.
61521         (_G_uint16_t): Likewise.
61522         (_G_uint32_t): Likewise.
61523         (_G_HAVE_BOOL): Likewise.
61524         (_G_HAVE_ATEXIT): Likewise.
61525         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61526         (_G_HAVE_IO_FILE_OPEN): Likewise.
61527         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61528         (_G_int32_t): Likewise.
61529         (_G_uint16_t): Likewise.
61530         (_G_uint32_t): Likewise.
61531         (_G_HAVE_BOOL): Likewise.
61532         (_G_HAVE_ATEXIT): Likewise.
61533         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61534         (_G_HAVE_IO_FILE_OPEN): Likewise.
61536 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61538         * csu/libc-tls.c: Update copyright years.
61540 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61542         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61543         [!_G_USING_THUNKS]: Remove conditional code.
61544         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61545         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61547         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61548         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61549         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61550         (_G_VTABLE_LABEL_PREFIX): Likewise.
61551         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61552         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61553         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61554         (_G_VTABLE_LABEL_PREFIX): Likewise.
61555         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61556         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61557         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61558         (_G_VTABLE_LABEL_PREFIX): Likewise.
61559         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61561 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61563         * libio/Makefile: Include ../Makeconfig before tests.
61564         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61565         only if $(build-shared) is yes.
61567         * iconv/gconv_db.c: Update copyright years.
61569 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61571         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61572         unwind info if defined PIC. Fix special cases description.
61573         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61575         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61576         DP_HI_MASK entry.
61577         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61579 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61581         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61583         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61584         is NULL.
61586         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61587         (LDLIBS-tst-chk4): This.
61588         (LDFLAGS-tst-chk5): Renamed to ...
61589         (LDLIBS-tst-chk5): This.
61590         (LDFLAGS-tst-chk6): Renamed to ...
61591         (LDLIBS-tst-chk6): This.
61592         (LDFLAGS-tst-lfschk4): Renamed to ...
61593         (LDLIBS-tst-lfschk4): This.
61594         (LDFLAGS-tst-lfschk5): Renamed to ...
61595         (LDLIBS-tst-lfschk5): This.
61596         (LDFLAGS-tst-lfschk6): Renamed to ...
61597         (LDLIBS-tst-lfschk6): This.
61599         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61600         on $(common-objpfx)soversions.mk.
61602 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61604         [BZ #10014]
61605         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61606         example host name.
61608 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61610         * malloc/arena.c (arena_get_retry): New function that gets
61611         another arena for the caller to try its request on.
61612         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61613         current arena cannot fulfill the request.
61614         (__libc_memalign): Likewise.
61615         (__libc_memalign): Likewise.
61616         (__libc_pvalloc): Likewise.
61617         (__libc_calloc): Likewise.
61619 2012-09-05  John Tobey  <john.tobey@gmail.com>
61621         [BZ #13542]
61622         * manual/arith.texi (Operations on Complex): Fix description
61623         of carg branch cut.
61625 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61627         [BZ #10014]
61628         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61629         host name.
61631         [BZ #10038]
61632         * manual/memory.texi (Memory): Make order of menu items match
61633         order of sections.
61635 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61637         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61638         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61639         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61641 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61643         * csu/libc-tls.c (static_dtv): Renamed to ...
61644         (_dl_static_dtv): This.  Make it global.
61645         (_dl_initial_dtv): Removed.
61646         (__libc_setup_tls): Updated.
61647         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61648         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61649         DL_INITIAL_DTV.
61651 2012-09-06  Petr Machata  <pmachata@redhat.com>
61653         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61654         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61655         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61656         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61658 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61660         [BZ #14545]
61661         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61662         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61663         freeing dtv[-1].
61665 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61667         [BZ #14544]
61668         * Makeconfig (link-static-before-libc): Replace $(+prector)
61669         with $(+prectorT).
61670         (link-static-after-libc): Replace $(+postctor) with
61671         $(+postctorT).
61672         (link-bounded): Replace $(+prector)/$(+postctor) with
61673         $(+prectorT)/$(+postctorT).
61674         (+prectorT): New macro.
61675         (+postctorT): Likewise.
61677 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61679         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61680         (round_str): Handle values above the maximum for IBM long double
61681         as inexact.
61682         * stdlib/tst-strtod-round.c (tests): Regenerated.
61684 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61686         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61687         assembler flag.
61688         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61689         zarch_nohighgprs around the zarch optimized routines.
61690         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61691         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61692         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61693         for zarch.
61695 2012-09-05  David S. Miller  <davem@davemloft.net>
61697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61699         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61700         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61701         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61702         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61703         entries.
61705 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61707         * malloc/arena.c: Fold copyright years.
61708         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61710 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61712         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61714 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61716         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61718 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61720         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61721         change internal state upon failure.
61723 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61725         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61726         * malloc/memusage.c (mmap): Likewise.
61727         (mmap64, mremap): Likewise.  Adjust name in comment.
61729 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61731         * libio/fileops.c: Fix typos in comments.
61732         * libio/oldfileops.c: Likewise.
61733         * libio/wfileops.c: Likewise.
61735 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61737         [BZ #1349]
61738         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61739         (tst-malloc-usable-ENV): Set environment for test case.
61740         * malloc/hooks.c (malloc_check_get_size): New function to get
61741         requested size.
61742         * malloc/malloc.c (musable): Use malloc_check_get_size.
61743         * malloc/tst-malloc-usable.c: New test case.
61745 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61747         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61749 2012-09-05  Allan McRae  <allan@archlinux.org>
61751         [BZ #13966]
61752         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61753         determine header location.
61754         * configure: Regenerated.
61756 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61758         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61759         float format.
61760         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61761         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61762         format.
61763         (test): Regenerate.
61765 2012-09-04  David S. Miller  <davem@davemloft.net>
61767         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61768         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61769         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61771 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61773         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61774         failures.
61776         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61778 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61780         [BZ #9914]
61781         * libio/iogetdelim.c: Include <limits.h>.
61782         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61783         + len + 1 would overflow.
61785 2012-09-03  Andreas Jaeger  <aj@suse.de>
61787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61788         * sysdeps/i386/fpu/libm-test-ulps: Update.
61790 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61792         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61793         Add s_sinf-sse2, s_conf-sse2.
61795         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61796         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61797         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61798         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61800         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61801         for using routine as __sinf_ia32.
61802         Use macro for function declaration and weak_alias.
61803         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61804         for using routine as __cosf_ia32.
61805         Use macro for function declaration and weak_alias.
61807         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61808         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61810         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61811         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61814         * math/libm-test.inc (cos_test): Add more test cases.
61815         (sin_test): Likewise.
61816         (sincos_test): Likewise.
61818 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61820         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61821         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61822         hidden.
61823         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61825 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61827         [BZ #14538]
61828         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61829         first element of the GOT.
61830         (elf_machine_load_address): Return the difference between
61831         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61833 2012-09-01  Allan McRae  <allan@archlinux.org>
61835         [BZ #13412]
61836         * configure.in (AWK): Require gawk version 3.0 or later.
61837         * configure: Regenerated.
61839 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61841         * sysdeps/unix/sysv/linux/kernel-features.h
61842         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61844         [__NR_clock_getres]: Make code unconditional.
61845         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61846         (clock_getcpuclockid): Remove code left unreachable by removal of
61847         conditionals.
61848         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61849         code unconditional.
61850         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61851         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61852         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61853         Make code unconditional.
61854         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61855         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61856         * sysdeps/unix/sysv/linux/clock_settime.c
61857         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61858         conditional code.
61859         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61860         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61862 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61864         [BZ #14476]
61865         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61866         scripts/test-installation.pl.
61868         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61869         and $ld_so_version if it is set.
61871 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61873         [BZ #14516]
61874         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61875         failure if reading from procfs failed.
61876         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61878 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61880         * sysdeps/unix/sysv/linux/kernel-features.h
61881         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61882         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61883         Remove conditional code.
61884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61885         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61886         Remove conditional code.
61887         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61888         * sysdeps/unix/sysv/linux/i386/fxstat.c
61889         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61890         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61891         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61892         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61894         * sysdeps/unix/sysv/linux/i386/lxstat.c
61895         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61897         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61898         Remove conditional code.
61899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61900         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61901         Remove conditional code.
61902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61903         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61904         <kernel-features.h>.
61905         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61906         Remove.
61907         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61908         Remove conditional code.
61909         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61910         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61911         Remove conditional.
61913 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61915         [BZ #5400]
61916         * NEWS: Add fixed bug number.
61918 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61920         [BZ #14519]
61921         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61922         underflowing exponent in case of negative sign.
61923         * stdlib/tst-strtod-round-data: Add more tests.
61924         * stdlib/tst-strtod-round.c (tests): Regenerated.
61926         [BZ #3479]
61927         * stdlib/strtod_l.c (NDIG): Remove.
61928         (HEXNDIG): Likewise.
61929         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61930         smallest representable value.
61931         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61932         lie within an exact representation of 1/2 ulp of the result.
61933         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61934         unconditionally.
61935         (TENS_P9_IDX): Define unconditionally.
61936         (TENS_P9_SIZE): Likewise.
61937         (TENS_P10_IDX): Likewise.
61938         (TENS_P10_SIZE): Likewise.
61939         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61940         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61941         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61942         entries for 10^2^13 and 10^2^14.
61943         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61944         (TENS_P13_IDX): Define.
61945         (TENS_P13_SIZE): Likewise.
61946         (TENS_P14_IDX): Likewise.
61947         (TENS_P14_SIZE): Likewise.
61948         (_fpioconst_pow10): Change array size to
61949         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61950         unconditional.
61951         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61952         1024]: Add entries for 10^2^13 and 10^2^14.
61953         [LAST_POW10 > _LAST_POW10]: Remove #error.
61954         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61955         (_fpioconst_pow10): Change array size to
61956         FPIOCONST_POW10_ARRAY_SIZE.
61957         * stdlib/gen-fpioconst.c: New file.
61958         * stdlib/gen-tst-strtod-round.c: Likewise.
61959         * stdlib/tst-strtod-round-data: Likewise.
61960         * stdlib/tst-strtod-round.c: Likewise.
61961         * stdlib/Makefile (tests): Add tst-strtod-round.
61963         [BZ #14459]
61964         * stdlib/strtod_l.c: Include <stdint.h>.
61965         (NDEBUG): Do not define.
61966         (round_and_return): Change EXPONENT parameter to type intmax_t.
61967         Rearrange calculations to avoid internal overflow possibilities.
61968         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61969         Rearrange calculations to avoid internal overflow possibilities.
61970         Assert that number fits inside MPNSIZE limbs.
61971         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61972         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61973         calculations and add assertions to avoid internal overflow
61974         possibilities.  Add casts to avoid signed/unsigned operations.
61975         * stdlib/tst-strtod-overflow.c: New file.
61976         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61978 2012-08-25  Marek Polacek  <polacek@redhat.com>
61980         * time/time.h: Fix some typos in comments.
61982 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61984         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61985         * posix/tst-rfc3484-2.c: Likewise.
61986         * posix/tst-rfc3484-3.c: Likewise.
61988 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61990         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61991         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61993 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61995         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61996         #include of fxstatat64.c.
61998 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62000         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62001         * shadow/getspent_r.c: Likewise.
62002         * shadow/getspnam.c: Likewise.
62003         * shadow/getspnam_r.c: Likewise.
62004         * gshadow/getsgent.c: Likewise.
62005         * gshadow/getsgent_r.c: Likewise.
62006         * gshadow/getsgnam.c: Likewise.
62007         * gshadow/getsgnam_r.c: Likewise.
62008         * inet/getnetbyad.c: Likewise.
62009         * inet/getnetbyad_r.c: Likewise.
62010         * inet/getnetbynm.c: Likewise.
62011         * inet/getnetbynm_r.c: Likewise.
62012         * inet/getnetent.c: Likewise.
62013         * inet/getnetent_r.c: Likewise.
62014         * inet/getproto.c: Likewise.
62015         * inet/getproto_r.c: Likewise.
62016         * inet/getprtent.c: Likewise.
62017         * inet/getprtent_r.c: Likewise.
62018         * inet/getprtname.c: Likewise.
62019         * inet/getprtname_r.c: Likewise.
62020         * inet/getrpcbyname.c: Likewise.
62021         * inet/getrpcbyname_r.c: Likewise.
62022         * inet/getrpcbynumber.c: Likewise.
62023         * inet/getrpcbynumber_r.c: Likewise.
62024         * inet/getrpcent.c: Likewise.
62025         * inet/getrpcent_r.c: Likewise.
62026         * inet/getaliasent.c: Likewise.
62027         * inet/getaliasent_r.c: Likewise.
62028         * inet/getaliasname.c: Likewise.
62029         * inet/getaliasname_r.c: Likewise.
62030         * nscd/getgrgid_r.c: Likewise.
62031         * nscd/getgrnam_r.c: Likewise.
62032         * nscd/gethstbyad_r.c: Likewise.
62033         * nscd/gethstbynm3_r.c: Likewise.
62034         * nscd/getpwnam_r.c: Likewise.
62035         * nscd/getpwuid_r.c: Likewise.
62036         * nscd/getsrvbynm_r.c: Likewise.
62037         * nscd/getsrvbypt_r.c: Likewise.
62038         * nscd/gai.c: Likewise.
62040         * configure.in (build_nscd): New substituted variable, set
62041         by --disable-build-nscd and defaults to $use_nscd.
62042         * configure: Regenerated.
62043         * config.make.in (build-nscd): New substituted variable.
62044         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62045         Change conditional to require [$(build-nscd) = yes] as well.
62046         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62048         [BZ# 13696]
62049         * configure.in (use_nscd): New substituted variable, set by
62050         --disable-nscd.  If enabled, define USE_NSCD.
62051         * configure: Regenerated.
62052         * config.h.in: Add USE_NSCD.
62053         * config.make.in (use-nscd): New substituted variable.
62054         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62055         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62056         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62057         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62058         (CFLAGS-getgrnam_r.c): Likewise.
62059         (CFLAGS-initgroups.c): Likewise.
62060         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62061         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62062         Variables removed.
62063         * inet/getnetgrent_r.c
62064         (nscd_setnetgrent): New function, broken out of ...
62065         (setnetgrent): ... here.  Call it.
62066         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62067         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62068         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62069         * nscd/Makefile (routines, aux): Move definitions after include of
62070         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62071         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62072         Conditionalize on [USE_NSCD].
62073         (is_nscd, nscd_init_cb): Likewise.
62074         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62075         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62076         * nss/nss_db/db-init.c: Likewise.
62077         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62078         [USE_NSCD].
62079         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62080         (make_request): Use it.
62081         (cache_valid_p): New function.
62082         (__check_pf): Use it.
62083         * NEWS: Add item for --disable-nscd.
62085 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62087         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62088         to support sed >= 4.2.1-20-ga9bf076.
62089         * configure: Regenerated.
62091 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62093         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62094         Conditionalize whole body on [IREL].
62096 2012-08-22  Jeff Law <law@redhat.com>
62098         [BZ #14505]
62099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62100         if the family is PF_UNSPEC.
62102 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62104         * Makerules (lib-version): Rename from V.
62105         (install-lib-nosubdir): Change V to lib-version.
62107 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62109         [BZ #14252]
62110         * powerpc32/power6/wcschr.c: New file.
62111         * powerpc32/power6/wcscpy.c: New file.
62112         * powerpc32/power6/wcsrchr.c: New file.
62113         * powerpc64/power6/wcschr.c: New file.
62114         * powerpc64/power6/wcscpy.c: New file.
62115         * powerpc64/power6/wcsrchr.c: New file.
62117 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62119         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62120         (two_way_short_needle): Use it.
62121         * string/strstr.c (AVAILABLE1_USES_J): Define.
62122         * string/strcasestr.c: Likewise.
62124         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62125         array references.
62126         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62128         [BZ #11607]
62129         * NEWS: Add an entry.
62130         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62131         define their defaults.
62132         (two_way_short_needle): Detect end-of-string on-the-fly.
62133         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62134         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62135         * string/bug-strcasestr1.c: New test.
62136         * string/Makefile: Run it.
62138 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62140         [BZ #11607]
62141         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62142         the first character.
62144 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62146         * csu/elf-init.c (__libc_csu_irel): Function removed.
62147         * csu/libc-start.c (apply_irel): New function.
62148         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62150 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62152         * sysdeps/unix/sysv/linux/kernel-features.h
62153         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62154         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62155         <kernel-features.h>.
62156         [__NR_fadvise64_64]: Make code unconditional.
62157         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62158         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62159         !__NR_fadvise64_64)]: Likewise.
62160         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62161         !__NR_fadvise64_64))]: Likewise.
62162         [__NR_fadvise64]: Make code unconditional.
62163         [!__NR_fadvise64]: Remove conditional code.
62164         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62165         <kernel-features.h>.
62166         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62167         unconditional.
62168         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62169         conditional code.
62170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62171         not include <kernel-features.h>.
62172         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62173         unconditional.
62174         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62175         conditional code.
62176         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62177         include <kernel-features.h>.
62178         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62179         unconditional.
62180         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62181         conditional code.
62183 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62185         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62186         slight instruction rearrangements per scrollpipe analysis.
62187         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62189 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62191         * manual/syslog.texi (syslog; vsyslog, closelog):
62192         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62193         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62195         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62196         DSOCAPS to match condition on defining it.
62198 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62200         * sysdeps/unix/sysv/linux/kernel-features.h
62201         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62203         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62204         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62206         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62207         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62209         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62210         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62212         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62213         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62215         * sysdeps/unix/sysv/linux/kernel-features.h
62216         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62217         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62218         unconditional.
62219         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62220         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62221         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62222         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62223         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62224         Make code unconditional.
62225         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62226         (__mmap64) [!__NR_mmap2]: Likewise.
62227         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62228         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62229         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62230         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62231         [__NR_mmap2]: Make code unconditional.
62232         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62233         (__mmap64) [!__NR_mmap2]: Likewise.
62235 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62237         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62239 2012-08-18  Andreas Jaeger  <aj@suse.de>
62241         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62243 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62245         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62246         * include/unistd.h (__have_sock_cloexec): Likewise.
62247         (__have_pipe2): Likewise.
62248         (__have_dup3): Likewise.
62250 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62252         [BZ #9685]
62253         * include/unistd.h (__have_pipe2): Change define into an extern int.
62254         (__have_dup3): Likewise.
62255         * socket/have_sock_cloexec.c: Include fcntl.h.
62256         (__have_pipe2): New variable.
62257         (__have_dup3): Likewise.
62259 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62261         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62263 2012-08-17  Marek Polacek  <polacek@redhat.com>
62265         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62266         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62268 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62270         * configure.in: Add AC_SUBST for sysheaders.
62271         * configure: Regenerated.
62272         * config.make.in (sysheaders): New substituted variable.
62274         * sysdeps/unix/mkfifo.c: Moved ...
62275         * sysdeps/posix/mkfifo.c: ... here.
62276         * sysdeps/unix/mkfifoat.c: Moved ...
62277         * sysdeps/posix/mkfifoat.c: ... here.
62279         * sysdeps/unix/utime.c: Moved ...
62280         * sysdeps/posix/utime.c: ... here.
62282         * sysdeps/unix/time.c: Moved ...
62283         * sysdeps/posix/time.c: ... here.
62284         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62285         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62287         * sysdeps/unix/nice.c: Moved ...
62288         * sysdeps/posix/nice.c: ... here.
62290         * sysdeps/unix/alarm.c: Moved ...
62291         * sysdeps/posix/alarm.c: ... here.
62293         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62295 2012-08-17  Jeff Law <law@redhat.com>
62297         * intl/Makefile (codeset_mo): New variable.
62298         ($(codeset_mo)): New target.
62299         (tst-codeset.out): Depend on that.  Remove explicit rule.
62300         (tst-gettext3.out, tst-gettext5.out): Likewise.
62301         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62302         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62303         * intl/tst-codeset.sh: Remove.
62304         * intl/tst-gettext3.sh: Likewise.
62305         * intl/tst-gettext5.sh: Likewise.
62307 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62309         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62310         * sysdeps/unix/syscalls.list: ... here.
62312         * sysdeps/posix/getaddrinfo.c
62313         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62314         (gaiconf_init, gaiconf_reload): Use them.
62315         [!_STATBUF_ST_NSEC]
62316         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62317         Define using time_t rather than struct timespec.
62319         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62320         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62321         Macros removed.
62322         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62323         [!NO_THREADS].
62324         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62325         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62326         Likewise.
62328         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62329         __libc_cleanup_push argument.
62331         * bits/param.h: New file.
62332         * misc/sys/param.h: New file.
62333         * include/sys/param.h: New file.
62334         * misc/Makefile (headers): Add bits/param.h.
62335         * sysdeps/generic/sys/param.h: File removed.
62336         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62337         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62338         * sysdeps/mach/hurd/bits/param.h: New file.
62339         * sysdeps/mach/hurd/sys/param.h: File removed.
62341         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62342         last change.
62344         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62345         [_IO_MTSAFE_IO].
62346         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62347         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62348         New macros.
62350         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62351         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62352         rather than -D_IO_MTSAFE_IO conditionally.
62353         * stdio-common/Makefile (CPPFLAGS): Likewise.
62354         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62355         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62356         Use $(libio-mtsafe).
62357         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62358         of -D_IO_MTSAFE_IO.
62359         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62360         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62361         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62362         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62363         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62364         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62365         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62366         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62367         (CFLAGS-fread_u_chk.c): Likewise.
62368         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62369         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62370         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62371         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62372         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62373         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62374         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62375         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62376         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62378         * libio/Makefile: Test [$(libc-reentrant) = yes]
62379         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62381         * Makeconfig
62382         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62383         * sysdeps/pthread/configure: File removed.
62384         * sysdeps/pthread/Makeconfig: New file.
62385         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62386         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62388 2012-08-16  Gary Benson  <gbenson@redhat.com>
62390         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62391         unmapping the first object in a namespace.
62393 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62395         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62396         (__internal_setnetgrent): ... this.  Add internal_function to
62397         definition.  Add libc_hidden_def.
62398         (setnetgrent): Update caller.
62399         (internal_endnetgrent): Renamed to ...
62400         (__internal_endnetgrent): ... this.  Add internal_function to
62401         definition.  Add libc_hidden_def.
62402         (endnetgrent): Update caller.
62403         (internal_getnetgrent_r): Renamed to ...
62404         (__internal_getnetgrent_r): ... this.  Add internal_function to
62405         definition.  Add libc_hidden_def.
62406         (__getnetgrent_r): Update caller.
62407         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62409 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62411         * stdlib/longlong.h: Update from GCC.
62413 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62415         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62416         on _QL, which is set by umul_ppmm but never used.
62417         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62418         variables, which are set by GMP macros but never used.
62419         * stdio-common/_itowa.c (_itowa): Likewise.
62420         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62421         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62423 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62425         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62426         struct La_sh_regs is not constant.
62427         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62428         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62429         and struct La_sparc64_regs are not constant.
62431 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62433         * sysdeps/unix/sysv/linux/kernel-features.h
62434         (__ASSUME_POSIX_TIMERS): Remove.
62435         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62436         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62437         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62438         Make code unconditional.
62439         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62440         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62441         Make code unconditional.
62442         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62443         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62444         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62445         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62446         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62447         Make code unconditional.
62448         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62449         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62450         (__libc_missing_posix_timers): Remove.
62452 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62454         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62455         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62457         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62459         * elf/dl-sym.c: Include <stdlib.h>.
62461         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62462         constants, which avoids warnings in 32-bit builds.
62464         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62465         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62467         * misc/lseek.c: File moved to ...
62468         * io/lseek.c: ... here.
62470         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62472         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62473         shifting LEN more than 31 bits at once.
62475 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62477         [BZ #14195]
62478         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62479         segmentation fault for a case of two empty input strings.
62480         * string/test-strncasecmp.c (check1): Renamed to...
62481         (bz12205): ...this.
62482         (bz14195): Add new testcase for two empty input strings and N > 0.
62483         (test_main): Call new testcase, adapt for renamed function.
62485 2012-08-15  Andreas Jaeger  <aj@suse.de>
62487         [BZ #14090]
62488         * crypt/md5test2.c: New test, based on test supplied by Serge
62489         Belyshev <belyshev@depni.sinp.msu.ru>.
62490         * crypt/Makefile (xtests): Add md5test-giant..
62491         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62493 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62495         [BZ #14090]
62496         * crypt/md5.c (md5_process_block): Don't assume the buffer
62497         length is less than 2**32.
62498         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62499         length is less than 2**64.
62501 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62503         * string/str-two-way.h: Include <sys/param.h>.
62504         (MAX): Macro removed.
62506         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62507         Move #define and #undef of memmove to just before and after
62508         including <string.h>.
62510         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62511         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62512         and after including <string.h>.  Move declarations of
62513         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62514         to before #include "string/memmove.c".
62516         * include/dirent.h: Declare __getdirentries.
62518         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62519         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62521 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62523         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62524         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62525         * sysdeps/i386/configure: Regenerated.
62526         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62527         STABS_CURRENT_FILE, and STABS_FUN.
62528         (END): Remove call to STABS_FUN_END.
62529         (STABS_CURRENT_FILE1): Delete.
62530         (STABS_CURRENT_FILE): Likewise.
62531         (STABS_FUN): Likewise.
62532         (STABS_FUN_END): Likewise.
62533         (STABS_FUN2): Likewise.
62534         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62535         * sysdeps/x86_64/configure: Regenerated.
62537 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62539         * elf/dl-open.c: Include <atomic.h>.
62540         * elf/dl-lookup.c: Likewise.
62542 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62544         * sysdeps/unix/sysv/linux/kernel-features.h
62545         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62546         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62547         unconditionally.
62548         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62549         unconditionally.
62550         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62551         condition on __ASSUME_CLONE_THREAD_FLAGS.
62553 2012-08-14  Andreas Jaeger  <aj@suse.de>
62555         * sysdeps/i386/fpu/libm-test-ulps: Update.
62557 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62559         * include/atomic.h (atomic_exchange_and_add): Split into ...
62560         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62561         New atomic macros.
62563 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62567 2012-08-13  Jeff Law <law@redhat.com>
62569         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62570         null byte in the output string.
62572 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62574         * sysdeps/unix/sysv/linux/kernel-features.h
62575         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62576         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62577         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62578         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62579         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62580         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62581         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62583 2012-08-09  Jeff Law <law@redhat.com>
62585         [BZ #13939]
62586         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62587         When avoid_arena is set, don't retry in the that arena.  Pick the
62588         next one, whatever it might be.
62589         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62590         (arena_lock): Pass in new parameter to arena_get2.
62591         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62592         arena_get2.
62593         (__libc_malloc): Unify retrying after main arena failure with
62594         __libc_memalign version.
62595         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62597 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62599         [BZ #14166]
62600         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62601         to __redirect_strstr.
62602         (__strstr_sse42): Use typeof __redirect_strstr.
62603         (__strstr_ia32): Likewise.
62604         (__libc_strstr): New prototype.
62605         (strstr): Renamed to ...
62606         (__libc_strstr): This.
62607         (strstr): New strong alias of __libc_strstr.
62608         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62609         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62610         __redirect_time.
62611         Include <time.h>.
62612         (__libc_time): New prototype.
62613         (time_ifunc): Replace time with __libc_time.
62614         (time): New strong alias and hidden definition of __libc_time.
62615         (__GI_time): Remove strong alias.
62616         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62617         Include <stddef.h>.
62618         (memmove): Redefined to __redirect_memmove.
62619         (__memmove_sse2): Use typeof __redirect_memmove.
62620         (__memmove_ssse3): Likewise.
62621         (__memmove_ssse3_back): Likewise.
62622         (__libc_memmove): New prototype.
62623         (memmove): Renamed to ...
62624         (__libc_memmove): This.
62625         (memmove): New strong alias of __libc_memmove.
62627 2012-08-08  Mark Salter  <msalter@redhat.com>
62629         * elf/elf.h
62630         (R_MN10300_TLS_GD): Define.
62631         (R_MN10300_TLS_LD): Likewise.
62632         (R_MN10300_TLS_LDO): Likewise.
62633         (R_MN10300_TLS_GOTIE): Likewise.
62634         (R_MN10300_TLS_IE): Likewise.
62635         (R_MN10300_TLS_LE): Likewise.
62636         (R_MN10300_TLS_DTPMOD): Likewise.
62637         (R_MN10300_TLS_DTPOFF): Likewise.
62638         (R_MN10300_TLS_TPOFF): Likewise.
62639         (R_MN10300_SYM_DIFF): Likewise.
62640         (R_MN10300_ALIGN): Likewise.
62641         (R_MN10300_NUM): Update.
62643 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62646         Remove.
62648 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62650         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62652         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62653         sysdeps/unix -> sysdeps/posix move.
62654         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62656 2012-08-07      Allan McRae     <allan@archlinux.org>
62658         [BZ #14303]
62659         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62660         (SUNOS_CPP): Likewise.
62661         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62662         not found.
62663         (open_input): Call CPP using execvp.
62665 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62667         * sysdeps/unix/sysv/linux/kernel-features.h
62668         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62669         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62670         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62671         (__ASSUME_WAITID_SYSCALL): Likewise.
62672         * sysdeps/unix/sysv/linux/dl-execstack.c
62673         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62674         code unconditional.
62675         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62676         conditional code.
62677         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62678         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62679         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62680         code.
62681         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62682         unconditional.
62683         [__ASSUME_WAITID_SYSCALL]: Likewise.
62684         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62686 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62688         * sysdeps/unix/closedir.c: Renamed to ...
62689         * sysdeps/posix/closedir.c: ... here.
62690         * sysdeps/unix/dirfd.c: Renamed to ...
62691         * sysdeps/posix/dirfd.c: ... here.
62692         * sysdeps/unix/dirstream.h: Renamed to ...
62693         * sysdeps/posix/dirstream.h: ... here.
62694         * sysdeps/unix/fdopendir.c: Renamed to ...
62695         * sysdeps/posix/fdopendir.c: ... here.
62696         * sysdeps/unix/opendir.c: Renamed to ...
62697         * sysdeps/posix/opendir.c: ... here.
62698         * sysdeps/unix/readdir.c: Renamed to ...
62699         * sysdeps/posix/readdir.c: ... here.
62700         * sysdeps/unix/readdir_r.c: Renamed to ...
62701         * sysdeps/posix/readdir_r.c: ... here.
62702         * sysdeps/unix/rewinddir.c: Renamed to ...
62703         * sysdeps/posix/rewinddir.c: ... here.
62704         * sysdeps/unix/seekdir.c: Renamed to ...
62705         * sysdeps/posix/seekdir.c: ... here.
62706         * sysdeps/unix/telldir.c: Renamed to ...
62707         * sysdeps/posix/telldir.c: ... here.
62708         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62709         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62710         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62711         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62713         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62714         * bits/fcntl.h: ... here.
62716         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62717         not 0.
62718         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62719         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62720         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62721         (struct flock): Move l_start, l_len to the beginning.
62722         Use __pid_t for l_pid.
62723         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62724         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62725         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62726         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62727         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62728         [__USE_LARGEFILE64] (struct flock64): New type.
62729         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62731         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62732         * bits/dirent.h: ... here.
62734         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62735         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62737 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62740         Change from 2.6.0 to 2.6.16.
62741         * sysdeps/unix/sysv/linux/configure: Regenerated.
62742         * sysdeps/unix/sysv/linux/kernel-features.h
62743         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62744         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62745         version.
62746         (__ASSUME_UTIMES): Likewise.
62747         (__ASSUME_CLONE_STOPPED): Remove.
62748         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62749         architectures, not kernel version.
62750         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62751         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62752         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62753         (__ASSUME_WAITID_SYSCALL): Likewise.
62754         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62755         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62756         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62757         refer to older versions.
62759 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62761         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62762         Define alphasort64 as an alias.
62763         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62764         Define versionsort64 as an alias.
62765         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62766         Define scandir64 as an alias.
62767         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62768         Define scandirat64 as an alias.
62769         * dirent/alphasort64.c (alphasort64):
62770         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62771         * dirent/versionsort64.c: Likewise.
62772         * dirent/scandir64.c: Likewise.
62773         * dirent/scandirat64.c: Likewise.
62774         * sysdeps/wordsize-64/alphasort.c: File removed.
62775         * sysdeps/wordsize-64/alphasort64.c: File removed.
62776         * sysdeps/wordsize-64/scandir.c: File removed.
62777         * sysdeps/wordsize-64/scandir64.c: File removed.
62778         * sysdeps/wordsize-64/scandirat.c: File removed.
62779         * sysdeps/wordsize-64/scandirat64.c: File removed.
62780         * sysdeps/wordsize-64/versionsort.c: File removed.
62781         * sysdeps/wordsize-64/versionsort64.c: File removed.
62782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62784         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62785         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62786         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62787         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62788         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62789         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62791         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62793         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62795         [defined __arch64__ || defined __sparcv9]
62796         (__INO_T_MATCHES_INO64_T): New macro.
62797         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62798         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62799         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62800         * sysdeps/unix/sysv/linux/bits/dirent.h
62801         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62802         (_DIRENT_MATCHES_DIRENT64): New macro.
62804         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62805         Define lockf64 as an alias.
62806         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62807         Define fseeko64 as an alias.
62808         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62809         Define ftello64 as an alias.
62810         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62811         Define _IO_fgetpos64 and fgetpos64 as aliases.
62812         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62813         Define _IO_fsetpos64 and fsetpos64 as aliases.
62814         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62815         Conditionalize body on this.
62816         * libio/fseeko64.c: Likewise.
62817         * libio/ftello64.c: Likewise.
62818         * libio/iofgetpos64.c: Likewise.
62819         * libio/iofsetpos64.c: Likewise.
62820         * sysdeps/wordsize-64/lockf.c: File removed.
62821         * sysdeps/wordsize-64/lockf64.c: File removed.
62822         * sysdeps/wordsize-64/fseeko.c: File removed.
62823         * sysdeps/wordsize-64/fseeko64.c: File removed.
62824         * sysdeps/wordsize-64/ftello.c: File removed.
62825         * sysdeps/wordsize-64/ftello64.c: File removed.
62826         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62827         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62828         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62829         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62830         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62831         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62832         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62833         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62834         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62835         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62836         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62837         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62838         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62839         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62841         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62842         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62843         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62845         [defined __arch64__ || defined __sparcv9]
62846         (__OFF_T_MATCHES_OFF64_T): New macro.
62847         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62848         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62849         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62850         (__OFF_T_MATCHES_OFF64_T): New macro.
62852 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62854         * stdlib/secure-getenv.c (__secure_getenv): Replace
62855         GLIBC_2_16 with GLIBC_2_17.
62857 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62859         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62860         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62862 2012-08-03  David S. Miller  <davem@davemloft.net>
62864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62866 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62869         Remove.
62870         (__ASSUME_CORRECT_SI_PID): Likewise.
62871         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62872         (__ASSUME_TMPFS_NAME): Likewise.
62873         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62874         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62875         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62876         (HAVE_AUX_SECURE): Make definition unconditional.
62877         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62878         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62880 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62882         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62883         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62884         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62885         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62886         __eloop_threshold instead of SYMLOOP_MAX.
62888         * sysdeps/generic/eloop-threshold.h: New file.
62889         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62890         of MAXSYMLINKS.
62891         * elf/chroot_canon.c (chroot_canon): Likewise.
62893 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62895         [BZ #13717]
62896         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62897         Change to 2.6.0 everywhere.
62898         * sysdeps/unix/sysv/linux/configure: Regenerated.
62899         * sysdeps/unix/sysv/linux/kernel-features.h
62900         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62901         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62902         kernel versions.
62903         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62904         (__ASSUME_FUTEX_REQUEUE): Remove.
62905         (__ASSUME_STATFS64): Define unconditionally.
62906         (__ASSUME_AT_SECURE): Likewise.
62907         (__ASSUME_CORRECT_SI_PID): Likewise.
62908         (__ASSUME_TGKILL): Define without depending on kernel version for
62909         i386.
62910         (__ASSUME_UTIMES): Likewise.
62911         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62912         kernel version.
62913         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62914         (__ASSUME_TMPFS_NAME): Likewise.
62915         * README: Update reference to Linux kernel versions.
62917 2012-08-02  Marek Polacek  <polacek@redhat.com>
62919         [BZ# 14150]
62920         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62921         libc_cv_asm_type_prefix with %.
62922         * configure: Regenerated.
62923         * include/libc-symbols.h: Remove comment about
62924         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62925         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62926         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62927         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62928         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62929         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62930         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62931         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62932         * elf/tst-unique2mod1.c: Likewise.
62933         * elf/tst-unique1mod2.c: Likewise.
62934         * elf/tst-unique1mod1.c: Likewise.
62935         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62936         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62937         Replace ASM_TYPE_DIRECTIVE with .type.
62938         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62939         * sysdeps/i386/sysdep.h: Likewise.
62940         * sysdeps/x86_64/sysdep.h: Likewise.
62941         * sysdeps/sh/sysdep.h: Likewise.
62942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62943         Do not define ASM_TYPE_DIRECTIVE.
62944         * sysdeps/powerpc/sysdep.h: Likewise.
62945         * sysdeps/powerpc/powerpc32/sysdep.h:
62946         Replace ASM_TYPE_DIRECTIVE with .type.
62947         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62948         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62949         * sysdeps/i386/fpu/e_powf.S: Likewise.
62950         * sysdeps/i386/fpu/e_expl.S: Likewise.
62951         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62952         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62953         * sysdeps/i386/fpu/e_pow.S: Likewise.
62954         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62955         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62956         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62957         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62958         * sysdeps/i386/fpu/e_log2.S: Likewise.
62959         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62960         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62961         * sysdeps/i386/fpu/e_powl.S: Likewise.
62962         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62963         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62964         * sysdeps/i386/fpu/e_logl.S: Likewise.
62965         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62966         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62967         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62968         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62969         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62970         * sysdeps/i386/fpu/e_log.S: Likewise.
62971         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62972         * sysdeps/i386/fpu/e_logf.S: Likewise.
62973         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62974         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62975         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62976         * sysdeps/i386/fpu/e_log10.S: Likewise.
62977         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62978         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62979         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62980         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62981         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62982         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62983         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62984         * sysdeps/i386/i686/strtok.S: Likewise.
62985         * sysdeps/i386/i386-mcount.S: Likewise.
62986         * sysdeps/i386/strtok.S: Likewise.
62987         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62988         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62989         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62990         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62991         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62993         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62994         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62995         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62996         * sysdeps/x86_64/_mcount.S: Likewise.
62997         * sysdeps/x86_64/strtok.S: Likewise.
62998         * sysdeps/sh/_mcount.S: Likewise.
63000 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63002         * libio/iofopen.c: Include <fcntl.h>.
63003         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63004         (_IO_fopen64, fopen64): Define as aliases.
63005         * libio/iofopen64.c: Include <fcntl.h>.
63006         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63007         Conditionalize body on this.
63008         * sysdeps/wordsize-64/iofopen.c: File removed.
63009         * sysdeps/wordsize-64/iofopen64.c: File removed.
63011 2012-08-01  Marek Polacek  <polacek@redhat.com>
63013         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63014         Use dlfcn directly instead of a variable.
63015         (binfmt-subdir): Do not define.
63016         (dlfcn): Likewise.
63018 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63020         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63021         Remove all definitions.
63022         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63023         <kernel-features.h>.
63024         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63025         (miss_F_GETOWN_EX): Remove all definitions.
63026         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63027         macro definition.
63028         [!__ASSUME_FCNTL64]: Remove conditional code.
63029         [__ASSUME_FCNTL64]: Make code unconditional.
63030         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63031         <kernel-features.h>.
63032         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63033         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63034         (lockf64) [__NR_fcntl64]: Make code unconditional.
63035         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63037         * sysdeps/unix/sysv/linux/kernel-features.h
63038         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63039         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63040         Make code unconditional.
63041         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63042         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63044         [__NR_vfork]: Make code unconditional.
63045         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63046         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63048         [__NR_vfork]: Make code unconditional.
63049         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63050         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63052 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63054         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63055         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63057         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63058         Define mkstemp64 as an alias.
63059         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63060         Define mkstemps64 as an alias.
63061         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63062         Define mkostemp64 as an alias.
63063         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63064         Define mkostemps64 as an alias.
63065         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63066         Conditionalize body on this.
63067         * misc/mkostemp64.c: Likewise.
63068         * misc/mkostemps64.c: Likewise.
63069         * misc/mkstemps64.c: Likewise.
63070         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63071         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63072         * sysdeps/wordsize-64/mkostemp.c: File removed.
63073         * sysdeps/wordsize-64/mkstemp.c: File removed.
63074         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63075         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63076         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63077         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63079         [BZ #14138]
63080         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63081         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63082         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63083         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63085         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63086         compat_symbol macros from <shlib-compat.h> rather than the underlying
63087         default_symbol_version and symbol_version macros, so that DEFAULT
63088         lines in shlib-versions are respected.
63089         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63091 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63093         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63094         Declare with warn_unused_result.
63095         (setgid, setregid, setegid, setresgid): Likewise.
63096         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63097         Likewise.
63098         * WUR-REPORT: Remove set*id functions.
63100 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63102         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63104 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63106         [BZ #10191]
63107         * include/sys/socket.h (__libc_accept, __libc_accept4):
63108         Add attribute_hidden.
63109         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63111         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63112         use of PTR_MANGLE.
63113         * inet/getnetgrent_r.c (setup): Likewise.
63115         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63117 2012-07-31  David S. Miller  <davem@davemloft.net>
63119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63121 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63123         [BZ #13629]
63124         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63125         value between 1.0 and 2.0 and smaller part has absolute value less
63126         than 1.0.
63127         * math/s_clog10.c (__clog10): Likewise.
63128         * math/s_clog10f.c (__clog10f): Likewise.
63129         * math/s_clog10l.c (__clog10l): Likewise.
63130         * math/s_clogf.c (__clogf): Likewise.
63131         * math/s_clogl.c (__clogl): Likewise.
63132         * math/libm-test.inc (clog_test): Add more tests.
63133         (clog10_test): Likewise.
63134         * sysdeps/i386/fpu/libm-test-ulps: Update.
63135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63137 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63139         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63140         Exit with zero in case no suitable GID is found, and write a
63141         message to standard error.
63143 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63145         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63146         rather than to 1.
63147         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63148         (MAXPATHLEN): Removed.
63149         (NOGROUP, NODEV): New macros.
63150         (setbit, clrbit, isset, isclr): New macros.
63151         (howmany, roundup, powerof2): New macros.
63152         (DEV_BSIZE): New macro.
63154         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63155         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63157         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63158         definition on [!__NO_LONG_DOUBLE_MATH].
63160         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63161         PTR_MANGLE and PTR_DEMANGLE.
63163         * socket/accept4.c (accept4): Rename to __libc_accept4.
63164         Define accept4 as a weak alias.
63166         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63167         on [_DIRENT_HAVE_D_TYPE].
63168         * io/ftw.c (ftw_dir): Likewise.
63170         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63172         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63174         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63175         Use the BSD numbers rather than the arbitrary ones we had.
63176         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63177         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63178         (SIGXCPU, SIGXFSZ): New macros.
63179         (_NSIG): Now 32.
63181         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63182         initializer on [_LIBC_REENTRANT].
63184         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63185         definitions inside [_POSIX_MAPPED_FILES].
63187         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63189         * dirent/opendir.c: Include <fcntl.h>.
63191         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63192         (__libc_getspecific): Likewise.
63193         (__libc_key_create): Likewise.
63195         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63196         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63197         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63198         (tmpfile64): Define as alias.
63199         * sysdeps/wordsize-64/tmpfile.c: File removed.
63200         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63201         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63202         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63204         * stdio-common/vfscanf.c: Include <stdbool.h>.
63205         * nss/makedb.c: Likewise.
63206         * stdio-common/_i18n_number.h: Likewise.
63207         * argp/argp-help.c: Likewise.
63208         * posix/wordexp.c: Likewise.
63209         * sysdeps/posix/spawni.c: Likewise.
63210         * nss/nss_files/files-initgroups.c: Likewise.
63211         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63212         * nss/nss_files/files-initgroups.c: Likewise.
63213         * nss/nss_db/db-netgrp.c: Likewise.
63214         * nss/nss_db/db-initgroups.c: Likewise.
63215         * io/fchmodat.c: Include <sys/stat.h>.
63217         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63218         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63220         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63221         [HAVE_MMAP].
63223         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63224         Add multiple inclusion protection.
63226 2012-07-27  David S. Miller  <davem@davemloft.net>
63228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63230 2012-07-27  Gary Benson  <gbenson@redhat.com>
63232         [BZ #14298]
63233         * elf/rtld.c: Include <stap-probe.h>.
63234         (dl_main): Added static probes "init_start" and "init_complete".
63235         * elf/dl-load.c: Include <stap-probe.h>.
63236         (lose): Take new parameter "nsid".
63237         Added static probe "map_failed".
63238         (_dl_map_object_from_fd): Pass namespace id to lose.
63239         Added static probe "map_start".
63240         (open_verify): Pass namespace id to lose.
63241         * elf/dl-open.c: Include <stap-probe.h>.
63242         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63243         and "reloc_complete".
63244         * elf/dl-close.c: Include <stap-probe.h>.
63245         (_dl_close_worker): Added static probes "unmap_start" and
63246         "unmap_complete".
63247         * elf/rtld-debugger-interface.txt: New file documenting the above.
63249 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63251         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63252         rather than a string variable.
63253         * sunrpc/rpc_main.c (h_output): Likewise.
63254         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63256 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63258         * inet/check_native.c: New file.
63260 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63262         [BZ #13629]
63263         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63264         if larger part has absolute value 1.0.
63265         * math/s_clog10.c (__clog10): Likewise.
63266         * math/s_clog10f.c (__clog10f): Likewise.
63267         * math/s_clog10l.c (__clog10l): Likewise.
63268         * math/s_clogf.c (__clogf): Likewise.
63269         * math/s_clogl.c (__clogl): Likewise.
63270         * math/libm-test.inc (clog_test): Add more tests.
63271         (clog10_test): Likewise.
63272         * sysdeps/i386/fpu/libm-test-ulps: Update.
63273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63275         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63276         (pltexit): Likewise.
63277         (La_regs): Likewise.
63278         (La_retval): Likewise.
63279         (int_retval): Likewise.
63280         Update #error for removed macros to refer only to definitions in
63281         tst-audit.h.
63282         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63283         macro.
63284         (pltexit): Likewise.
63285         (La_regs): Likewise.
63286         (La_retval): Likewise.
63287         (int_retval): Likewise.
63288         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63289         macro.
63290         (pltexit): Likewise.
63291         (La_regs): Likewise.
63292         (La_retval): Likewise.
63293         (int_retval): Likewise.
63294         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63295         macro.
63296         (pltexit): Likewise.
63297         (La_regs): Likewise.
63298         (La_retval): Likewise.
63299         (int_retval): Likewise.
63300         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63301         macro.
63302         (pltexit): Likewise.
63303         (La_regs): Likewise.
63304         (La_retval): Likewise.
63305         (int_retval): Likewise.
63306         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63307         macro.
63308         (pltexit): Likewise.
63309         (La_regs): Likewise.
63310         (La_retval): Likewise.
63311         (int_retval): Likewise.
63312         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63313         macro.
63314         (pltexit): Likewise.
63315         (La_regs): Likewise.
63316         (La_retval): Likewise.
63317         (int_retval): Likewise.
63318         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63319         macro definitions in tst-audit.h.
63320         * sysdeps/i386/tst-audit.h: New file.
63321         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63322         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63323         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63324         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63325         * sysdeps/sh/tst-audit.h: Likewise.
63326         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63327         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63328         * sysdeps/x86_64/tst-audit.h: Likewise.
63330 2012-07-26  Andreas Jaeger  <aj@suse.de>
63332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63333         ptrace.
63335         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63336         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63337         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63338         PTRACE_O_MASK.
63339         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63340         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63341         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63343         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63344         value.
63346         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63347         _sigsys.
63348         (si_call_addr, si_syscall, si_arch): Define new macro.
63349         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63350         _sigsys.
63351         (si_call_addr, si_syscall, si_arch): Define new marcro.
63352         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63353         _sigsys.
63354         (si_call_addr, si_syscall, si_arch): Define new macro.
63355         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63356         _sigsys.
63357         (si_call_addr, si_syscall, si_arch): Define new macro.
63359 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63361         [BZ #13717]
63362         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63363         Change to 2.4.21 where previously 2.4.1.
63364         * sysdeps/unix/sysv/linux/configure: Regenerated.
63365         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63366         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63367         Linux kernel version.
63368         (__ASSUME_STD_AUXV): Remove.
63369         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63370         kernel version.
63371         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63372         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63373         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63374         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63375         (__ASSUME_NETLINK_SUPPORT): Likewise.
63376         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63377         (__no_netlink_support): Remove conditional definition.
63378         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63379         Remove.
63380         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63381         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63382         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63383         (if_nameindex_ioctl): Remove.
63384         (if_nameindex_netlink): Do not handle __no_netlink_support.
63385         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63386         code.
63387         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63388         Remove conditional code.
63389         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63390         code.
63391         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63392         unconditional.
63393         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63394         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63395         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63396         Remove.
63397         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63398         [!__ASSUME_STD_AUXV]: Remove conditional code.
63399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63400         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63401         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63403         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63404         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63405         code.
63406         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63408         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63409         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63410         conditional code.
63411         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63413         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63414         code.
63415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63416         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63417         conditional code.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63419         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63420         code unconditional.
63421         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63422         conditional code.
63423         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63424         unconditional.
63425         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63426         conditional code.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63428         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63429         unconditional.
63430         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63431         conditional code.
63432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63433         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63434         code unconditional.
63435         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63436         conditional code.
63437         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63438         unconditional.
63439         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63440         conditional code.
63441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63442         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63443         code unconditional.
63444         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63445         conditional code.
63446         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63447         unconditional.
63448         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63449         conditional code.
63451 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63453         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63454         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63455         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63456         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63457         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63458         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63459         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63460         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63461         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63462         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63463         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63464         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63465         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63466         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63467         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63468         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63469         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63470         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63471         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63472         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63473         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63474         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63477 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63479         * Versions.def: Add GLIBC_2.17.
63480         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63481         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63482         Introduce __libc_secure_getenv.
63483         * stdlib/Versions (2.17): Add secure_getenv
63484         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63485         * stdlib/secure-getenv.c: Rename __secure_getenv to
63486         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63487         symbol __secure_getenv for GLIBC_2.0.
63488         * stdlib/tst-secure-getenv.c: New.
63489         * stdlib/Makefile (tests): Add testcase.
63490         * manual/startup.texi (Environment Access): Document
63491         secure_getenv.
63492         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63493         __libc_secure_getenv.
63494         * inet/ruserpass.c (ruserpass): Likewise.
63495         * malloc/mtrace.c (mtrace): Likewise.
63496         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63497         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63498         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63499         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63500         HAVE_SECURE_GETENV.
63501         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63502         __secure_getenv to __libc_secure_getenv.
63503         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63505         Likewise.
63506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63507         Likewise.
63508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63510         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63516 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63518         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63519         (struct La_i86_retval): Likewise.
63520         (struct La_x86_64_regs): Likewise.
63521         (struct La_x86_64_retval): Likewise.
63522         (struct La_x32_regs): Likewise.
63523         (struct La_x32_retval): Likewise.
63524         (struct La_ppc32_regs): Likewise.
63525         (struct La_ppc32_retval): Likewise.
63526         (struct La_ppc64_regs): Likewise.
63527         (struct La_ppc64_retval): Likewise.
63528         (struct La_sh_regs): Likewise.
63529         (struct La_sh_retval): Likewise.
63530         (struct La_s390_32_regs): Likewise.
63531         (struct La_s390_32_retval): Likewise.
63532         (struct La_s390_64_regs): Likewise.
63533         (struct La_s390_64_retval): Likewise.
63534         (struct La_sparc32_regs): Likewise.
63535         (struct La_sparc32_retval): Likewise.
63536         (struct La_sparc64_regs): Likewise.
63537         (struct La_sparc64_retval): Likewise.
63538         (struct audit_ifaces): Remove architecture-specific pltenter and
63539         pltexit members.
63540         * sysdeps/i386/ldsodefs.h: New file.
63541         * sysdeps/powerpc/ldsodefs.h: Likewise.
63542         * sysdeps/s390/ldsodefs.h: Likewise.
63543         * sysdeps/sh/ldsodefs.h: Likewise.
63544         * sysdeps/sparc/ldsodefs.h: Likewise.
63545         * sysdeps/x86_64/ldsodefs.h: Likewise.
63547 2012-07-25  Marek Polacek  <polacek@redhat.com>
63549         [BZ #6808]
63550         * math/libm-test.inc (yn_test): Add another test.
63551         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63552         to ERANGE when the result is +-Inf.
63553         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63554         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63555         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63556         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63558 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63560         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63561         equal to 0.
63562         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63563         clock_t.
63564         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63566 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63568         * configure.in <sysdeps resolving>: Correct printing
63569         Implies_before.
63570         * configure: Regenerate.
63572 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63574         * math/w_ilogb.c: Include <limits.h>.
63575         * math/w_ilogbl.c: Likewise.
63577 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63579         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63580         va_copy.  Document allowing for unavailable va_copy only as
63581         pre-C99 compatibility.
63582         * manual/string.texi (Copying and Concatenation): Use va_copy
63583         instead of __va_copy in concat example.
63585 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63587         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63588         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63589         it if not null.
63591         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63592         with O_NOLINK passed to __file_name_lookup.
63594         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63595         with O_NOLINK passed to __file_name_lookup.
63597         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63598         negative N or less than NGIDS.
63600         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63601         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63602         enough.  Use memcpy instead of strncpy.
63604 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63606         * elf/Makefile (check-data): Remove.
63607         (localplt.data): New vpath directive.
63608         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63609         instead of $(check-data).
63610         * scripts/data/localplt-generic.data: Move to ...
63611         * sysdeps/generic/localplt.data: ... here.
63612         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63613         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63614         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63616         ... here.
63617         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63619         ... here.
63620         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63622         ... here.
63623         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63625         ... here.
63626         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63628         ... here.
63629         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63631         ... here.
63633 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63635         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63636         PPC32 and PPC64 files.
63637         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63638         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63640 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63642         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63643         __makecontext_ret to ...
63644         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63645         ... here and call exit if uc_link is NULL.  New file.
63646         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63647         __makecontext_ret.S.
63648         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63649         __makecontext_ret to ...
63650         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63651         ... here and call exit if uc_link is NULL.  New file.
63652         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63653         __makecontext_ret.S.
63655 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63657         * elf/elf.h (R_390_IRELATIVE): New definition.
63658         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63659         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63660         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63662         (elf_machine_lazy_rel): Likewise.
63663         * sysdeps/s390/dl-irel.h: New file.
63664         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63665         * sysdeps/s390/s390-64/memset.S: New asm code.
63666         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63667         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63669         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63670         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63671         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63672         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63673         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63674         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63675         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63676         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63677         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63678         * sysdeps/s390/s390-32/memset.S: New asm code.
63679         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63681 2012-07-17  Marek Polacek  <polacek@redhat.com>
63683         [BZ #14349]
63684         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63685         * sysdeps/s390/s390-64/configure.in: Likewise.
63686         * sysdeps/sparc/configure.in: Likewise.
63687         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63688         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63689         * sysdeps/i386/configure.in: Likewise.
63690         * sysdeps/x86_64/configure.in: Likewise.
63691         * sysdeps/sh/configure.in: Likewise.
63692         * sysdeps/s390/s390-32/configure: Regenerated.
63693         * sysdeps/s390/s390-64/configure: Likewise.
63694         * sysdeps/x86_64/configure: Likewise.
63695         * sysdeps/sh/configure: Likewise.
63696         * sysdeps/powerpc/powerpc64/configure: Likewise.
63697         * sysdeps/powerpc/powerpc32/configure: Likewise.
63698         * sysdeps/sparc/configure: Likwise.
63699         * sysdeps/i386/configure: Likewise.
63701         * elf/dl-open.c: Comment fixes.
63703 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63705         * Makefile [CXX] (check-data): Remove.
63706         [CXX] (c++-types.data): New vpath directive.
63707         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63708         vpath.  Do not allow for C++ type data being missing.
63709         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63710         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63711         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63712         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63713         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63714         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63715         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63717         ... here.
63718         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63720         ... here.
63721         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63723         ... here.
63724         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63726         ... here.
63727         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63729         ... here.
63730         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63732         ... here.
63733         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63735         ... here.
63736         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63739         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63740         definitions to architecture-specific files.
63741         (TLS_IE): Likewise.
63742         (TLS_LD): Likewise.
63743         (TLS_GD): Likewise.
63744         * sysdeps/i386/tls-macros.h: New file.
63745         * sysdeps/powerpc/tls-macros.h: Likewise.
63746         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63747         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63748         * sysdeps/sh/tls-macros.h: Likewise.
63749         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63750         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63751         * sysdeps/x86_64/tls-macros.h: Likewise.
63753 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63755         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63756         zero value for regular exit case.
63758         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63759         (__start_context): Preserve zero value for regular exit case.
63761 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63762             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63764         * manual/setjmp.texi (setcontext): Clarify normal process
63765         termination when uc_link is the null pointer.
63766         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63767         exit call.
63769 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63771         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63772         preprocessor.  Test for each exception mask separately.
63774 2012-07-16  Andreas Jaeger  <aj@suse.de>
63776         * po/ru.po: Update from translation team.
63778 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63780         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63781         equal to 0.
63782         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63783         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63784         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63785         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63786         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63788 2012-07-13  Andreas Jaeger  <aj@suse.de>
63790         * po/fr.po: Update from translation team.
63792 2012-07-12  Marek Polacek  <polacek@redhat.com>
63794         [BZ #14173]
63795         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63796         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63797         loop condition.
63799 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63801         [BZ #13717]
63802         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63803         Change to 2.4.1 where previously 2.4.0.
63804         * sysdeps/unix/sysv/linux/configure: Regenerated.
63805         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63806         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63807         version.
63808         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63809         (__ASSUME_AT_CLKTCK): Remove.
63810         (__ASSUME_AT_PAGESIZE): Likewise.
63811         (__ASSUME_AT_XID): Likewise.
63812         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63813         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63814         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63815         unconditionally.
63816         (HAVE_AUX_PAGESIZE): Likewise.
63817         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63818         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63819         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63821 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63823         [BZ #14307]
63824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63825         the temporary buffer used to invoke __gethostbyname2_r,
63826         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63827         host_data / struct gaih_addrtuple.
63828         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63829         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63830         header file nss/nsswitch.h.
63831         * nss/nsswitch.h (global scope): Add definition of implementation
63832         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63833         resolv/nss_dns/dns-host.c).
63835 2012-07-11  Andreas Jaeger  <aj@suse.de>
63837         * po/fr.po: Update from translation team.
63839         * po/sv.po: Update from translation team
63840         * po/fr.po: Another update from translation team.
63842 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63844         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63845         for subnormals or multiply small sinh result by itself.
63846         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63849 2012-07-11  David S. Miller  <davem@davemloft.net>
63851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63853 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63855         [BZ #14347]
63856         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63857         (INTERNAL_MARK): Shift it here.
63859 2012-07-10  Marek Polacek  <polacek@redhat.com>
63861         [BZ #14151]
63862         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63863         libc_cv_asm_global_directive with .globl.
63864         * configure: Regenerated.
63865         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63866         with .globl.
63867         * sysdeps/i386/configure: Regenerated.
63868         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63869         with .globl.
63870         * sysdeps/x86_64/configure: Regenerated.
63871         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63872         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63873         * elf/tst-unique2mod2.c: Likewise.
63874         * elf/tst-unique2mod1.c: Likewise.
63875         * elf/tst-unique1mod2.c: Likewise.
63876         * elf/tst-unique1mod1.c: Likewise.
63877         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63878         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63879         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63880         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63881         * sysdeps/mach/sysdep.h: Likewise.
63882         * sysdeps/i386/sysdep.h: Likewise.
63883         * sysdeps/i386/i386-mcount.S: Likewise.
63884         * sysdeps/x86_64/_mcount.S: Likewise.
63885         * sysdeps/x86_64/sysdep.h: Likewise.
63886         * sysdeps/sh/_mcount.S: Likewise.
63887         * sysdeps/sh/sysdep.h: Likewise.
63888         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63889         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63890         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63891         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63892         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63893         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63894         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63895         * locale/localeinfo.h: Likewise.
63896         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63897         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63899 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63901         [BZ #14336]
63902         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63903         system".
63904         * manual/message.texi (The Uniforum approach): Likewise.
63905         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63906         (glibc iconv Implementation): Likewise.
63908 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63910         [BZ #14337]
63911         * math/s_clog.c (__clog): Avoid scaling a value down where that
63912         could result in underflow.
63913         * math/s_clog10.c (__clog10): Likewise.
63914         * math/s_clog10f.c (__clog10f): Likewise.
63915         * math/s_clog10l.c (__clog10l): Likewise.
63916         * math/s_clogf.c (__clogf): Likewise.
63917         * math/s_clogl.c (__clogl): Likewise.
63918         * math/libm-test.inc (clog_test): Add more tests.
63919         (clog10_test): Likewise.
63920         * sysdeps/i386/fpu/libm-test-ulps: Update.
63921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63923 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63925         [BZ #14283]
63926         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63927         by 7 not 8 to examine high bit of fractional part.
63929         [BZ #14042]
63930         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63931         for call to __mcount_internal.
63932         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63933         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63934         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63936 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63938         [BZ #14154]
63939         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63940         approximation for values within 0x1p-13f of an odd multiple of
63941         pi/4.
63942         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63943         exception.  Add more tests.
63944         * sysdeps/i386/fpu/libm-test-ulps: Update.
63946         [BZ #6778]
63947         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63948         inputs and return -1 for them.  Do not check for +Inf in case not
63949         reachable for +Inf.
63950         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63951         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63952         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63953         and return -1 for them.  Do not check for +Inf in case not
63954         reachable for +Inf.
63955         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63956         define.
63957         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63958         and return -1 for them.  Do not check for +Inf in case not
63959         reachable for +Inf.
63960         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63961         spurious underflow.
63962         * sysdeps/i386/fpu/libm-test-ulps: Update.
63963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63965 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63967         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63969 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63971         [BZ #14157]
63972         [BZ #14331]
63973         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63974         could result in spurious underflow.  Scale down values above
63975         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63976         * math/s_csqrtf.c (__csqrtf): Likewise.
63977         * math/s_csqrtl.c (__csqrtl): Likewise.
63978         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63979         spurious underflow.
63980         * sysdeps/i386/fpu/libm-test-ulps: Update.
63981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63983 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63985         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63986         xopen-msg.sed.
63987         * catgets/xopen-msg.awk: New file.
63988         * catgets/xopen-msg.sed: Removed.
63990         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63991         po2text.sed.
63992         * intl/po2test.awk: New file.
63993         * intl/po2test.sed: Removed.
63995 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63997         [BZ #14328]
63998         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63999         or multiply small sinh result by itself.
64000         * math/s_ctanf.c (__ctanf): Likewise.
64001         * math/s_ctanh.c (__ctanh): Likewise.
64002         * math/s_ctanhf.c (__ctanhf): Likewise.
64003         * math/s_ctanhl.c (__ctanhl): Likewise.
64004         * math/s_ctanl.c (__ctanl): Likewise.
64005         * math/libm-test.inc (ctan_test_tonearest): New function.
64006         (ctan_test_towardzero): Likewise.
64007         (ctan_test_downward): Likewise.
64008         (ctan_test_upward): Likewise.
64009         (ctanh_test_tonearest): Likewise.
64010         (ctanh_test_towardzero): Likewise.
64011         (ctanh_test_downward): Likewise.
64012         (ctanh_test_upward): Likewise.
64013         (main): Call these new functions.
64014         * sysdeps/i386/fpu/libm-test-ulps: Update.
64015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64017 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64019         * .gitignore: Delete /ports entry.
64021 2012-07-03  Andreas Jaeger  <aj@suse.de>
64023         * po/bg.po: Update from translation team.
64024         * po/cs.po: Likewise.
64025         * po/de.po: Likewise.
64026         * po/hr.po: Likewise.
64027         * po/nl.pl: Likewise.
64028         * po/pl.po: Likewise.
64029         * po/vi.po: Likewise.
64031 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64033         * Makeconfig [!+link] (+link-before-libc): New variable.
64034         [!+link] (+link-after-libc): Likewise.
64035         [!+link] (+link-tests): Likewise.
64036         [!+link] (+link): Define in terms of $(+link-before-libc) and
64037         $(+link-after-libc).
64038         [!+link-static] (+link-static-before-libc): New variable.
64039         [!+link-static] (+link-static-after-libc): Likewise.
64040         [!+link-static] (+link-static-tests): Likewise.
64041         [!+link-static] (+link-static): Define in terms of
64042         $(+link-static-before-libc) and $(+link-static-after-libc).
64043         [build-shared] (link-libc-before-gnulib): New variable.
64044         [build-shared] (link-libc-tests): Likewise.
64045         [build-shared] (link-libc): Define in terms of
64046         $(link-libc-before-gnulib).
64047         [!build-shared] (link-libc-tests): New variable.
64048         (link-libc-static-tests): New variable.
64049         [!gnulib] (gnulib-arch): New variable.
64050         [!gnulib] (gnulib-tests): Likewise.
64051         [!gnulib] (static-gnulib-arch): Likewise.
64052         [!gnulib] (static-gnulib-tests): Likewise.
64053         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64054         Define with "=" instead of ":=".
64055         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64056         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64057         * Rules (binaries-all-notests): New variable.
64058         (binaries-all-tests): Likewise.
64059         (binaries-static-notests): Likewise.
64060         (binaries-static-tests): Likewise.
64061         (binaries-all): Define using $(binaries-all-notests) and
64062         $(binaries-all-tests).
64063         (binaries-static): Define using $(binaries-static-notests) and
64064         $(binaries-static-tests).
64065         (binaries-shared-tests): New variable.
64066         (binaries-shared-notests): Likewise.
64067         (binaries-shared): Remove variable.
64068         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64069         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64070         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64071         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64072         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64073         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64074         * elf/Makefile (sln-modules): New variable.
64075         (extra-objs): Add $(sln-modules:=.o).
64076         (ldconfig-modules): Add static-stubs.
64077         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64078         * elf/static-stubs.c: New file.
64080         [BZ #14283]
64081         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64082         by 7 not 8 to examine high bit of fractional part.  Use volatile
64083         variables when splitting into final array of floats if
64084         __FLT_EVAL_METHOD__ != 0.
64085         * math/libm-test.inc (cos_test): Add another test.
64086         (sin_test): Likewise.
64087         * sysdeps/i386/fpu/libm-test-ulps: Update.
64089         [BZ #14273]
64090         * math/libm-test.inc (cosh_test): Add more tests.
64092         * version.h (RELEASE): Set to "development".
64093         (VERSION): Set to "2.16.90".
64095 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64097         * NEWS: Update copyright. Remove last-updated date.
64098         Mention math library bug fixes and timezone data changes.
64099         * README: Mention GNU/Hurd, x32, and HPPA support status.
64101 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64103         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64105 2012-06-27  Andreas Jaeger  <aj@suse.de>
64107         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64109 2012-06-25  Andreas Jaeger  <aj@suse.de>
64111         * sysdeps/s390/fpu/libm-test-ulps: Update.
64113 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64114             Thomas Schwinge  <thomas@codesourcery.com>
64116         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64117         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64118         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64119         fanotify_mark.
64121 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64123         * sysdeps/mach/start.c: Remove file.
64124         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64125         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64126         * sysdeps/sh/init-first.c: Likewise.
64128         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64129         registers for frame unwinding purposes, add CFI directives.
64130         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64131         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64132         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64133         Likewise.
64135         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64136         __fortify_fail returning.
64137         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64139         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64140         sysdeps/sh/____longjmp_chk.S.
64141         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64142         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64143         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64144         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64146         * sysdeps/sh/abort-instr.h: New file.
64147         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64148         process in case exit returns.
64150         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64151         initialize the GOT register before use.
64153         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64154         calculation of ARGC > 4.
64156         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64157         meaningful names to some local labels.
64159 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64160             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64162         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64163         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64164         (__arch_compare_and_exchange_val_16_acq): Likewise.
64165         (__arch_compare_and_exchange_val_32_acq): Likewise.
64166         (atomic_exchange_and_add): Fix gUSA sequence.
64167         (atomic_add): Likewise.
64168         (atomic_add_negative): Likewise.
64169         (atomic_add_zero): Likewise.
64170         (atomic_bit_test_set): Likewise.
64172 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64174         [BZ #13579]
64175         * include/link.h (struct link_map): Add l_free_initfini.
64176         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64177         l_initfini.
64178         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64179         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64180         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64181         set.
64183 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64185         * configure.in: Use AC_LANG_SOURCE.
64186         * configure: Regenerate.
64188 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64190         * configure.in (libc_cv_localstatedir): New substituted variable.
64191         * configure: Regenerated.
64192         * config.make.in (localstatedir): New variable, substituted from
64193         libc_cv_localstatedir.
64194         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64195         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64196         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64197         * sysdeps/gnu/configure: Regenerated.
64199 2012-06-21  Jeff Law  <law@redhat.com>
64201         [BZ #14277]
64202         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64203         free.  Simplify list management for _LIBC case.
64205 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64207         [BZ #14273]
64208         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64209         Clear sign bit of 64-bit integer value before comparing against
64210         overflow value.
64212         * sysdeps/mach/configure: Regenerated.
64214 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64216         [BZ #14278]
64217         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64219 2012-06-21  Jeff Law  <law@redhat.com>
64221         [BZ #13882]
64222         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64223         uint16_t for elements in the "seen" array to avoid char overflows.
64224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64225         * elf/dl-open.c (dl_open_worker): Likewise.
64227 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64229         * scripts/list-sources.sh: Scan PORTS for translations.
64230         * po/libc.pot: Regenerated.
64232 2012-06-21  Andreas Jaeger  <aj@suse.de>
64234         [BZ #12194]
64235         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64236         warning.
64237         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64238         * bits/byteswap-16.h (__bswap_16): Likewise.
64239         * bits/byteswap.h (__bswap_constant_16): Likewise.
64241 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64243         [BZ #14117]
64244         * sysdeps/i386/fpu_control.h: Removed.
64245         * sysdeps/x86_64/fpu_control.h: Moved to ...
64246         * sysdeps/x86/fpu_control.h: Here.
64248         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64249         (_FPU_SETCW): Likewise.
64251 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64253         [BZ #14117]
64254         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64255         * sysdeps/x86/fpu/bits/mathinline.h: This.
64256         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64258         [BZ #14050]
64259         [BZ #14117]
64260         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64261         functions if __x86_64__ is defined.
64263 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64265         * string/endian.h: Add !__ASSEMBLER__ condition for including
64266         conversion interfaces.
64268 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64270         [BZ #14241]
64271         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64272         of ABS(x) in calculating zero to negative powers other than odd
64273         integers.
64274         * math/libm-test.inc (pow_test): Add more tests.
64276 2012-06-15  Andreas Jaeger  <aj@suse.de>
64278         * manual/contrib.texi (Contributors): Update entry of Liubov
64279         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64280         Machado Filho.
64282 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64284         * string/string.h: Add __wur to GNU version of strerror_r.
64286 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64288         [BZ #14229]
64289         * string/Makefile (tests): Add tst-strtok_r.
64290         * string/tst-strtok_r.c: New file.
64291         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64292         RAX_LP/RDX_LP on SAVE_PTR.
64294 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64296         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64298 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64300         * libm_test.inc (csqrt_test): Allow more spurious underflow
64301         exceptions.
64302         (j0_test): Likewise.
64303         (j1_test): Likewise.
64304         (y0_test): Likewise.
64305         (y1_test): Likewise.
64307 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64309         * po/Makefile (libc.pot): Use UTF-8 charset.
64311 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64313         [BZ #14210]
64314         Suppress sign-conversion warning from FD_SET.
64315         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64316         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64317         not unsigned long int.
64318         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64320 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64322         [BZ #14050]
64323         [BZ #14117]
64324         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64325         __extern_always_inline instead of __extern_inline.
64326         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64327         (__signbit): Likewise.
64328         (__signbitl): Support C++ namespace.
64329         (lrintf): New inline function.
64330         (lrint): Likewise.
64331         (llrintf): Likewise.
64332         (llrint): Likewise.
64333         (fmaxf): Likewise.
64334         (fmax): Likewise.
64335         (fminf): Likewise.
64336         (fmin): Likewise.
64337         (rint): Likewise.
64338         (rintf): Likewise.
64339         (ceil): Likewise.
64340         (ceilf): Likewise.
64341         (floor): Likewise.
64342         (floorf): Likewise.
64343         (nearbyint): Likewise.
64344         (nearbyintf): Likewise.
64346 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64348         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64349         non-default versions.
64351 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64353         [BZ #14218]
64354         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64356 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64358         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64359         (FE_UPWARD, FE_DOWNWARD): Don't define.
64360         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64361         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64363         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64364         reading it.
64365         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64366         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64368 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64370         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64371         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64372         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64373         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64375 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64377         [BZ #14117]
64378         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64379         * sysdeps/i386/fpu/Implies: New file.
64380         * sysdeps/x86_64/fpu/Implies: Likewise.
64381         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64382         * sysdeps/x86/fpu/bits/fenv.h: This.
64384         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64385         __SSE_MATH__.
64387 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64389         [BZ #14134]
64390         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64391         character 0xffff that matches the last element of the
64392         conversion table.
64394 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64396         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64397         fmodl commit.
64399 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64401         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64402         values higher than 25.6283.
64404 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64406         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64407         subnormal exponent extraction and add some __builtin_expect.
64408         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64409         Fix for subnormal mantissa calculation.
64411 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64413         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64414         cpu2 is -1 and errno is not ENOSYS.
64416 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64418         [BZ #14117]
64419         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64420         * sysdeps/x86/bits/string.h: This.
64421         * sysdeps/x86_64/bits/string.h: Removed.
64423         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64424         if not compiling for x86-64, but compiling for >= i486.
64426         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64427         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64429         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64430         New macro from Linux kernel 3.4.0.
64431         (FP_XSTATE_MAGIC2): Likewise.
64432         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64433         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64434         (struct _fpx_sw_bytes): New struct.
64435         (struct _xsave_hdr): Likewise.
64436         (struct _ymmh_state): Likewise.
64437         (struct _xstate): Likewise.
64439         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64440         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64441         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64442         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64443         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64444         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64446         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64447         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64448         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64449         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64450         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64451         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64453 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64455         [BZ #13743]
64456         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64457         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64458         (sysdep_headers): Include sys/platform/ppc.h.
64459         * sysdeps/powerpc/test-gettimebase.c: Test for
64460         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64461         * manual/Makefile (appendices): Include platform.texi.
64462         * manual/contrib.texi (Contributors): Update @node pointers.
64463         * manual/maint.texi (Maintenance): Likewise.
64464         (Platform): New node.
64465         * manual/platform.texi: New file.  Document the new features.
64467 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64468             Jakub Jelinek  <jakub@redhat.com>
64470         [BZ #14188]
64471         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64472         where __builtin_expect is unavailable.
64474 2012-06-03  David S. Miller  <davem@davemloft.net>
64476         * stdlib/longlong.h: Updated from GCC.
64478 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64480         [BZ #14042]
64481         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64482         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64483         __mcount_internal.
64484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64485         (GLIBC_2.16): Likewise.
64487 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64489         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64491 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64494         (default-abi): New variable.
64495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64496         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64497         variable.
64498         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64499         Likewise.
64500         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64501         Likewise.
64502         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64503         Likewise.
64505         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64506         definition.  Document in comment.
64508 2012-06-01  David S. Miller  <davem@davemloft.net>
64510         * stdlib/longlong.h: Updated from GCC.
64512 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64514         [BZ #14117]
64515         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64516         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64517         sys/debugreg.h sys/io.h here.
64518         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64519         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64520         sys/io.h.
64521         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64522         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64523         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64524         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64525         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64526         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64528         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64529         Define only if __x86_64__ is defined.
64531 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64533         [BZ #14048]
64534         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64535         Use int64_t for variable i.
64536         * math/libm-test.inc (fmod_test): Add more tests.
64538         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64539         z computation is not scheduled after fetestexcept.
64540         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64541         Use math_force_eval instead of asm to ensure calculation scheduled
64542         before exception test.
64543         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64544         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64546 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64549         computation is not scheduled after fetestexcept.
64551 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64553         [BZ #14117]
64554         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64555         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64557 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64559         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64560         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64562 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64564         [BZ #14117]
64565         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64566         <bits/wordsize.h>.
64567         (__WCHAR_MIN): Support __WORDSIZE == 64.
64568         (__WCHAR_MAX): Likewise.
64570         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64573         [BZ #14183]
64574         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64575         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64577         [BZ #14117]
64578         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64579         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64581         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64582         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64584         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64585         Defined to 1 if __x86_64__ isn't defined.
64586         (_STAT_VER_LINUX_OLD): New.
64587         (st_atime): Remove duplicate.
64588         (st_mtime): Likewise.
64589         (st_ctime): Likewise.
64591 2012-05-31  David S. Miller  <davem@davemloft.net>
64593         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64594         entries.
64596 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64598         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64599         gen-libm-test.pl.
64601         [BZ #14132]
64602         * elf/dl-reloc.c: Include <_itoa.h>.
64603         (_dl_reloc_bad_type): Remove use of INTUSE.
64604         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64605         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64606         * stdio-common/psiginfo.c (psiginfo): Likewise.
64607         * stdio-common/psignal.c (psignal): Likewise.
64608         * string/strsignal.c (strsignal): Likewise.
64609         * include/signal.h (_sys_siglist): Declare hidden proto.
64610         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64611         INTVARDEF with libc_hidden_data_def.
64612         * stdio-common/itoa-udigits.c: Likewise.
64613         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64614         (_itoa_lower_digits_internal): Remove declaration.
64615         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64616         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64617         (_sys_sigabbrev_internal): Remove aliases.
64618         (_sys_siglist): Define hidden alias.
64620 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64623         bits/sysctl.h.
64625 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64627         [BZ #14117]
64628         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64629         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64631         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64632         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64633         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64634         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64635         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64636         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64638         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64640         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64642         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64643         with __addr.
64644         (insw): Likewise.
64645         (insl): Likewise.
64646         (outsb): Likewise.
64647         (outsw): Likewise.
64648         (outsl): Likewise.
64650         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64651         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64652         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64654         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64655         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64656         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64657         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64658         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64659         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64661         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64662         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64664         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64665         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64667         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64668         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64669         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64671         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64672         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64673         to ...
64674         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64676         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64677         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64678         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64680         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64681         for x86-64.
64682         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64684 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64686         * math/math.h (M_El): Use two more decimal places.
64687         (M_LOG2El): Likewise.
64688         (M_LOG10El): Likewise.
64689         (M_LN2l): Likewise.
64690         (M_LN10l): Likewise.
64691         (M_PIl): Likewise.
64692         (M_PI_2l): Likewise.
64693         (M_PI_4l): Likewise.
64694         (M_1_PIl): Likewise.
64695         (M_2_PIl): Likewise.
64696         (M_2_SQRTPIl): Likewise.
64697         (M_SQRT2l): Likewise.
64698         (M_SQRT1_2l): Likewise.
64700 2012-05-31  David S. Miller  <davem@davemloft.net>
64702         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64703         values between float registers.
64704         * sysdeps/sparc/sparc64/memset.S: Likewise.
64705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64707 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64709         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64710         -D_FORTIFY_SOURCE=1.
64711         (CPPFLAGS-tst-longjmp_chk.c): Define.
64712         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64713         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64714         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64715         CFLAGS-tst-wchar-h.c.
64717 2012-05-31  Marek Polacek  <polacek@redhat.com>
64719         [BZ #14132]
64720         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64721         __endmntent_internal): Remove declaration.
64722         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64723         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64724         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64726 2012-05-30  David S. Miller  <davem@davemloft.net>
64728         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64729         (___Q_simulate_exceptions): Use real FP ops rather than writing
64730         into the %fsr.
64731         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64732         Likewise.
64734 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64736         [BZ #14117]
64737         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64738         * sysdeps/x86/bits/xtitypes.h: This.
64740         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64741         * sysdeps/x86/bits/wordsize.h: This.
64743         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64744         * sysdeps/x86/bits/huge_vall.h: This.
64746         * sysdeps/i386/bits/select.h: Removed.
64747         * sysdeps/x86_64/bits/select.h: Renamed to ...
64748         * sysdeps/x86/bits/select.h: This.
64750         * sysdeps/i386/bits/setjmp.h: Removed.
64751         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64752         * sysdeps/x86/bits/setjmp.h: This.
64754         * sysdeps/i386/bits/mathdef.h: Removed.
64755         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64756         * sysdeps/x86/bits/mathdef.h: This.
64758 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64760         [BZ #14132]
64761         * include/sys/socket.h (__connect_internal)
64762         (__libc_sa_len_internal): Remove declaration.
64763         (__connect, __libc_sa_len): Declare hidden_proto.
64764         (SA_LEN): Remove use of INTUSE.
64765         * socket/connect.c: Add libc_hidden_def.
64766         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64767         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64768         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64769         alias.
64770         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64771         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64772         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64773         of adding _internal alias.
64775 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64777         [BZ #14117]
64778         * sysdeps/i386/bits/link.h: Removed.
64779         * sysdeps/i386/bits/linkmap.h: Likewise.
64780         * sysdeps/x86_64/bits/link.h: Renamed to ...
64781         * sysdeps/x86/bits/link.h: This.
64782         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64783         * sysdeps/x86/bits/linkmap.h: This.
64785         * sysdeps/i386/bits/endian.h: Removed.
64786         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64787         * sysdeps/x86/bits/endian.h: This.
64789         * sysdeps/i386/bits/byteswap.h: Removed.
64790         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64791         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64792         * sysdeps/x86/bits/byteswap.h: This.
64793         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64794         * sysdeps/x86/bits/byteswap-16.h: This.
64795         * sysdeps/i386/Implies: Add x86.
64796         * sysdeps/x86_64/Implies: Likewise.
64798 2012-05-30  David S. Miller  <davem@davemloft.net>
64800         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64801         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64802         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64803         (FP_TRAPPING_EXCEPTIONS): Define.
64804         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64805         (FP_TRAPPING_EXCEPTIONS): Define.
64806         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64807         subnormals only when inexact has been signalled or underflow
64808         exceptions are enabled.
64809         (_FP_PACK_CANONICAL): Likewise.
64811 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64813         [BZ #14183]
64814         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64815         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64817 2012-05-30  Richard Henderson  <rth@twiddle.net>
64819         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64820         with #ifndef NOT_IN_libc.
64822         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64823         marked to avoid plt entry.
64825 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64827         [BZ #14112]
64828         * Makeconfig (default-abi): New macro.
64829         (abi-includes): Likewise.
64830         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64831         $(abi-$(default-abi)-lib-soname) for soname if defined.
64832         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64833         abi-variants.
64834         * Makefile (installed-stubs): Likewise.
64835         * include/stubs-biarch.h: Removed.
64836         * scripts/lib-names.awk: Only handle one library at a time.
64837         * scripts/soversions.awk: Remove WORDSIZE support.
64838         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64839         entries.
64840         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64841         Removed.
64842         (syscall-list-default-condition): Likewise.
64843         (syscall-list-default-condition): Likewise.
64844         (syscall-list-includes): Likewise.
64845         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64846         syscall-list-* with abi-*.  Handle undefined abi-variants.
64847         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64848         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64849         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64850         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64851         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64852         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64853         Removed.
64854         (syscall-list-32-options): Likewise.
64855         (syscall-list-32-condition): Likewise.
64856         (syscall-list-64-options): Likewise.
64857         (syscall-list-64-condition): Likewise.
64858         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64859         macro.
64860         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64861         Renamed to ...
64862         (abi-*): This.
64863         (abi-64-ld-soname): New macro.
64864         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64865         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64866         Renamed to ...
64867         (abi-*): This.
64868         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64869         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64871 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64873         * sysdeps/unix/sysv/linux/kernel-features.h
64874         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64875         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64876         include <kernel-features.h>.
64877         [!__NR_ftruncate64]: Remove conditional code.
64878         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64879         [__NR_ftruncate64]: Make code unconditional.
64880         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64881         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64882         include <kernel-features.h>.
64883         [!__NR_ftruncate64]: Remove conditional code.
64884         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64885         [__NR_ftruncate64]: Make code unconditional.
64886         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64888         include <kernel-features.h>.
64889         [!__NR_ftruncate64]: Remove conditional code.
64890         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64891         [__NR_ftruncate64]: Make code unconditional.
64892         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64894         include <kernel-features.h>.
64895         [!__NR_ftruncate64]: Remove conditional code.
64896         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64897         [__NR_ftruncate64]: Make code unconditional.
64898         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64900         * configure.in (libc_cv_fpie): Weaken to a compile test using
64901         LIBC_TRY_CC_OPTION.
64902         * configure: Regenerated.
64904 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64910         Refreshed.
64911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64917         Refreshed.
64919 2012-05-27  David S. Miller  <davem@davemloft.net>
64921         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64922         (___Q_zero): New.
64923         (__Q_simulate_exceptions): Return void.  Change to simulate
64924         exceptions by writing into the %fsr.
64925         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64926         (__Qp_handle_exceptions): Likewise.
64927         (numbers): Delete.
64928         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64929         __Qp_handle_exceptions.
64930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64931         __Qp_handle_exceptions.
64932         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64933         as unused and give dummy FP_RND_NEAREST initializer.
64934         (FP_INHIBIT_RESULTS): Define.
64935         (___Q_simulate_exceptions): Update declaration.
64936         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64937         formatting.
64938         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64939         as unused and give dummy FP_RND_NEAREST initializer.
64940         (__Qp_handle_exceptions): Update declaration.
64941         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64942         formatting.
64944 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64946         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64947         the temporary FPU control word.
64948         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64949         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64950         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64951         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64952         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64953         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64954         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64955         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64956         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64957         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64958         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64960 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64962         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64963         fields.
64965 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64967         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64968         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64969         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64970         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64971         Likewise.
64972         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64973         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64974         Likewise.
64976 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64978         * po/h.po: Update from translation team.
64980 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64982         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64984         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64985         handling of denormals.
64986         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64987         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64988         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64989         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64991         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64992         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64993         Likewise.
64995 2012-05-26  Marek Polacek  <polacek@redhat.com>
64997         [BZ #14152]
64998         * math/libm-test.inc (fma_test): Don't always expect underflow
64999         exception.
65001 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65003         [BZ #12416]
65004         * elf/tst-execstack.c: Include stackinfo.h.
65005         (do_test): Adjust test case to ensure that pthread_getattr_np
65006         behaviour remains the same after marking stack executable.
65008 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65010         * sysdeps/unix/sysv/linux/kernel-features.h
65011         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65012         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65013         kernel-features.h.
65014         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65015         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65016         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65017         kernel-features.h.
65018         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65019         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65021 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65023         * configure.in: Define the default includes to being none.
65024         * configure: Regenerated.
65026 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65028         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65029         * sysdeps/x86_64/setjmp.S: Likewise.
65030         * sysdeps/i386/bsd-setjmp.S: Likewise.
65031         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65032         * sysdeps/i386/setjmp.S: Likewise.
65033         * sysdeps/i386/__longjmp.S: Likewise.
65034         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65035         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65037         * include/stap-probe.h: New file.
65038         * configure.in: Handle --enable-systemtap.
65039         * configure: Regenerated.
65040         * config.h.in (USE_STAP_PROBE): New #undef.
65041         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65042         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65043         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65045 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65047         [BZ #13717]
65048         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65049         to 2.4.0 where earlier.
65050         * sysdeps/unix/sysv/linux/configure: Regenerated.
65051         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65052         <kernel-features.h>.
65053         [__ASSUME_32BITUIDS]: Make code unconditional.
65054         [!__ASSUME_32BITUIDS]: Remove conditional code.
65055         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65056         <kernel-features.h>.
65057         [__ASSUME_32BITUIDS]: Make code unconditional.
65058         [!__ASSUME_32BITUIDS]: Remove conditional code.
65059         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65060         [__ASSUME_32BITUIDS]: Make code unconditional.
65061         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65062         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65063         <kernel-features.h>.
65064         [__ASSUME_32BITUIDS]: Make code unconditional.
65065         [!__ASSUME_32BITUIDS]: Remove conditional code.
65066         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65067         <kernel-features.h>.
65068         [__ASSUME_32BITUIDS]: Make code unconditional.
65069         [!__ASSUME_32BITUIDS]: Remove conditional code.
65070         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65071         <kernel-features.h>.
65072         [__ASSUME_32BITUIDS]: Make code unconditional.
65073         [!__ASSUME_32BITUIDS]: Remove conditional code.
65074         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65075         <kernel-features.h>.
65076         [__ASSUME_32BITUIDS]: Make code unconditional.
65077         [!__ASSUME_32BITUIDS]: Remove conditional code.
65078         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65079         <kernel-features.h>.
65080         [__ASSUME_32BITUIDS]: Make code unconditional.
65081         [!__ASSUME_32BITUIDS]: Remove conditional code.
65082         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65083         <kernel-features.h>.
65084         [__ASSUME_32BITUIDS]: Make code unconditional.
65085         [!__ASSUME_32BITUIDS]: Remove conditional code.
65086         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65087         <kernel-features.h>.
65088         [__ASSUME_32BITUIDS]: Make code unconditional.
65089         [!__ASSUME_32BITUIDS]: Remove conditional code.
65090         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65091         <kernel-features.h>.
65092         [__ASSUME_32BITUIDS]: Make code unconditional.
65093         [!__ASSUME_32BITUIDS]: Remove conditional code.
65094         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65095         <kernel-features.h>.
65096         [__ASSUME_32BITUIDS]: Make code unconditional.
65097         [!__ASSUME_32BITUIDS]: Remove conditional code.
65098         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65099         <kernel-features.h>.
65100         [__ASSUME_32BITUIDS]: Make code unconditional.
65101         [!__ASSUME_32BITUIDS]: Remove conditional code.
65102         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65103         <kernel-features.h>.
65104         [__NR_setresgid] (__setresgid): Do not declare.
65105         [__ASSUME_32BITUIDS]: Make code unconditional.
65106         [!__ASSUME_32BITUIDS]: Remove conditional code.
65107         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65108         <kernel-features.h>.
65109         [__NR_setresuid] (__setresuid): Do not declare.
65110         [__ASSUME_32BITUIDS]: Make code unconditional.
65111         [!__ASSUME_32BITUIDS]: Remove conditional code.
65112         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65113         <kernel-features.h>.
65114         [__ASSUME_32BITUIDS]: Make code unconditional.
65115         [!__ASSUME_32BITUIDS]: Remove conditional code.
65116         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65117         <kernel-features.h>.
65118         [__ASSUME_32BITUIDS]: Make code unconditional.
65119         [!__ASSUME_32BITUIDS]: Remove conditional code.
65120         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65121         <kernel-features.h>.
65122         [__ASSUME_32BITUIDS]: Make code unconditional.
65123         [!__ASSUME_32BITUIDS]: Remove conditional code.
65124         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65125         <kernel-features.h>.
65126         [__ASSUME_32BITUIDS]: Make code unconditional.
65127         [!__ASSUME_32BITUIDS]: Remove conditional code.
65128         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65129         <kernel-features.h>.
65130         [__ASSUME_32BITUIDS]: Make code unconditional.
65131         [!__ASSUME_32BITUIDS]: Remove conditional code.
65132         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65133         <kernel-features.h>.
65134         [__ASSUME_32BITUIDS]: Make code unconditional.
65135         [!__ASSUME_32BITUIDS]: Remove conditional code.
65136         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65137         <kernel-features.h>.
65138         [__ASSUME_32BITUIDS]: Make code unconditional.
65139         [!__ASSUME_32BITUIDS]: Remove conditional code.
65140         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65141         <kernel-features.h>.
65142         [__ASSUME_32BITUIDS]: Make code unconditional.
65143         [!__ASSUME_32BITUIDS]: Remove conditional code.
65144         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65145         <kernel-features.h>.
65146         [__ASSUME_32BITUIDS]: Make code unconditional.
65147         [!__ASSUME_32BITUIDS]: Remove conditional code.
65148         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65149         <kernel-features.h>.
65150         [__ASSUME_32BITUIDS]: Make code unconditional.
65151         [!__ASSUME_32BITUIDS]: Remove conditional code.
65152         * sysdeps/unix/sysv/linux/kernel-features.h
65153         (__ASSUME_SETRESUID_SYSCALL): Remove.
65154         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65155         (__ASSUME_32BITUIDS): Likewise.
65156         (__ASSUME_LDT_WORKS): Likewise.
65157         (__ASSUME_O_DIRECTORY): Likewise.
65158         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65159         architecture but not kernel version.
65160         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65161         (__ASSUME_MMAP2_SYSCALL): Likewise.
65162         (__ASSUME_STAT64_SYSCALL): Likewise.
65163         (__ASSUME_IPC64): Likewise.
65164         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65165         <kernel-features.h>.
65166         [__ASSUME_32BITUIDS]: Make code unconditional.
65167         [!__ASSUME_32BITUIDS]: Remove conditional code.
65168         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65169         <kernel-features.h>.
65170         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65171         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65172         132096]: Remove conditional code.
65173         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65174         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
65183         <kernel-features.h>.
65184         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65185         unconditional.
65186         (__setresgid): Do not declare.
65187         [__ASSUME_32BITUIDS]: Make code unconditional.
65188         [!__ASSUME_32BITUIDS]: Remove conditional code.
65189         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65190         <kernel-features.h>.
65191         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65192         unconditional.
65193         (__setresuid): Do not declare.
65194         [__ASSUME_32BITUIDS]: Make code unconditional.
65195         [!__ASSUME_32BITUIDS]: Remove conditional code.
65196         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65197         <kernel-features.h>.
65198         [__ASSUME_32BITUIDS]: Make code unconditional.
65199         [!__ASSUME_32BITUIDS]: Remove conditional code.
65200         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65201         <kernel-features.h>.
65202         [__ASSUME_32BITUIDS]: Make code unconditional.
65203         [!__ASSUME_32BITUIDS]: Remove conditional code.
65205 2012-05-25  Richard Henderson  <rth@twiddle.net>
65207         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65208         dl_hwcap to ifunc resolver.
65209         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65210         elf_ifunc_invoke.
65211         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65212         dl_hwcap to ifunc resolver.
65213         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65215 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65217         [BZ #14153]
65218         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65219         for |x| <= 2**-26, not 2**-57.
65220         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65221         exception.
65223 2012-05-24  Jeff Law  <law@redhat.com>
65225         * stdio-common/Makefile (tests): Add bug25.
65226         * stdio-common/bug25.c: New test.
65228 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65230         [BZ #13576]
65231         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65232         multiple of MALLOC_ALIGNMENT in size.
65233         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65235 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65237         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65238         Require >= 256.
65239         (FILENAME_MAX): Use macro-int-constant.
65240         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65241         (_IOFBF): Use macro-int-constant.
65242         (_IOLBF): Likewise.
65243         (_IONBF): Likewise.
65244         (SEEK_CUR): Likewise.
65245         (SEEK_END): Likewise.
65246         (SEEK_SET): Likewise.
65247         (TMP_MAX): Likewise.
65248         (EOF): Use macro-int-constant.  Require < 0.
65249         (NULL): Use macro-constant.  Require == 0.
65250         (stdin): Require type to be FILE *.
65251         (stdout): Likewise.
65252         (stderr): Likewise.
65253         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65254         macro-int-constant.
65255         (EXIT_SUCCESS): Likewise.
65256         (NULL): Use macro-constant.  Require == 0.
65257         (RAND_MAX): Use macro-int-constant.
65258         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65259         [C99-based standards] (strtof): Require function.
65260         [C99-based standards] (strtold): Likewise.
65261         [C99-based standards] (strtoll): Likewise.
65262         [C99-based standards] (strtoull): Likewise.
65263         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65264         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65265         [ISO || ISO99 || ISO11] (math.h): Likewise.
65266         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65267         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65268         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65270 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65272         [BZ #14132]
65273         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65274         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65275         * intl/dgettext.c (DCGETTEXT): Likewise.
65276         * intl/gettext.c (DCGETTEXT): Likewise.
65277         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65278         * posix/regex_internal.h (gettext): Likewise.
65279         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65280         Remove declaration.
65281         * include/argz.h (__argz_count_internal)
65282         (__argz_stringify_internal): Remove declaration.
65283         (__argz_count, __argz_stringify): Declare hidden proto.
65284         * intl/dcgettext.c: Remove use of INTDEF.
65285         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65286         * string/argz-stringify.c: Likewise.
65287         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65288         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65289         Declare hidden proto.
65290         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65291         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65292         Declare hidden proto.
65293         * include/stdio.h (__asprintf_internal): Don't declare.
65294         (__asprintf): Don't define as macro.  Declare hidden proto.
65295         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65296         (__fsetlocking): Declare hidden proto.
65297         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65298         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65299         hidden proto.
65300         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65301         (_IO_setlinebuf): Remove use of INTUSE.
65302         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65303         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65304         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65305         Remove declaration.
65306         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65307         (_IO_do_flush): Remove use of INTUSE.
65308         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65309         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65310         (_IO_adjust_column, _IO_least_wmarker)
65311         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65312         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65313         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65314         (_IO_default_doallocate, _IO_wdefault_doallocate)
65315         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65316         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65317         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65318         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65319         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65320         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65321         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65322         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65323         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65324         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65325         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65326         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65327         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65328         proto.
65329         (_IO_flush_all_internal, _IO_adjust_column_internal)
65330         (_IO_default_uflow_internal, _IO_default_finish_internal)
65331         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65332         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65333         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65334         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65335         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65336         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65337         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65338         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65339         (_IO_file_close_internal, _IO_file_close_it_internal)
65340         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65341         (_IO_file_init_internal, _IO_file_attach_internal)
65342         (_IO_file_fopen_internal, _IO_file_read_internal)
65343         (_IO_file_sync_internal, _IO_file_seek_internal)
65344         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65345         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65346         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65347         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65348         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65349         (_IO_list_all_internal, _IO_link_in_internal)
65350         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65351         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65352         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65353         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65354         (_IO_do_write_internal, _IO_padn_internal)
65355         (_IO_getline_info_internal, _IO_getline_internal)
65356         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65357         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65358         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65359         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65360         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65361         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65362         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65363         with libc_hidden_ver, remove use of INTUSE.
65364         * libio/genops.c: Likewise.
65365         * libio/freopen.c: Likewise.
65366         * libio/freopen64.c: Likewise.
65367         * libio/iofclose.c: Likewise.
65368         * libio/iofdopen.c: Likewise.
65369         * libio/iofflush.c: Likewise.
65370         * libio/iofflush_u.c: Likewise.
65371         * libio/iofgets.c: Likewise.
65372         * libio/iofgets_u.c: Likewise.
65373         * libio/iofopen.c: Likewise.
65374         * libio/iofopncook.c: Likewise.
65375         * libio/iofread.c: Likewise.
65376         * libio/iofread_u.c: Likewise.
65377         * libio/ioftell.c: Likewise.
65378         * libio/iofwrite.c: Likewise.
65379         * libio/iogetline.c: Likewise.
65380         * libio/iogets.c: Likewise.
65381         * libio/iogetwline.c: Likewise.
65382         * libio/iopadn.c: Likewise.
65383         * libio/iopopen.c: Likewise.
65384         * libio/ioseekoff.c: Likewise.
65385         * libio/ioseekpos.c: Likewise.
65386         * libio/iosetbuffer.c: Likewise.
65387         * libio/iosetvbuf.c: Likewise.
65388         * libio/ioungetc.c: Likewise.
65389         * libio/ioungetwc.c: Likewise.
65390         * libio/iovdprintf.c: Likewise.
65391         * libio/iovsprintf.c: Likewise.
65392         * libio/iovsscanf.c: Likewise.
65393         * libio/memstream.c: Likewise.
65394         * libio/obprintf.c: Likewise.
65395         * libio/oldfileops.c: Likewise.
65396         * libio/oldiofclose.c: Likewise.
65397         * libio/oldiofdopen.c: Likewise.
65398         * libio/oldiofopen.c: Likewise.
65399         * libio/oldiopopen.c: Likewise.
65400         * libio/oldstdfiles.c: Likewise.
65401         * libio/putc.c: Likewise.
65402         * libio/setbuf.c: Likewise.
65403         * libio/setlinebuf.c: Likewise.
65404         * libio/stdfiles.c: Likewise.
65405         * libio/strops.c: Likewise.
65406         * libio/vasprintf.c: Likewise.
65407         * libio/vscanf.c: Likewise.
65408         * libio/vsnprintf.c: Likewise.
65409         * libio/vswprintf.c: Likewise.
65410         * libio/wfiledoalloc.c: Likewise.
65411         * libio/wfileops.c: Likewise.
65412         * libio/wgenops.c: Likewise.
65413         * libio/wmemstream.c: Likewise.
65414         * libio/wstrops.c: Likewise.
65415         * libio/__fpurge.c: Likewise.
65416         * libio/__fsetlocking.c: Likewise.
65417         * assert/assert.c: Likewise.
65418         * debug/fgets_chk.c: Likewise.
65419         * debug/fgets_u_chk.c: Likewise.
65420         * debug/fread_chk.c: Likewise.
65421         * debug/fread_u_chk.c: Likewise.
65422         * debug/gets_chk.c: Likewise.
65423         * debug/obprintf_chk.c: Likewise.
65424         * debug/vasprintf_chk.c: Likewise.
65425         * debug/vdprintf_chk.c: Likewise.
65426         * debug/vsnprintf_chk.c: Likewise.
65427         * debug/vsprintf_chk.c: Likewise.
65428         * malloc/mtrace.c: Likewise.
65429         * misc/error.c: Likewise.
65430         * misc/syslog.c: Likewise.
65431         * stdio-common/asprintf.c: Likewise.
65432         * stdio-common/fxprintf.c: Likewise.
65433         * stdio-common/getw.c: Likewise.
65434         * stdio-common/isoc99_fscanf.c: Likewise.
65435         * stdio-common/isoc99_scanf.c: Likewise.
65436         * stdio-common/isoc99_vfscanf.c: Likewise.
65437         * stdio-common/isoc99_vscanf.c: Likewise.
65438         * stdio-common/isoc99_vsscanf.c: Likewise.
65439         * stdio-common/printf-prs.c: Likewise.
65440         * stdio-common/printf_fp.c: Likewise.
65441         * stdio-common/printf_fphex.c: Likewise.
65442         * stdio-common/printf_size.c: Likewise.
65443         * stdio-common/putw.c: Likewise.
65444         * stdio-common/scanf.c: Likewise.
65445         * stdio-common/sprintf.c: Likewise.
65446         * stdio-common/tmpfile.c: Likewise.
65447         * stdio-common/vfprintf.c: Likewise.
65448         * stdio-common/vfscanf.c: Likewise.
65449         * stdlib/strfmon_l.c: Likewise.
65450         * sunrpc/openchild.c: Likewise.
65451         * sunrpc/xdr_stdio.c: Likewise.
65452         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65453         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65455 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65457         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65459         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65460         in the third column, to generate for the shared library an IFUNC
65461         that uses _dl_vdso_vsym.
65462         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65463         * Makeconfig (object-suffixes-noshared): New variable.
65465         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65466         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65467         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65468         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65470         [BZ #14132]
65471         * include/sys/time.h (__gettimeofday): Remove macro.
65472         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65473         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65474         Remove INTDEF.
65475         (__gettimeofday): Add libc_hidden_def.
65476         (gettimeofday): Add libc_hidden_weak.
65477         * sysdeps/mach/gettimeofday.c: Likewise.
65478         * sysdeps/posix/gettimeofday.c: Likewise.
65479         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65480         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65481         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65482         (__gettimeofday_internal): Remove strong_alias.
65483         (__gettimeofday): Add libc_hidden_def.
65484         (gettimeofday): Add libc_hidden_weak.
65485         * sysdeps/unix/syscalls.list (gettimeofday):
65486         Remove __gettimeofday_internal alias.
65488 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65489             H.J. Lu  <hongjiu.lu@intel.com>
65491         [BZ #12495]
65492         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65493         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65494         (largebin_index_32_big): New.
65495         (largebin_index): Use it for 16-byte alignment.
65496         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65497         correction with front_misalign.
65499 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65503         Likewise.
65504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65505         Likewise.
65506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65507         Likewise.
65508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65509         Likewise.
65510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65511         Likewise.
65512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65513         Likewise.
65514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65515         Likewise.
65516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65517         Likewise.
65518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65519         Likewise.
65520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65521         Likewise.
65522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65523         Likewise.
65524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65525         Likewise.
65527         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65528         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65530 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65532         [BZ #10846]
65533         [BZ #14036]
65534         * math/libm-test.inc (exp_test): Add test from bug 14036.
65535         (pow_test): Add test from bug 10846.
65537         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65538         and other flags.
65539         (special_function): Do not include flags in test name.
65540         (parse_args): Likewise.
65541         * sysdeps/i386/fpu/libm-test-ulps: Update.
65542         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65543         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65547         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65548         exceptions.
65549         * math/libm-test.inc ("Philosophy"): Update comment about
65550         exception testing.
65551         (UNDERFLOW_EXCEPTION): New macro.
65552         (UNDERFLOW_EXCEPTION_OK): Likewise.
65553         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65554         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65555         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65556         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65557         (INVALID_EXCEPTION_OK): Update value.
65558         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65559         (OVERFLOW_EXCEPTION_OK): Likewise.
65560         (IGNORE_ZERO_INF_SIGN): Likewise.
65561         (test_exceptions): Handle underflow exceptions.
65562         (acos_test): Update for underflow exception expectations.
65563         (cexp_test): Likewise.
65564         (clog_test): Likewise.
65565         (clog10_test): Likewise.
65566         (csqrt_test): Likewise.
65567         (ctan_test): Likewise.
65568         (ctanh_test): Likewise.
65569         (exp_test): Likewise.
65570         (exp10_test): Likewise.
65571         (exp2_test): Likewise.
65572         (expm1_test): Likewise.
65573         (fma_test): Likewise.
65574         (j0_test): Likewise.
65575         (jn_test): Likewise.
65576         (nexttoward_test): Likewise.
65577         (pow_test): Likewise.
65578         (scalbn_test): Likewise.
65579         (scalbln_test): Likewise.
65580         (tan_test): Likewise.
65581         (y1_test): Likewise.
65582         * sysdeps/i386/fpu/libm-test-ulps: Update.
65583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65585 2012-05-23  David S. Miller  <davem@davemloft.net>
65587         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65588         (__libc_sigaction): Remove unused local variables.
65590 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65592         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65594 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65596         mktime: avoid signed integer overflow
65597         * time/mktime.c (__mktime_internal): Do not mishandle the case
65598         where diff == INT_MIN.
65600         mktime: simplify computation of average
65601         * time/mktime.c (ranged_convert): Use new time_t_avg function
65602         instead of rolling our own (probably-slower) code.
65604         mktime: do not assume signed right shift propagates sign bit
65605         * time/mktime.c (isdst_differ): New static function.
65606         (__mktime_internal): No need to normalize tm_isdst now.
65607         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65608         tm_isdst values.
65610         mktime: merge another wrapv change from gnulib
65611         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65612         from some compilers.
65614         mktime: remove incorrect attempt at unusual arithmetics
65615         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65616         The code didn't really work on such machines anyway.
65617         (TYPE_MINIMUM): Assume two's complement.
65618         (twos_complement_arithmetic): Verify that long_int and time_t
65619         are two's complement (or unsigned, in the latter case).
65621         mktime: check signed shifts on long_int and time_t, too
65622         * time/mktime.c (SHR): Check that shifts work as desired
65623         on the types long_int and time_t too, as SHR is used on
65624         such types.
65626         mktime: do not assume 'long' is wide enough
65627         * time/mktime.c (verify): Move decl up.
65628         (long_int): New type.
65629         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65630         to remove assumption in the code that 'long' is wide enough to
65631         store year values.  This assumption is not true on x32 and on
65632         some non-glibc platforms.
65634         mktime: merge wrapv change from gnulib
65635         * time/mktime.c (WRAPV): New macro.
65636         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65637         (guess_time_tm, __mktime_internal): Do not assume that signed
65638         integer overflow wraps around; modern compilers generate code
65639         where this assumption is no longer valid.
65641 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65643         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65644         Replace "jmp L(pseudo_end)" with "ret".
65645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65646         Likewise.
65648 2012-05-23  Andreas Jaeger  <aj@suse.de>
65650         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65651         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65653 2012-05-23  Andreas Jaeger  <aj@suse.de>
65654             Maximilian Attems  <max@stro.at>
65656         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65657         New macros.
65659 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65661         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65662         code so that pseudo_end is just ret and the stack pointer is
65663         correct also for static library in error case.
65665 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65667         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65668         move to syscalls.list.
65669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65674         * manual/install.texi (Running make install): Do not mention Linux
65675         kernel version for which pt_chown is not needed.
65676         (Linux): Do not mention problems with nscd with 2.0 kernels.
65677         * INSTALL: Regenerated.
65679 2012-05-23  Andreas Jaeger  <aj@suse.de>
65681         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65682         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65683         macro.
65684         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65685         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65686         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65687         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65688         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65689         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65691         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65692         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65693         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65694         * sysdeps/unix/sysv/linux/bits/in.h
65695         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65697 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65699         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65700         (PREPARE_VERSION): Just use assert instead, it will be elided
65701         under [NDEBUG] anyway.
65703 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65705         * sysdeps/unix/sysv/linux/Makefile: Include
65706         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65707         (sysdep_routines): Remove sysctl.
65708         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65709         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65710         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65711         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65712         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65714 2012-05-22  Andreas Jaeger  <aj@suse.de>
65716         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65717         that pseudo_end is just ret and the stack pointer is correct also
65718         for static library in error case.
65720 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65722         [BZ #14122]
65723         * nss/nsswitch.c (defconfig_entries): New variable.
65724         (__nss_database_lookup): Don't leak defconfig entries.
65725         (nss_parse_service_list): Don't leak on error paths.
65726         (free_database_entries): New function.
65727         (free_defconfig): New function.
65728         (free_mem): Move common code to free_database_entries.
65730 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65732         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65733         Add arch_prctl.
65734         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65736         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65737         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65739         New macro.
65740         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65741         (INTERNAL_SYSCALL_TYPES): Likewise.
65742         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65743         (LOAD_REGS_TYPES_[1-6]): Likewise.
65744         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65745         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65747 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65749         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65750         copysignl for GLIBC_2_0.
65751         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65752         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65754         logbl for GLIBC_2_0.
65755         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65756         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65758 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65760         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65761         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65763         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65764         Use "neg %eax".
65766         * time/mktime.c: Update copyright years.
65768 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65770         mktime: merge comment-quoting-style change from gnulib
65771         * time/mktime.c: Quote 'like this' in comments.
65772         The GNU coding standards suggest that we no longer quote `like this',
65773         as "`" and "'" are typically rendered asymmetrically nowadays.
65774         The typical gnulib style is to quote 'like this' when quoting
65775         code, and "like this" when quoting English.
65777         * time/mktime.c (compile-command): Add "-I.".
65779         mktime: merge mktime-internal.h change from gnulib
65780         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65782         mktime: merge time_r change from gnulib
65783         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65785         mktime: merge DEBUG change from gnulib
65786         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65787         case system <time.h> has a #define.
65789         mktime: merge <sys/types.h> change from gnulib
65790         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65791         since <time.t> is now guaranteed to define time_t.
65793         mktime: merge HAVE_CONFIG_H change from gnulib
65794         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65796 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65799         Use "neg %eax".
65801         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65802         __rlim_t cast.
65803         (struct rusage): Use anonymous union to pad each field to
65804         __syscall_slong_t.
65806 2012-05-21  David S. Miller  <davem@davemloft.net>
65808         * Makefules (o-iterator): Remove .s cases.
65809         (compile-command.s): Delete.
65810         (COMPILE.s): Delete.
65811         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65813 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65815         * configure.in (libc_cv_predef_stack_protector): Only consider
65816         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65817         * configure: Regenerated.
65819 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65822         New macro.  Use R*LP on int and pointer.
65823         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65824         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65825         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65826         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65828         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65829         [__WORDSIZE_TIME64_COMPAT32] instead of
65830         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65831         (struct utmp): Likewise.
65832         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65833         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65834         Renamed to ...
65835         (__WORDSIZE_TIME64_COMPAT32): This.
65836         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65837         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65838         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65839         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65840         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65841         (__WORDSIZE_TIME64_COMPAT32): New macro.
65843 2012-05-21  Andreas Jaeger  <aj@suse.de>
65845         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65846         only if [SHARED]. Add prototype for __wcschr_ia32.
65848 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65850         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65851         of %rbp unmolested in the jmp_buf while mangling the low bits.
65852         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65853         unmolested high bits of %rbp while demangling the low bits.
65854         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65856 2012-05-21  Andreas Jaeger  <aj@suse.de>
65858         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65859         * sunrpc/svc_simple.c: Use it for registerrpc.
65860         * sunrpc/xcrypt.c: Use it for passwd2des.
65862         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65864 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65866         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65867         Don't define if [__SYSCALL_WORDSIZE != 32].
65868         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65869         New macro.
65871 2012-05-21  Bruno Haible  <bruno@clisp.org>
65872             Andreas Jaeger  <aj@suse.de>
65874         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65875         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65876         inptr and inend for must_buffer_ch.
65877         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65878         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65879         * stdio-common/Makefile (tests): Remove bug15.
65880         (bug15-ENV): Remove macro.
65881         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65882         anymore.
65884 2012-05-19  Andreas Jaeger  <aj@suse.de>
65885             Roland McGrath  <roland@hack.frob.com>
65887         * manual/contrib.texi: Completely rewritten. It contains now an
65888         alphabetical list of contributors and their contributions.
65890 2012-05-21  Richard Henderson  <rth@twiddle.net>
65892         * misc/getauxval.c (__getauxval): Use unsigned long int.
65893         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65894         (getauxval): Use unsigned long int.
65896 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65898         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65900 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65902         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65903         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65904         __alignof__ (long double).
65906 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65910 2012-05-20  Richard Henderson  <rth@twiddle.net>
65912         * misc/getauxval.c: New file.
65913         * misc/sys/auxv.h: New file.
65914         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65915         (routines): Add getauxval.
65916         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65917         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65918         * elf/dl-sysdep.c (_dl_auxv): Remove.
65919         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65920         * elf/dl-support.c (_dl_auxv): New variable.
65921         (_dl_aux_init): Initialize it.
65922         * manual/startup.texi (Auxiliary Vector): New node.
65923         * sysdeps/generic/bits/hwcap.h: New file.
65924         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65925         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65926         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65927         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65928         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65929         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65931         Update.
65932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65935         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65941 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65945 2012-05-19  David S. Miller  <davem@davemloft.net>
65947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65949 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65951         [BZ #14123]
65952         * math/s_ccosh.c: Include <float.h>
65953         (__ccosh): Avoid internal overflow calculating sinh and cosh
65954         values before multiplying by sin and cos values.
65955         * math/s_ccoshf.c: Likewise.
65956         * math/s_ccoshl.c: Likewise.
65957         * math/s_csin.c: Likewise.
65958         * math/s_csinf.c: Likewise.
65959         * math/s_csinl.c: Likewise.
65960         * math/s_csinh.c: Likewise.
65961         * math/s_csinhf.c: Likewise.
65962         * math/s_csinhl.c: Likewise.
65963         * math/libm-test.inc (ccos_test): Add more tests.
65964         (ccosh_test): Likewise.
65965         (csin_test): Likewise.
65966         (csinh_test): Likewise.
65967         * sysdeps/i386/fpu/libm-test-ulps: Update.
65968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65970 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65972         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65973         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65975         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65977 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65979         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65980         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65981         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65982         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65983         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65984         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65985         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65986         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65987         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65988         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65989         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65990         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65991         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65992         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65993         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65994         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65995         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65996         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65997         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65998         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65999         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66000         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66001         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66002         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66003         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66004         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66005         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66006         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66007         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66008         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66009         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66011 2012-05-18  Andreas Jaeger  <aj@suse.de>
66013         * csu/.gitignore: Delete.
66015 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66017         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66018         (timex): Use __syscall_slong_t.
66020 2012-05-18  Andreas Jaeger  <aj@suse.de>
66021             Carlos O'Donell  <carlos_odonell@mentor.com>
66023         * manual/install.texi (Configuring and compiling): Update
66024         description about files modified in the source directory.
66025         * INSTALL: Regenerated.
66027 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66029         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66030         value.  Use "or" to set return value to -1.
66031         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66032         negate return value.
66034 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66036         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66037         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66038         failure if the compiler has Graphite support disabled.
66039         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66040         Likewise.
66041         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66042         (CFLAGS-memmove.c): Likewise.
66043         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66044         Likewise.
66046 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66048         * sysdeps/x86_64/x32/_itoa.h: New file.
66050         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66051         getdents system call only if kernel and user dirents have the
66052         same d_ino and d_off.
66054         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66055         LLONG_MAX != LONG_MAX.
66056         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66057         (_fitoa_word): Likewise.
66059         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66060         years.
66061         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66062         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66063         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66065         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66066         include <bits/wordsize.h>.  Check __x86_64__ instead of
66067         __WORDSIZE.
66068         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66069         if __x86_64__ is defined.  Use anonymous union on fpstate.
66071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66072         anonymous union.
66074 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66076         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66077         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66078         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66079         Refer to _rtld_local_ro instead of _rtld_global_ro.
66080         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66081         Likewise.
66082         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66083         Likewise.
66084         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66085         Likewise.
66086         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66087         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66088         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66090         [BZ #10882]
66091         * sysdeps/powerpc/powerpc32/dl-machine.c
66092         (__elf_machine_runtime_setup) [PROF]: Don't reference
66093         _dl_prof_resolve.
66095 2012-05-18  Andreas Jaeger  <aj@suse.de>
66097         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66098         function only available for GCCs before 3.4 since GCC 3.4
66099         introduced a builtin.
66100         (lrint): Likewise.
66101         (llrintf): Likewise.
66102         (llrint): Likewise.
66103         (fmaxf): Likewise.
66104         (fmax): Likewise.
66105         (fminf): Likewise.
66106         (fmin): Likewise.
66107         (rint): Likewise.
66108         (rintf): Likewise.
66109         (nearbyint): Likewise.
66110         (nearbyintf): Likewise.
66111         (ceil): Likewise.
66112         (ceilf): Likewise.
66113         (floor): Likewise.
66114         (floorf): Likewise.
66116 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66118         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66119         on both fields and cast pointer to __syscall_ulong_t.
66121         * bits/types.h (__fsword_t): New type.
66122         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66123         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66124         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66125         (__FSWORD_T_TYPE): Likewise.
66126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66127         (__FSWORD_T_TYPE): Likewise.
66128         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66129         (__FSWORD_T_TYPE): Likewise.
66130         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66131         (__FSWORD_T_TYPE): Likewise.
66132         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66133         __SWORD_TYPE with __fsword_t.
66134         (statfs64): Likewise.
66136 2012-05-17  David S. Miller  <davem@davemloft.net>
66138         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66140 2012-05-17  Andreas Jaeger  <aj@suse.de>
66142         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66143         warning.
66145 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66147         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66149 2012-05-17  Andreas Jaeger  <aj@suse.de>
66151         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66152         when it is used.
66154 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66156         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66158 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66160         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66161         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66163 2012-05-17  Andreas Jaeger  <aj@suse.de>
66164             Carlos O'Donell  <carlos_odonell@mentor.com>
66166         [BZ #14059]
66167         * sysdeps/x86_64/multiarch/init-arch.h
66168         (bit_YMM_Usable): Rename to...
66169         (bit_AVX_Usable): ... this.
66170         (bit_FMA4_Usable): New macro.
66171         (bit_XMM_state): New macro.
66172         (bit_YMM_state): New macro.
66173         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66174         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66175         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66176         (CPUID_OSXSAVE): New macro.
66177         (CPUID_AVX): New macro.
66178         (CPUID_FMA4): New macro.
66179         (index_YMM_Usable): Rename to...
66180         (index_AVX_Usable): ... this.
66181         (HAS_AVX): Use HAS_ARCH_FEATURE.
66182         (HAS_FMA4): Likewise.
66183         (HAS_YMM_USABLE): Remove.
66184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66185         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66186         are present.
66187         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66188         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66189         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66190         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66191         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66193 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66195         * math/libm-test.c: Support platforms without multiple rounding modes.
66196         * math/bug-nextafter.c: Support platforms without FP exceptions.
66197         * math/bug-nexttoward.c: Likewise.
66198         * math/test-fenv.c: Likewise.
66199         * math/test-misc.c: Likewise.
66200         * stdlib/bug-getcontext.c: Likewise.
66202 2012-05-17  Andreas Jaeger  <aj@suse.de>
66204         * manual/examples/search.c (critter_cmp): Change signature to
66205         avoid warnings.
66206         * manual/string.texi (Collation Functions): Likewise.
66208 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66210         * bits/types.h: Fold copyright years.
66211         * bits/typesizes.h: Likewise.
66212         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66215         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66216         * time/time.h: Likewise.
66218 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66220         [BZ #208]
66221         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66222         in instead of returning them.  Return void.
66223         (__libc_mallinfo): Accumulate over all arenas.
66224         (__malloc_stats): Adjust for change in int_mallinfo interface.
66226 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66228         [BZ #10375]
66229         * configure.in (NM): Add AC_CHECK_TOOL for it.
66230         (libc_extra_cflags): New substituted variable.
66231         Check for -fstack-protector being used implicitly.
66232         * configure: Regenerated.
66233         * config.make.in (config-extra-cflags): New variable,
66234         gets @libc_extra_cflags@.
66235         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66237         [BZ #10375]
66238         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66239         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66240         * configure: Regenerated.
66241         * config.make.in (CPPUNDEFS): New substituted variable.
66242         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66243         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66244         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66246 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66248         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66249         (mq_attr): Use __syscall_slong_t.
66251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66253         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66254         Check __x86_64__ instead of __WORDSIZE.
66255         (_STAT_VER_LINUX): Likewise.
66256         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66257         __syscall_ulong_t and __syscall_slong_t.
66258         (stat64): Likewise.
66260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66264 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66266         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66268 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66270         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66271         __syscall_ulong_t.
66273         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66274         include <bits/wordsize.h>.  Check __x86_64__ instead of
66275         __WORDSIZE.
66276         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66277         defined.
66278         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66280         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66281         include <bits/wordsize.h>.  Check __x86_64__ instead of
66282         __WORDSIZE.
66283         (user_regs_struct): Use "__extension__ unsigned long long"
66284         instead of "unsigned long" if __x86_64__ is defined.
66285         (user): Likewise.  Pad after pointer field if __ILP32__ is
66286         defined.
66288 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66290         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66291         versions 5 to 9.
66292         * configure: Regenerated.
66293         * manual/install.texi (texinfo): Increase version requirement to
66294         4.5 or later.
66295         * INSTALL: Regenerated.
66297         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66301         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66303         * sysdeps/x86_64/x32/ffs.c: New file.
66305         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66306         __syscall_ulong_t.
66307         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66308         defined.  Use __syscall_ulong_t.
66309         (shminfo): Use __syscall_ulong_t.
66310         (shm_info): Likewise.
66312         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66313         __syscall_ulong_t.
66315         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66316         <bits/wordsize.h>.
66317         (msgqnum_t): Use __syscall_ulong_t.
66318         (msglen_t): Likewise.
66319         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66320         __syscall_ulong_t.
66322         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66323         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66325         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66327         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66328         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66330         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66331         __syscall_slong_t.
66333         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66334         include <bits/wordsize.h>.  Check __x86_64__ instead of
66335         __WORDSIZE.
66337         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66338         "unsigned long long int" if __x86_64__ is defined.
66339         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66341         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66342         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66343         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66345         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66346         <stdint.h>.
66347         (GET_PC): Cast to uintptr_t first.
66348         (GET_FRAME): Likewise.
66349         (GET_STACK): Likewise.
66351         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66352         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66353         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66354         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66355         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66356         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66357         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66358         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66359         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66360         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66361         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66362         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66363         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66364         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66365         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66366         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66367         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66368         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66369         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66370         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66371         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66372         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66373         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66374         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66375         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66376         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66377         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66378         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66379         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66381 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66383         * Makerules (+depfiles): Also collect depfiles from .oS in
66384         $(extra-objs).
66385         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66386         .oS, $(libnldbl-routines)).
66388         * Makerules (native-compile-mkdep-flags): Define.
66389         * sunrpc/Makefile (extra-objs): Add $(addprefix
66390         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66391         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66392         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66393         calling $(make-target-directory).
66395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66397         * bits/types.h (__snseconds_t): Removed.
66398         * time/time.h (struct timespec): Replace __snseconds_t with
66399         __syscall_slong_t.
66400         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66401         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66402         Likewise.
66403         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66404         (__SNSECONDS_T_TYPE): Likewise.
66405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66406         (__SNSECONDS_T_TYPE): Likewise.
66407         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66408         (__SNSECONDS_T_TYPE): Likewise.
66410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66412         * sysdeps/mach/hurd/bits/typesizes.h
66413         (__SYSCALL_SLONG_TYPE): New macro.
66414         (__SYSCALL_ULONG_TYPE): Likewise.
66416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66418         * bits/types.h (__syscall_slong_t): New type.
66419         (__syscall_ulong_t): Likewise.
66421         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66422         (__SYSCALL_ULONG_TYPE): Likewise.
66423         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66424         (__SYSCALL_SLONG_TYPE): Likewise.
66425         (__SYSCALL_ULONG_TYPE): Likewise.
66426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66427         (__SYSCALL_SLONG_TYPE): Likewise.
66428         (__SYSCALL_ULONG_TYPE): Likewise.
66429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66430         (__SYSCALL_SLONG_TYPE): Likewise.
66431         (__SYSCALL_ULONG_TYPE): Likewise.
66433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66435         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66436         Add sigaltstack-offsets.sym.
66437         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66438         <sigaltstack-offsets.h>.
66439         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66440         longjmp_msg pointer.
66441         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66442         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66443         signal stack.
66444         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66446 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66448         * elf/stackguard-macros.h: Remove file.
66449         * sysdeps/generic/stackguard-macros.h: New file.
66450         * sysdeps/i386/stackguard-macros.h: Likewise.
66451         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66452         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66453         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66454         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66455         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66456         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66457         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66458         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66459         <elf/stackguard-macros.h>.
66461         [BZ #14109]
66462         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66463         __aligned__ in attribute.
66464         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66465         (gregset_t): Likewise.
66467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66469         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66470         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66471         * sysdeps/x86_64/x32/Implies-after: New file.
66473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66475         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66476         and access return value for _dl_profile_fixup.  Use R10_LP to
66477         load frame size.
66479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66481         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66485         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66486         * sysdeps/x86_64/x32/sysdep.h: New file.
66488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66490         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66491         * sysdeps/x86_64/setjmp.S: Likewise.
66493 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66495         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66496         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66497         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66498         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66499         remove unused global constant.
66501 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66503         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66504         include of <not-cancel.h>.
66506 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66508         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66510 2012-05-15  Jeff Law  <law@redhat.com>
66511             Andreas Jaeger  <aj@suse.de>
66513         [BZ #13594]
66514         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66515         out from...
66516         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66517         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66518         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66519         code changing __hst_map_handle.map.
66521 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66523         * configure.in (sysnames): Look for Implies-before and Implies-after
66524         files.
66525         * configure: Regenerated.
66527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66529         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66530         8-byte data alignment with LP_SIZE alignment.
66532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66534         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66535         into R10_LP.
66537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66539         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66543         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66544         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66545         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66546         Likewise.
66547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66551         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66552         (stackinfo_sub_sp): Likewise.
66554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66556         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66557         RAX_LP.
66559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66561         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66562         into R*_LP.
66564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66567         sizes into R*_LP.
66569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66571         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66575         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66576         into R11_LP and load __x86_64_shared_cache_size_half into
66577         R8_LP.
66579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66582         R8_LP.
66584 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66587         logb for POWER7.
66588         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66589         logbf for POWER7.
66590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66591         logbl for POWER7.
66592         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66593         powerpc32/power7/fpu/s_logb.c via #include.
66594         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66595         powerpc32/power7/fpu/s_logbf.c via #include.
66596         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66597         powerpc32/power7/fpu/s_logbl.c via #include.
66599 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66601         * README.libm: Remove file.
66603 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66605         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66606         count for x32.  Use R*_LP and omit operand-size suffix.
66608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66610         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66611         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66612         * sysdeps/x86_64/x32/shlib-versions: New file.
66614 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66616         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66617         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66618         Use _dl_fatal_printf instead.
66620 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66622         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66623         set if not set by the user.  Do not allow for being unset.
66624         * sysdeps/unix/sysv/linux/configure: Regenerated.
66626 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66628         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66629         the `q' suffix from lea and replace .quad with ASM_ADDR.
66631 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66634         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66635         instead of $17.
66636         (PTR_DEMANGLE): Likewise.
66638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66640         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66641         (LP_OP): Likewise.
66642         (ASM_ADDR): Likewise.
66643         (RAX_LP): Likewise.
66644         (RBP_LP): Likewise.
66645         (RBX_LP): Likewise.
66646         (RCX_LP): Likewise.
66647         (RDI_LP): Likewise.
66648         (RSI_LP): Likewise.
66649         (RSP_LP): Likewise.
66650         (R8_LP): Likewise.
66651         (R9_LP): Likewise.
66652         (R10_LP): Likewise.
66653         (R10_LP): Likewise.
66654         (R11_LP): Likewise.
66655         (R12_LP): Likewise.
66656         (R13_LP): Likewise.
66657         (R14_LP): Likewise.
66658         (R15_LP): Likewise.
66660 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66662         * sysdeps/x86_64/x32/dl-machine.h: New file.
66664 2012-05-14  Andreas Jaeger  <aj@suse.de>
66666         * manual/Makefile (subdir): Remove export of subdir.
66667         (all): Remove target.
66668         (.PHONY): Remove all from list.
66669         (mkinstalldirs): Remove.
66670         (.PHONY): Remove installdirs from list.
66671         ($(inst_infodir)/libc.info): Use make-target-directory.
66672         (installdirs): Remove.
66673         (subdir_%): Remove.
66674         (glibc-targets): Remove.
66675         (lib): Remove.
66676         (stubs): Remove.
66677         ($(objpfx)stubs ../po/manual.pot): Remove.
66678         ($(objpfx)stamp%): Remove.
66679         (make-target-directory): Remove.
66680         (subdir_install): Remove.
66681         (routines): Remove.
66682         (aux): Remove.
66683         (sources): Remove.
66684         (objects): Remove.
66685         (headers): Remove.
66687         [BZ #13750]
66688         * manual/.gitignore: Remove, it's not needed anymore.
66689         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66690         all files in it.
66691         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66692         directory.
66693         (texis): Renamed to $(objpfx)texis.
66694         (texis-path): New, contains path to generated files.
66695         (chapters.%): Use texis-path for complete path, add extra argument
66696         libc-texinfo.sh.
66697         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66698         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66699         (summary,texi, stamp-summary): Use complete path of
66700         files. Generate files in build dir.
66701         (dir-add.texi): Build in build dir.
66702         (libm-err.texi,stamp-libm-err): Likewise.
66703         (version.texi, stamp-version): Likewise.
66704         (.%c.texi): Likewise.
66705         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66706         (mostlyclean): Remove target.
66707         (realclean): Remove target.
66708         (generated): Add new variable with contents from mostlyclean and
66709         realclean, remove entries duplicated in common-mostlyclean, add
66710         stamp-libm-err and stamp-version.
66711         (generated-dirs): Add libc directory.
66712         ($(inst_infodir)/libc.info): Install files from build dir.
66714         * manual/install.texi (Configuring and compiling): Adjust since
66715         the info files are not part of the tar ball anymore.
66717 2012-05-14  Andreas Jaeger  <aj@suse.de>
66719         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66720         variable.
66722 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66724         [BZ #13717]
66725         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66726         to 2.2.0 where earlier.
66727         * sysdeps/unix/sysv/linux/configure: Regenerated.
66728         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66729         Remove conditional code.
66730         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66731         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66732         Remove conditional code.
66733         [!__NR_lchown]: Likewise.
66734         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66735         [__NR_lchown]: Likewise.
66736         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66737         comment referencing __ASSUME_LCHOWN_SYSCALL.
66738         * sysdeps/unix/sysv/linux/i386/sigaction.c
66739         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66740         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66741         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66742         Remove conditional code.
66743         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66744         (__protocol_available): Remove #if 0 code.
66745         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66746         conditional code.
66747         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66748         * sysdeps/unix/sysv/linux/kernel-features.h
66749         (__ASSUME_GETCWD_SYSCALL): Don't define.
66750         (__ASSUME_REALTIME_SIGNALS): Likewise.
66751         (__ASSUME_PREAD_SYSCALL): Likewise.
66752         (__ASSUME_PWRITE_SYSCALL): Likewise.
66753         (__ASSUME_POLL_SYSCALL): Likewise.
66754         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66755         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66756         non-SPARC.
66757         (__ASSUME_SIOCGIFNAME): Don't define.
66758         (__ASSUME_MSG_NOSIGNAL): Likewise.
66759         (__ASSUME_SENDFILE): Define unconditionally.
66760         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66761         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66762         conditional code.
66763         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66764         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66765         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66766         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66767         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66768         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66769         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66771         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66772         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66774         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66775         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66777         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66778         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66780         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66781         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66783         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66786         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66789         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66792         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66794         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66795         Remove conditional code.
66796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66797         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66798         Remove conditional code.
66799         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66800         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66801         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66802         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66803         Remove conditional code.
66804         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66805         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66806         Remove conditional code.
66807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66808         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66809         Remove conditional code.
66810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66811         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66812         Remove conditional code.
66813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66814         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66815         Remove conditional code.
66816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66817         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66818         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66820         * sysdeps/unix/sysv/linux/sigaction.c
66821         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66822         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66823         * sysdeps/unix/sysv/linux/sigpending.c
66824         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66825         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66826         * sysdeps/unix/sysv/linux/sigprocmask.c
66827         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66828         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66829         * sysdeps/unix/sysv/linux/sigsuspend.c
66830         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66831         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66832         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66833         (__libc_missing_rt_sigs): Remove.
66834         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66835         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66836         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66837         Remove conditional code.
66838         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66839         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66840         return 1.
66841         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66842         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66843         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66844         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66846 2012-05-14  Andreas Jaeger  <aj@suse.de>
66848         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66849         it's not used in glibc.
66850         (__coshm1): Likewise.
66851         (__acosh1p): Likewise.
66852         (__sgn): Likewise.
66854         * manual/string.texi (Copying and Concatenation): Add missing
66855         variable in concat example.
66856         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66858 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66860         [BZ #14103]
66861         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66862         __builtin_clzl with __builtin_clzll.
66864 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66866         [BZ #14104]
66867         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66868         libc_freeres_ptr.
66870 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66872         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66873         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66874         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66875         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66877 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66879         * NEWS: Update ia64 info.
66881 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66883         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66884         used as bcopy.
66886 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66888         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66889         * sysdeps/unix/syscalls.list (dup3): Likewise.
66890         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66891         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66893 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66895         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66896         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66898 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66900         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66901         thread pointer.
66902         (TLS_IE): Use mov/add instead of movq/addq to load thread
66903         pointer.
66904         (TLS_GD_PREFIX): New.
66905         (TLS_GD): Use it.
66907 2012-05-11  David S. Miller  <davem@davemloft.net>
66909         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66910         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66911         (_FPU_SETCW): Likewise.
66913 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66915         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66916         is 32-byte aligned.
66918 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66920         [BZ #11837]
66921         * iconvdata/gb18030.c: Update tables.
66922         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66923         characters specially.
66924         (BODY for TO_LOOP): Add encoding of missing ranges.
66926 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66928         [BZ #13673]
66929         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66930         * sysdeps/mach/hurd/dup3.c: Likewise.
66931         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66932         * sysdeps/powerpc/memmove.c:: Likewise.
66934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66937         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66939 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66941         * elf/elf.h (R_X86_64_RELATIVE64): New.
66942         (R_X86_64_NUM): Updated.
66943         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66944         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66945         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66946         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66947         tst-quad1pie tst-quad2pie
66948         (modules-names): Add tst-quadmod1 tst-quadmod2.
66949         ($(objpfx)tst-quad1): New dependency.
66950         ($(objpfx)tst-quad2): Likewise.
66951         ($(objpfx)tst-quad1pie): Likewise.
66952         ($(objpfx)tst-quad2pie): Likewise.
66953         * sysdeps/x86_64/tst-quad1.c: New file.
66954         * sysdeps/x86_64/tst-quad1pie.c: New file.
66955         * sysdeps/x86_64/tst-quad2.c: Likewise.
66956         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66957         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66958         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66959         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66960         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66964         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66965         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66966         * streams/stropts.h (t_scalar_t): Define type.
66968         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66969         (_PATH_PRESERVE): Set to "/var/lib".
66970         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66972         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66973         instead of int.
66975         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66976         if __dir_mkfile succeeded.
66978         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66979         checking for _hurd_dtablesize.  Unlock it right after having
66980         finished _hurd_dtable allocation.
66982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66984         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66985         * sysdeps/mach/hurd/configure: Regenerated.
66986         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66987         special-casing to...
66988         * sysdeps/gnu/configure.in: ... this new file.
66989         * sysdeps/unix/sysv/linux/configure: Regenerated.
66990         * sysdeps/gnu/configure: New generated file.
66992         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66993         for Linux: use nsec instead of usec, as well as:
66994         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66995         members of type struct timespec.
66996         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66997         New macros.
66998         (struct stat64): Likewise.
66999         (_STATBUF_ST_NSEC): New macro.
67000         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67002         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67003         __strtoul_internal rather than strtoul.
67005 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67007         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67008         and reject them.
67010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67012         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67013         which preserves existing values.
67014         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67016 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67018         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67019         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67020         greater than FD_SETSIZE.
67022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67024         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67025         allocated, call __vm_protect to finish enabling the existing space, and
67026         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67027         allocate the remainder.
67029 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67031         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67032         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67036         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67037         sysdeps/mach/hurd/readlink.c.
67039         * posix/tst-sysconf.c (posix_options): Only use
67040         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67041         _POSIX_SYNCHRONIZED_IO when they are defined
67042         * sysdeps/mach/hurd/bits/posix_opt.h:
67043         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67044         (_XOPEN_REALTIME): Undefine macro.
67045         (_XOPEN_REALTIME_THREADS): Undefine macro.
67046         (_XOPEN_SHM): Undefine macro.
67047         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67048         macro to -1.
67049         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67050         macro to -1.
67051         (_POSIX_ASYNC_IO): Undefine macro.
67052         (_POSIX_PRIORITIZED_IO): Undefine macro.
67053         (_POSIX_SPIN_LOCKS): Define macro to -1.
67055         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67056         SA_NODEFER, SA_RESETHAND.
67057         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67058         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67059         F_DUPFD_CLOEXEC.
67061 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67063         * elf/Makefile (pldd-modules): Define unconditionally.
67065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67067         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67071         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67072         Return ENOENT when name is empty.
67073         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67075 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67077         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67079         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67083         Fix mlock in all cases except non-readable pages.
67084         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67085         instead of VM_PROT_ALL as parameter to __vm_wire function.
67087         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67088         (__mkdir): When path is `/', just fail with EEXIST.
67089         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67091 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67093         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67094         <sys/uio.h> (for writev).
67095         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67096         and <sys/param.h> (for MIN).
67098 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67100         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67101         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67102         if interrupted.
67104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67106         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67107         Depend on against $(link-rpcuserlibs).
67109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67111         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67112         (__libc_stack_end): Do not use attribute_relro.
67113         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67114         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67115         to libthread-provided value.
67116         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67117         attribute_relro.
67119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67121         [BZ #3748]
67122         * bits/libc-lock.h (__libc_once_get): New macro.
67123         * sysdeps/mach/bits/libc-lock.h: Likewise.
67124         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67125         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67126         instead of using implementation details.
67128         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67129         * libio/freopen.c: Likewise.
67130         * libio/freopen64.c: Likewise.
67131         * misc/syslog.c: Likewise.
67132         * nscd/connections.c: Likewise.
67133         * nscd/netgroupcache.c: Likewise.
67134         * sysdeps/posix/getcwd.c: Likewise.
67136 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67138         * math/w_ilogbf.c: Add #include <limits.h>.
67140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67142         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67143         path instead of returning without unlocking.
67145         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67146         immediate-write ioctls.
67147         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67149 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67151         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67152         __builtin_frame_address instead of making assumptions about the
67153         location of the return address relative to DATA.  Force early load of
67154         the return address.
67155         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67156         __builtin_frame_address.
67158         dup3 for GNU Hurd.
67159         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67160         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67161         implement dup3 and do some further code clean-ups.
67162         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67163         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67167         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67169         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67170         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67171         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67172         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67173         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67174         d->port.lock.
67176         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67177         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67178         when handler == SIG_ERR, not when handler != SIG_ERR.
67180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67182         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67183         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67184         definitions.
67186         accept4 for GNU Hurd.
67187         * include/sys/socket.h (__libc_accept4): New prototype.
67188         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67189         to implement __libc_accept4.
67190         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67191         __libc_accept4.
67192         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67194         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67195         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67196         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67197         signal-defines.sym.
67199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67201         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67205         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67206         assertion on O_CLOEXEC flag.
67207         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67208         * hurd/intern-fd.c: Likewise.
67209         * hurd/port2fd.c: Likewise.
67211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67213         [BZ #3906]
67214         * bits/in.h (IPV6_PKTINFO): Define new macro.
67215         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67217 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67219         [BZ #13954]
67220         [BZ #13955]
67221         [BZ #13956]
67222         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67223         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67224         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67225         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67227         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67228         * math/libm-test.inc (logb_test) : Additional logb tests.
67230 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67231             Andreas Jaeger  <aj@suse.de>
67233         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67234         * configure: Regenerated.
67235         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67236         * config.make.in (link-obsolete-rpc): New substituted variable.
67237         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67238         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67239         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67240         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67241         so that libc.a contains the symbols.
67242         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67243         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67244         * sunrpc/auth_none.c: Likewise.
67245         * sunrpc/auth_unix.c: Likewise.
67246         * sunrpc/authdes_prot.c: Likewise.
67247         * sunrpc/authuxprot.c: Likewise.
67248         * sunrpc/clnt_gen.c: Likewise.
67249         * sunrpc/clnt_perr.c: Likewise.
67250         * sunrpc/clnt_raw.c: Likewise.
67251         * sunrpc/clnt_simp.c: Likewise.
67252         * sunrpc/clnt_tcp.c: Likewise.
67253         * sunrpc/clnt_udp.c: Likewise.
67254         * sunrpc/clnt_unix.c: Likewise.
67255         * sunrpc/des_crypt.c: Likewise.
67256         * sunrpc/des_soft.c: Likewise.
67257         * sunrpc/get_myaddr.c: Likewise.
67258         * sunrpc/key_call.c: Likewise.
67259         * sunrpc/key_prot.c: Likewise.
67260         * sunrpc/netname.c: Likewise.
67261         * sunrpc/pm_getmaps.c: Likewise.
67262         * sunrpc/pm_getport.c: Likewise.
67263         * sunrpc/pmap_clnt.c: Likewise.
67264         * sunrpc/pmap_prot.c: Likewise.
67265         * sunrpc/pmap_prot2.c: Likewise.
67266         * sunrpc/pmap_rmt.c: Likewise.
67267         * sunrpc/publickey.c: Likewise.
67268         * sunrpc/rpc_cmsg.c: Likewise.
67269         * sunrpc/rpc_common.c: Likewise.
67270         * sunrpc/rpc_dtable.c: Likewise.
67271         * sunrpc/rpc_prot.c: Likewise.
67272         * sunrpc/rpc_thread.c: Likewise.
67273         * sunrpc/rtime.c: Likewise.
67274         * sunrpc/svc.c: Likewise.
67275         * sunrpc/svc_auth.c: Likewise.
67276         * sunrpc/svc_raw.c: Likewise.
67277         * sunrpc/svc_run.c: Likewise.
67278         * sunrpc/svc_tcp.c: Likewise.
67279         * sunrpc/svc_udp.c: Likewise.
67280         * sunrpc/svc_unix.c: Likewise.
67281         * sunrpc/svcauth_des.c: Likewise.
67282         * sunrpc/xcrypt.c: Likewise.
67283         * sunrpc/xdr.c: Likewise.
67284         * sunrpc/xdr_array.c: Likewise.
67285         * sunrpc/xdr_float.c: Likewise.
67286         * sunrpc/xdr_intXX_t.c: Likewise.
67287         * sunrpc/xdr_mem.c: Likewise.
67288         * sunrpc/xdr_rec.c: Likewise.
67289         * sunrpc/xdr_ref.c: Likewise.
67290         * sunrpc/xdr_sizeof.c: Likewise.
67291         * sunrpc/xdr_stdio.c: Likewise.
67293 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67295         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67296         change.  Update copyright years.
67298 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67300         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67302 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67303             Joseph Myers  <joseph@codesourcery.com>
67304             Paul Pluzhnikov  <ppluzhnikov@google.com>
67306         [BZ #14012]
67307         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67308         requiring rpcgen.
67309         [cross-compiling] (extra-libs): Likewise.
67310         [cross-compiling] (extra-libs-others): Likewise.
67311         [cross-compiling] (librpcsvc-routines): Likewise.
67312         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67313         [cross-compiling] (omit-deps): Likewise.
67314         (sunrpc-CPPFLAGS): New variable.
67315         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67316         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67317         (cross-rpcgen-objs): New variable.
67318         (extra-objs): Append $(cross-rpcgen-objs).
67319         ($(cross-rpcgen-objs)): New rule.
67320         ($(objpfx)cross-rpcgen): Likewise.
67321         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67322         comment.
67323         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67324         ($(objpfx)x%.stmp): Likewise.
67325         * sunrpc/proto.h [IS_IN_build] (_): Define.
67326         [IS_IN_build] (_libc_intl_domainname): Likewise.
67328 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67331         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67332         and R_X86_64_TPOFF64.
67334 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67336         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67337         sysdeps/unix/sysv/syscalls.list.
67338         (stime): Likewise.
67339         (utime): Likewise.
67340         * sysdeps/unix/sysv/syscalls.list: Remove file.
67342 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67344         [BZ #3440]
67345         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67346         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67347         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67348         (__LC_IDENTIFICATION): Make these macros useful in #if
67349         expressions, as required by C99.
67351 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67353         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67354         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67355         after this.
67357 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67359         * stdlib/longlong.h: Updated from GCC.
67361 2012-05-09  Andreas Jaeger  <aj@suse.de>
67363         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67364         default is first entry.
67365         (run_mode): Set type.
67366         (main): Remove informal message about syslog.
67367         (options): Fix typo.
67369         [BZ #14053]
67370         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67371         to asm.
67372         (lrint): Likewise.
67373         (llrintf): Likewise.
67374         (llrint): Likewise.
67375         (rint): Likewise.
67376         (rintf): Likewise.
67377         (nearbyint): Likewise.
67378         (nearbyintf): Likewise.
67380 2012-05-09  Andreas Jaeger  <aj@suse.de>
67381             Pedro Alves  <palves@redhat.com>
67383         * nscd/nscd.c (run_mode): Use enum.
67384         (main): Cleanup coding style issue.
67386 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67387             Andreas Jaeger  <aj@suse.de>
67389         * nscd/nscd.c (go_background): Replaced with...
67390         (run_mode): ... this.
67391         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67392         (options): Add -F --foreground.
67393         (main): Implement it.
67394         (parse_opt): Parse it.
67396 2012-05-09  Andreas Jaeger  <aj@suse.de>
67398         [BZ #14083]
67399         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67400         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67401         -Wconversion warning.
67402         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67403         Likewise.
67405 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67407         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67408         == 0.
67409         (LC_ALL): Use macro-int-constant.
67410         (LC_COLLATE): Likewise.
67411         (LC_CTYPE): Likewise.
67412         (LC_MESSAGES): Likewise.
67413         (LC_MONETARY): Likewise.
67414         (LC_NUMERIC): Likewise.
67415         (LC_TIME): Likewise.
67416         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67417         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67418         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67419         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67420         Specify type.
67421         [C99-based standards] (float_t): Expect type.
67422         [C99-based standards] (double_t): Expect type.
67423         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67424         type.
67425         [C99-based standards] (HUGE_VALL): Likewise.
67426         [C99-based standards] (INFINITY): Likewise.
67427         [C99-based standards] (NAN): Likewise.
67428         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67429         [C99-based standards] (FP_NAN): Likewise.
67430         [C99-based standards] (FP_NORMAL): Likewise.
67431         [C99-based standards] (FP_SUBNORMAL): Likewise.
67432         [C99-based standards] (FP_ZERO): Likewise.
67433         [C99-based standards] (FP_FAST_FMA): Use
67434         optional-macro-int-constant.  Specify type.  Require == 1.
67435         [C99-based standards] (FP_FAST_FMAF): Likewise.
67436         [C99-based standards] (FP_FAST_FMAL): Likewise.
67437         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67438         [C99-based standards] (FP_ILOGBNAN): Likewise.
67439         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67440         Specify type.
67441         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67442         [C99-based standards] (math_errhandling): Specify type.
67443         [ISO99 || ISO11] (signgam): Do not allow.
67444         [non-C99-based standards] (copysignf): Do not allow.
67445         [non-C99-based standards] (exp2f): Likewise.
67446         [non-C99-based standards] (log2f): Likewise.
67447         [non-C99-based standards] (modff): Allow.
67448         [non-C99-based standards] (erff): Do not allow.
67449         [non-C99-based standards] (erfcf): Likewise.
67450         [non-C99-based standards] (gammaf): Likewise.
67451         [non-C99-based standards] (hypotf): Likewise.
67452         [non-C99-based standards] (j0f): Likewise.
67453         [non-C99-based standards] (j1f): Likewise.
67454         [non-C99-based standards] (jnf): Likewise.
67455         [non-C99-based standards] (lgammaf): Likewise.
67456         [non-C99-based standards] (tgammaf): Likewise.
67457         [non-C99-based standards] (y0f): Likewise.
67458         [non-C99-based standards] (y1f): Likewise.
67459         [non-C99-based standards] (ynf): Likewise.
67460         [non-C99-based standards] (isnanf): Likewise.
67461         [non-C99-based standards] (acoshf): Likewise.
67462         [non-C99-based standards] (asinhf): Likewise.
67463         [non-C99-based standards] (atanhf): Likewise.
67464         [non-C99-based standards] (cbrtf): Likewise.
67465         [non-C99-based standards] (expm1f): Likewise.
67466         [non-C99-based standards] (ilogbf): Likewise.
67467         [non-C99-based standards] (log1pf): Likewise.
67468         [non-C99-based standards] (logbf): Likewise.
67469         [non-C99-based standards] (nextafterf): Likewise.
67470         [non-C99-based standards] (remainderf): Likewise.
67471         [non-C99-based standards] (rintf): Likewise.
67472         [non-C99-based standards] (scalbf): Likewise.
67473         [non-C99-based standards] (copysignl): Likewise.
67474         [non-C99-based standards] (exp2l): Likewise.
67475         [non-C99-based standards] (log2l): Likewise.
67476         [non-C99-based standards] (modfl): Allow.
67477         [non-C99-based standards] (erfl): Do not allow.
67478         [non-C99-based standards] (erfcl): Likewise.
67479         [non-C99-based standards] (gammal): Likewise.
67480         [non-C99-based standards] (hypotl): Likewise.
67481         [non-C99-based standards] (j0l): Likewise.
67482         [non-C99-based standards] (j1l): Likewise.
67483         [non-C99-based standards] (jnl): Likewise.
67484         [non-C99-based standards] (lgammal): Likewise.
67485         [non-C99-based standards] (tgammal): Likewise.
67486         [non-C99-based standards] (y0l): Likewise.
67487         [non-C99-based standards] (y1l): Likewise.
67488         [non-C99-based standards] (ynl): Likewise.
67489         [non-C99-based standards] (isnanl): Likewise.
67490         [non-C99-based standards] (acoshl): Likewise.
67491         [non-C99-based standards] (asinhl): Likewise.
67492         [non-C99-based standards] (atanhl): Likewise.
67493         [non-C99-based standards] (cbrtl): Likewise.
67494         [non-C99-based standards] (expm1l): Likewise.
67495         [non-C99-based standards] (ilogbl): Likewise.
67496         [non-C99-based standards] (log1pl): Likewise.
67497         [non-C99-based standards] (logbl): Likewise.
67498         [non-C99-based standards] (nextafterl): Likewise.
67499         [non-C99-based standards] (remainderl): Likewise.
67500         [non-C99-based standards] (rintl): Likewise.
67501         [non-C99-based standards] (scalbl): Likewise.
67502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67503         [non-C99-based standards] (FP_*): Do not allow.
67504         [C99-based standards] (FP_*): Change to
67505         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67506         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67507         allow.
67508         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67509         (SIG_ERR): Likewise.
67510         [X/Open-based standards] (SIG_HOLD): Likewise.
67511         (SIG_IGN): Likewise.
67512         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67513         positive value.
67514         (SIGFPE): Likewise.
67515         (SIGILL): Likewise.
67516         (SIGINT): Likewise.
67517         (SIGSEGV): Likewise.
67518         (SIGTER): Likewise.
67519         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67520         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67521         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67522         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67523         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67524         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67525         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67526         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67527         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67528         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67529         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67530         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67531         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67532         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67533         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67534         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67535         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67536         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67537         [X/Open-based standards] (SIGTRAP): Likewise.
67538         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67539         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67540         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67541         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67542         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67543         allow.
67545 2012-05-08  Ian Wienand  <ianw@vmware.com>
67547         [BZ #14080]
67548         * time/tzset.c (__tzset_parse_tz): Update default rules for
67549         daylight time changes in the Energy Policy Act of 2005.
67551 2012-05-09  Andreas Jaeger  <aj@suse.de>
67553         [BZ #13983]
67554         * elf/ldconfig.c (parse_conf): Change string to make clear that
67555         ldconfig only issued a warning if ld.so.conf does not exist.
67557 2012-05-08  David S. Miller  <davem@davemloft.net>
67559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67560         movxtod instead of popping the value on the stack.
67562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67564 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67566         * config.h.in: Add HAVE_ARM_PCS_VFP.
67568 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67570         [BZ #13979]
67571         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67572         checking but the checks are disabled for any reason.
67574 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67576         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67577         and ELF64_R_TYPE with ELFW(R_TYPE).
67579 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67581         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67582         (ulimit): Likewise.
67584         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67585         (settimeofday): Likewise.
67587 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67589         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67590         a struct th_u2 inside the union, and move tu_block/tu_code into
67591         a new th_u3 union of tu_block/tu_code inside of that.  Move
67592         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67593         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67594         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67595         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67596         (th_stuff): Change to th_u1.tu_stuff.
67597         (th_data): Define.
67598         (th_msg): Change to th_u1.th_u2.tu_data.
67600 2012-05-07  David S. Miller  <davem@davemloft.net>
67602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67604         [BZ #14074]
67605         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67606         (SETUP_PIC_REG): Use it.
67607         (SETUP_PIC_REG_LEAF): Use it.
67609 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67611         [BZ #13885]
67612         [BZ #13923]
67613         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67614         USE_AS_EXPM1L.
67615         (EXPL_FINITE): Likewise.
67616         (FLDLOG): Likewise.
67617         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67618         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67619         e_expl.S.
67620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67621         USE_AS_EXPM1L.
67622         (EXPL_FINITE): Likewise.
67623         (FLDLOG): Likewise.
67624         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67625         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67626         e_expl.S.
67627         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67628         test of -max_value argument for long double.
67629         * sysdeps/i386/fpu/libm-test-ulps: Update.
67630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67632 2012-05-06  David S. Miller  <davem@davemloft.net>
67634         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67635         quad soft-float symbols whose references which are compiler
67636         generated.
67637         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67639 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67641         [BZ #13884]
67642         [BZ #13914]
67643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67644         USE_AS_EXP10L.
67645         (EXPL_FINITE): Likewise.
67646         (FLDLOG): Likewise.
67647         (c0): Likewise.
67648         (c1): Likewise.
67649         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67650         Adjust comments for base varying.
67651         (__expl_finite): Change alias to EXPL_FINITE.
67652         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67653         e_expl.S.
67654         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67655         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67657         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67659         USE_AS_EXP10L.
67660         (EXPL_FINITE): Likewise.
67661         (FLDLOG): Likewise.
67662         (c0): Likewise.
67663         (c1): Likewise.
67664         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67665         Adjust comments for base varying.
67666         (__expl_finite): Change alias to EXPL_FINITE.
67667         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67668         tests for bugs.
67669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67671         [BZ #14064]
67672         * math/libm-test.inc (check_float_internal): Correct ulp
67673         calculation for subnormal expected results.
67675 2012-05-06  Andreas Jaeger  <aj@suse.de>
67677         * Makeconfig (+math-flags): New, set to -frounding-math.
67678         (+cflags): Add +math-flags so that all of glibc gets compiled with
67679         it.
67681         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67683 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67685         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67686         Disable one test.
67688         [BZ #13787]
67689         [BZ #13922]
67690         [BZ #14036]
67691         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67692         (__ieee754_expl): Allow for and saturate large arguments.
67693         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67694         (u_threshold): Likewise.
67695         (__exp): Call __ieee754_exp before checking for overflow and
67696         underflow.
67697         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67698         (u_threshold): Likewise.
67699         (__expf): Call __ieee754_expf before checking for overflow and
67700         underflow.
67701         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67702         (u_threshold): Likewise.
67703         (__expl): Call __ieee754_expl before checking for overflow and
67704         underflow.
67705         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67706         (__ieee754_expl): Allow for and saturate large arguments.
67707         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67708         missing overflow exception on overflow.
67709         (expm1_test): Do not allow missing overflow exception on overflow.
67711         * sysdeps/i386/fpu/e_expl.c: Move to ...
67712         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67713         rather than using inline asm.
67714         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67715         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67716         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67718         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67719         (nice): Likewise.
67720         (poll): Likewise.
67721         (signal): Likewise.
67722         (time): Likewise.
67723         (times): Likewise.
67725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67727         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67728         sysdeps/unix/common/syscalls.list.
67729         (fchmod): Likewise.
67730         (fchown): Likewise.
67731         (ftruncate): Likewise.
67732         (getrusage): Likewise.
67733         (gettimeofday): Likewise.
67734         (setpgid): Likewise.
67735         (setregid): Likewise.
67736         (setreuid): Likewise.
67737         (sigaction): Likewise.
67738         (truncate): Likewise.
67739         (vhangup): Likewise.
67740         * sysdeps/unix/common/syscalls.list: Remove file.
67741         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67742         * sysdeps/unix/sysv/linux/Implies: Likewise.
67744 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67746         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67748         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67749         Moved to ...
67750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67751         Here.
67752         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67753         to ...
67754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67755         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67756         to ...
67757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67758         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67759         to ...
67760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67761         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67762         to ...
67763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67764         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67765         to ...
67766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67767         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67768         to ...
67769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67770         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67771         to ...
67772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67773         Here.
67774         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67775         to ...
67776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67777         Here.
67778         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67779         to ...
67780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67781         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67782         Moved to ...
67783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67784         Here.
67785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67786         to ...
67787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67789 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67791         * sysdeps/unix/common/bits/dirent.h: Remove file.
67792         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67794         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67795         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67796         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67797         * sysdeps/unix/bsd/isatty.c: Likewise.
67798         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67799         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67800         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67802 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67804         [BZ #13563]
67805         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67806         long double comparison inaccuracies.
67807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67810 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67812         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67815 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67817         [BZ #14049]
67818         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67819         nonzero digits before rounding a hex value.
67820         * stdlib/tst-strtod.c (tests): Add another test.
67822 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67824         * sysdeps/s390/fpu/libm-test-ulps: Update.
67826 2012-05-03  Andreas Jaeger  <aj@suse.de>
67828         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67829         does not get optimized out.
67830         (malloc_opt_barrier): New.
67832 2012-05-03  Andreas Jaeger  <aj@suse.de>
67833             Roland McGrath  <roland@hack.frob.com>
67835         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67836         intermediate file deletion.
67837         (generated): Add .symlist files.
67839 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67841         [BZ #13775]
67842         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67843         Redirect under this condition.
67844         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67845         [__USE_GNU] (__dprintf_chk): Not under this condition.
67846         [__USE_GNU] (__vdprintf_chk): Likewise.
67847         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67848         under this condition.
67849         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67850         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67851         [__USE_XOPEN2K8] (vdprintf): Likewise.
67852         [__USE_GNU] (__dprintf_chk): Not under this condition.
67853         [__USE_GNU] (__vdprintf_chk): Likewise.
67854         [__USE_GNU] (dprintf): Likewise.
67855         [__USE_GNU] (vdprintf): Likewise.
67857 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67859         * elf/Makefile (common-generated): Set this instead of generated for
67860         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67861         $(all-built-dso)-derived lists.
67863 2012-05-03  Andreas Jaeger  <aj@suse.de>
67865         * sysdeps/i386/fpu/libm-test-ulps: Update.
67867         * FAQ: Removed.
67868         * FAQ.in: Likewise.
67869         * scripts/gen-FAQ.pl: Likewise.
67870         * manual/install.texi (Installation): Point to online location of
67871         FAQ.
67872         * Makefile (files-for-dist): Remove FAQ.
67873         (FAQ): Remove.
67875 2012-05-02  Allan McRae  <allan@archlinux.org>
67877         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67878         (LDFLAGS-reldepmod5.so): Likewise.
67879         (LDFLAGS-reldep6mod1.so): Likewise.
67880         (LDFLAGS-reldep6mod4.so): Likewise.
67881         (LDFLAGS-reldep8mod3.so): Likewise.
67882         (LDFLAGS-unload4mod1.so): Likewise.
67883         (LDFLAGS-unload4mod2.so): Likewise.
67884         (LDFLAGS-tst-initorder): Likewise.
67885         (LDFLAGS-tst-initordera2.so): Likewise.
67886         (LDFLAGS-tst-initordera3.so): Likewise.
67887         (LDFLAGS-tst-initordera4.so): Likewise.
67888         (LDFLAGS-tst-initorderb2.so): Likewise.
67889         (LDFLAGS-noload): Likewise.
67890         (LDFLAGS-next): Likewise.
67891         (LDFLAGS-order2mod1.so): Likewise.
67892         (LDFLAGS-order2mod2.so): Likewise.
67893         (LDFLAGS-tst-initorder2): Likewise.
67894         (LDFLAGS-tst-initorder2a.so): Likewise.
67895         (LDFLAGS-tst-initorder2b.so): Likewise.
67896         (LDFLAGS-tst-initorder2c.so): Likewise.
67897         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67899 2012-05-02  David S. Miller  <davem@davemloft.net>
67901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67903 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67905         [BZ #14055]
67906         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67908 2012-05-02  Andreas Jaeger  <aj@suse.de>
67910         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67911         since we manipulate rounding mode.
67912         (CPPFLAGS-test-idouble.c): Likewise.
67913         (CPPFLAGS-test-ifloat.c): Likewise.
67914         (CFLAGS-test-ldouble.c): Likewise.
67915         (CFLAGS-test-double.c): Likewise.
67916         (CFLAGS-test-float.c): Likewise.
67917         (CFLAGS-test-misc.c): Likewise.
67918         (CFLAGS-test-test-fenv.c): Likewise.
67920 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67922         [BZ #2550]
67923         [BZ #2570]
67924         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67925         comparisons to determine direction to adjust input.
67927 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67929         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67930         output to the target.
67932         * scripts/localplt.awk: New file.
67933         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67934         (check-localplt-CFLAGS): Variable removed.
67935         ($(all-built-dso:=.jmprel)): New static pattern rule.
67936         (generated): Add those targets.
67937         (localplt-built-dso): New variable.
67938         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67940         * elf/check-localplt.c: File removed.
67942         * scripts/check-execstack.awk: New file.
67943         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67944         (check-execstack-CFLAGS): Variable removed.
67945         ($(objpfx)check-execstack.h): Target removed.
67946         ($(objpfx)execstack-default): New target.
67947         (generated): Add that instead of check-execstack.h.
67948         ($(all-built-dso:=.phdr)): New static pattern rule.
67949         (generated): Add those targets.
67950         * elf/check-execstack.c: File removed.
67952         * scripts/check-textrel.awk: New file.
67953         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67954         (check-textrel-CFLAGS): Variable removed.
67955         (all-built-dso): Use := to define.o
67956         ($(all-built-dso:=.dyn)): New static pattern rule.
67957         (generated): Add those targets.
67958         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67959         * config.make.in (READELF): New substituted variable.
67960         * elf/check-textrel.c: File removed.
67962 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67964         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67965         allow.
67966         * conform/data/ctype.h-data [C99-based standards] (isblank):
67967         Expect function.
67968         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67969         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67971         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67972         Specify type.  Require positive value.
67973         (EILSEQ): Likewise.
67974         (ERANGE): Likewise.
67975         [ISO || POSIX] (EILSEQ): Do not expect.
67976         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67977         Specify type.  Require positive value.
67978         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67979         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67980         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67981         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67982         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67983         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67984         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67985         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67986         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67987         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67988         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67989         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67990         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67991         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67992         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67993         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67994         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67995         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67996         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67997         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67998         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67999         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68000         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68001         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68002         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68003         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68004         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68005         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68006         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68007         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68008         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68009         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68010         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68011         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68012         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68013         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68014         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68015         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68016         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68017         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68018         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68019         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68020         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68021         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68022         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68023         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68024         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68025         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68026         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68027         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68028         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68029         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68030         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68031         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68032         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68033         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68034         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68035         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68036         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68037         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68038         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68039         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68040         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68041         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68042         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68043         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68044         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68045         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68046         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68047         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68048         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68049         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68050         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68051         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68052         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68053         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68054         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68055         Require >= 2.
68056         (FLT_ROUNDS): Expect as macro, not constant.
68057         (FLT_MANT_DIG): Use macro-int-constant.
68058         (DBL_MANT_DIG): Likewise.
68059         (LDBL_MANT_DIG): Likewise.
68060         (FLT_DIG): Likewise.
68061         (DBL_DIG): Likewise.
68062         (LDBL_DIG): Likewise.
68063         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68064         (DBL_MIN_EXP): Likewise.
68065         (LDBL_MIN_EXP): Likewise.
68066         (FLT_MAX_EXP): Use macro-int-constant.
68067         (DBL_MAX_EXP): Likewise.
68068         (LDBL_MAX_EXP): Likewise.
68069         (FLT_MAX_10_EXP): Likewise.
68070         (DBL_MAX_10_EXP): Likewise.
68071         (LDBL_MAX_10_EXP): Likewise.
68072         (FLT_MAX): Use macro-constant.
68073         (DBL_MAX): Likewise.
68074         (LDBL_MAX): Likewise.
68075         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68076         (DBL_EPSILON): Likewise.
68077         (LDBL_EPSILON): Likewise.
68078         (FLT_MIN): Likewise.
68079         (DBL_MIN): Likewise.
68080         (LDBL_MIN): Likewise.
68081         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68082         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68083         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68084         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68085         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68086         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68087         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68088         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68089         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68090         [ISO11] (FLT_TRUE_MIN): Likewise.
68091         [ISO11] (LDBL_TRUE_MIN): Likewise.
68092         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68093         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68094         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68095         (SCHAR_MAX): Likewise.
68096         (UCHAR_MAX): Likewise.
68097         (CHAR_MIN): Likewise.
68098         (CHAR_MAX): Likewise.
68099         (MB_LEN_MAX): Use macro-int-constant.
68100         (SHRT_MIN): Use macro-int-constant.  Specify type.
68101         (SHRT_MAX): Likewise.
68102         (USHRT_MAX): Likewise.
68103         (INT_MAX): Likewise.
68104         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68105         bound negative.
68106         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68107         bound with "U".
68108         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68109         bound with "L".
68110         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68111         bound negative.  Suffix upper bound with "L".
68112         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68113         bound with "UL".
68114         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68115         Specify type.
68116         [C99-based standards] (LLONG_MAX): Likewise.
68117         [C99-based standards] (ULLONG_MAX): Likewise.
68118         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68119         == 0.
68120         [ISO11] (max_align_t): Require type.
68121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68123         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68124         from $CFLAGS, without defining away __attribute__ calls.
68125         (checknamespace): Use $CFLAGS_namespace.
68127         * conform/conformtest.pl (@keywords): Only include C99 keywords
68128         for standards based on C99 or C11.
68130         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68131         Disable tests.
68132         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68133         UNIX98]: Likewise.
68135         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68136         usability of symbols in #if.
68138         * conform/conformtest.pl: If macro or constant types start
68139         "promoted:", expect the symbol to be of the following type
68140         promoted by the integer promotions.
68142         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68143         in one place.  Also handle "macro-constant".
68145         * conform/conformtest.pl: Only accept expected macro values with
68146         "==".  Parse all "macro" lines in one place.
68147         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68149         * conform/conformtest.pl: Handle braced types on "constant" lines
68150         instead of handling "typed-constant".
68151         * conform/data/signal.h-data: Use "constant" instead of
68152         "typed-constant".
68154         * conform/conformtest.pl: Handle "optional-" at start of lines in
68155         one place rather than duplicating several cases.  Handle each
68156         format of "macro" line with initial "optional-".
68158         * conform/conformtest.pl: Only accept expected constant or
68159         optional-constant values with "==".  Parse all "constant" lines in
68160         one place.  Parse all "optional-constant" lines in one place.
68161         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68162         * conform/data/fmtmsg.h-data: Likewise.
68163         * conform/data/netinet/in.h-data: Likewise.
68164         * conform/data/tar.h-data: Likewise.
68165         * conform/data/limits.h-data: Use "==" form on "constant" and
68166         "optional-constant" lines.
68168         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68169         Use -std=c99 for XOPEN2K.
68170         (@knownproblems): Remove.
68171         (newtoken): Don't check %isknown.
68173         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68174         Do not expect macro.
68175         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68176         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68177         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68178         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68179         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68180         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68181         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68182         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68183         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68184         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68185         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68186         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68187         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68188         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68189         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68190         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68191         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68192         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68193         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68194         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68195         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68196         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68197         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68199         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68200         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68201         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68202         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68203         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68204         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68205         [XPG3] (acosh): Likewise.
68206         [XPG3] (asinh): Likewise.
68207         [XPG3] (atanh): Likewise.
68208         [XPG3] (cbrt): Likewise.
68209         [XPG3] (expm1): Likewise.
68210         [XPG3] (ilogb): Likewise.
68211         [XPG3] (log1p): Likewise.
68212         [XPG3] (logb): Likewise.
68213         [XPG3] (nextafter): Likewise.
68214         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68215         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68216         [XPG3] (remainder): Likewise.
68217         [XPG3] (rint): Likewise.
68218         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68219         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68220         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68221         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68222         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68223         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68224         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68225         [UNIX98 || XOPEN2K] (scalb): Expect.
68226         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68227         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68228         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68229         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68230         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68231         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68232         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68233         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68234         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68235         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68236         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68237         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68238         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68239         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68240         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68241         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68242         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68243         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68244         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68245         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68246         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68247         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68248         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68249         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68250         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68251         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68252         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68253         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68254         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68255         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68256         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68257         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68258         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68259         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68260         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68261         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68262         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68263         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68264         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68265         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68266         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68267         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68268         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68269         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68270         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68271         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68272         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68273         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68274         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68275         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68276         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68277         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68278         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68279         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68280         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68281         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68282         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68283         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68284         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68285         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68286         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68287         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68288         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68289         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68290         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68291         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68292         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68293         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68294         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68295         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68296         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68297         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68298         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68299         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68300         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68301         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68302         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68303         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68304         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68305         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68306         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68307         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68308         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68309         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68310         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68311         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68312         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68313         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68314         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68315         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68316         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68317         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68318         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68319         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68320         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68321         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68322         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68323         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68324         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68325         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68326         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68327         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68328         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68329         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68330         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68331         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68332         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68333         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68334         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68335         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68336         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68337         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68338         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68339         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68340         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68342         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68343         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68344         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68345         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68346         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68347         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68348         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68349         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68351         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68352         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68353         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68354         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68355         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68356         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68357         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68360         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68361         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68362         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68364         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68365         _XOPEN_SOURCE_EXTENDED for XPG4.
68367         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68369         * Makeconfig (localtime): Remove variable.
68370         (inst_localtime-file): Likewise.
68372 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68375         Update.
68376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68377         Update.
68378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68379         Update.
68380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68381         Update.
68382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68383         Update.
68384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68385         Update.
68386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68387         Update.
68388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68389         Update.
68390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68391         Update.
68393 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68395         [BZ #2550]
68396         [BZ #2570]
68397         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68398         comparisons to determine direction to adjust input.
68399         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68400         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68401         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68402         Likewise.
68403         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68404         Likewise.
68405         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68406         Likewise.
68407         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68408         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68409         Likewise.
68410         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68411         Likewise.
68412         * math/libm-test.inc (nexttoward_test): Add more tests.
68414 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68416         [BZ #14040]
68417         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68418         in version GLIBC_2.1, not GLIBC_2.0.
68419         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68420         Likewise.
68422 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68424         [BZ #13942]
68425         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68426         (1 - x) * (1 + x).
68427         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68428         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68429         * math/libm-test.inc (acos_test): Add more tests.
68430         (asin_test): Likewise.
68431         * sysdeps/i386/fpu/libm-test-ulps: Update.
68432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68434         [BZ #14034]
68435         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68436         of square root.
68437         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68438         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68439         * math/libm-test.inc (acos_test_tonearest): New function.
68440         (acos_test_towardzero): Likewise.
68441         (acos_test_downward): Likewise.
68442         (acos_test_upward): Likewise.
68443         (asin_test_tonearest): Likewise.
68444         (asin_test_towardzero): Likewise.
68445         (asin_test_downward): Likewise.
68446         (asin_test_upward): Likewise.
68447         (main): Call the new functions.
68448         * sysdeps/i386/fpu/libm-test-ulps: Update.
68449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68451         [BZ #13884]
68452         [BZ #13924]
68453         * math/e_exp10.c: Include <float.h>.
68454         (__ieee754_exp10): Handle underflow here rather than multiplying
68455         large negative argument by M_LN10.
68456         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68457         of __ieee754_expf.
68458         * math/e_exp10l.c: Include <float.h>.
68459         (__ieee754_exp10l): Handle underflow here rather than multiplying
68460         large negative argument by M_LN10l.
68461         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68462         spurious overflow exception on underflow.
68464 2012-04-29  Marek Polacek  <polacek@redhat.com>
68466         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68467         (__fortify_function): New macro.
68468         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68469         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68470         __extern_always_inline.
68471         * libio/bits/stdio2.h: Likewise.
68472         * libio/bits/stdio.h: Likewise.
68473         * string/string.h: Likewise.
68474         * string/bits/string3.h: Likewise.
68475         * include/stdio.h: Likewise.
68476         * stdlib/bits/stdlib.h: Likewise.
68477         * stdlib/stdlib.h: Likewise.
68478         * rt/bits/mqueue2.h: Likewise.
68479         * rt/mqueue.h: Likewise.
68480         * posix/bits/unistd.h: Likewise.
68481         * posix/unistd.h: Likewise.
68482         * io/bits/poll2.h: Likewise.
68483         * io/bits/fcntl2.h: Likewise.
68484         * io/fcntl.h: Likewise.
68485         * io/sys/poll.h: Likewise.
68486         * misc/bits/syslog.h: Likewise.
68487         * misc/bits/syslog-ldbl.h: Likewise.
68488         * misc/sys/syslog.h: Likewise.
68489         * socket/bits/socket2.h: Likewise.
68490         * socket/sys/socket.h: Likewise.
68491         * debug/tst-chk1.c: Likewise.
68492         * wcsmbs/bits/wchar2.h: Likewise.
68493         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68494         * wcsmbs/wchar.h: Likewise.
68496 2012-04-29  Andreas Jaeger  <aj@suse.de>
68498         * Makerules (tests): Remove enable-check-abi protection.
68499         (check-abi-warn): Remove.
68500         (check-abi-%): Remove check-abi-warn usage.
68502         * configure.in: Remove check-abi configure option.
68503         * configure: Regenerated.
68504         * config.make.in (enable-check-abi): Remove.
68506 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68508         [BZ #14033]
68509         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68510         double functions to double *_finite functions.
68512         [BZ #13941]
68513         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68514         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68515         LDBL_MIN_EXP.
68516         * stdio-common/Makefile (tests): Add tst-sprintf3.
68517         * stdio-common/tst-sprintf3.c: New file.
68519         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68520         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68522 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68524         * conform/conformtest.pl: Remove duplicate typed-constant
68525         handling.
68527 2012-04-28  David S. Miller  <davem@davemloft.net>
68529         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68530         (check-abi-%): Remove AWK script prerequisite and explicit
68531         abilist directory.
68532         (check-abi): Rewrite to just diff the symlist with the abilist.
68533         (config-tls, config-abi-config): Delete, no longer used.
68534         (update-abi-%): Remove AWK script and explicit abilist directory.
68535         (update-abi): Rewrite to simply compare and conditionally copy the
68536         symlist and the sysdep abilist file.  Remove update-abi-config
68537         checks.
68538         * abilist/ld.abilist: Remove.
68539         * abilist/libBrokenLocale.abilist: Remove.
68540         * abilist/libanl.abilist: Remove.
68541         * abilist/libcrypt.abilist: Remove.
68542         * abilist/libdl.abilist: Remove.
68543         * abilist/librt.abilist: Remove.
68544         * abilist/libthread_db.abilist: Remove.
68545         * abilist/libutil.abilist: Remove.
68546         * scripts/extract-abilist.awk: Remove.
68547         * scripts/merge-abilist.awk: Remove.
68548         * sysdeps/generic/libcidn.abilist: New file.
68549         * sysdeps/generic/libnss_compat.abilist: New file.
68550         * sysdeps/generic/libnss_db.abilist: New file.
68551         * sysdeps/generic/libnss_dns.abilist: New file.
68552         * sysdeps/generic/libnss_files.abilist: New file.
68553         * sysdeps/generic/libnss_hesiod.abilist: New file.
68554         * sysdeps/generic/libnss_nis.abilist: New file.
68555         * sysdeps/generic/libnss_nisplus.abilist: New file.
68556         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68557         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68558         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68559         file.
68560         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68561         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68562         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68563         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68564         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68565         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68566         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68567         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68568         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68569         file.
68570         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68571         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68572         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68573         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68574         file.
68575         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68576         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68577         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68578         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68579         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68580         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68581         file.
68582         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68583         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68584         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68585         file.
68586         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68587         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68588         New file.
68589         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68590         New file.
68591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68592         New file.
68593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68594         New file.
68595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68596         New file.
68597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68598         New file.
68599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68600         New file.
68601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68602         New file.
68603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68604         New file.
68605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68606         New file.
68607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68608         New file.
68609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68610         New file.
68611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68612         New file.
68613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68614         file.
68615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68616         New file.
68617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68618         New file.
68619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68620         file.
68621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68622         New file.
68623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68624         New file.
68625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68626         file.
68627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68628         New file.
68629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68630         New file.
68631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68632         New file.
68633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68634         New file.
68635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68636         New file.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68638         New file.
68639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68641         file.
68642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68643         New file.
68644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68645         file.
68646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68647         file.
68648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68649         file.
68650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68651         file.
68652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68653         file.
68654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68655         New file.
68656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68657         file.
68658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68659         file.
68660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68661         New file.
68662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68663         file.
68664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68666         file.
68667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68668         New file.
68669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68670         file.
68671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68672         file.
68673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68674         file.
68675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68676         file.
68677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68678         file.
68679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68680         New file.
68681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68682         file.
68683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68684         file.
68685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68686         New file.
68687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68688         file.
68689         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68690         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68691         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68692         file.
68693         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68694         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68695         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68696         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68697         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68698         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68699         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68700         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68701         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68702         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68705         file.
68706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68707         New file.
68708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68709         file.
68710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68711         file.
68712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68713         file.
68714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68715         file.
68716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68717         file.
68718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68719         New file.
68720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68721         New file.
68722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68723         file.
68724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68725         New file.
68726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68727         file.
68728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68730         file.
68731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68732         New file.
68733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68734         file.
68735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68736         file.
68737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68738         file.
68739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68740         file.
68741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68742         file.
68743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68744         New file.
68745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68746         New file.
68747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68748         file.
68749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68750         New file.
68751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68752         file.
68754 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68756         * conform/conformtest.pl: Fix typo in handling typed-constant from
68757         allow-header.
68759 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68761         * README: Cut down references to pre-2.6 Linux kernels and
68762         Linuxthreads.  Update lists of configurations in libc and ports
68763         and sort alphabetically.  Say "or newer" with Linux kernel version
68764         requirements.
68766         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68768 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68770         [BZ #887]
68771         * math/libm-test.inc (logb_test_downward): New test to expose
68772         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68773         rounding mode.
68775 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68777         [BZ #14027]
68778         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68779         to be done.
68780         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68781         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68783 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68785         * sysdeps/unix/i386/brk.S: Remove file.
68786         * sysdeps/unix/i386/dl-brk.S: Likewise.
68787         * sysdeps/unix/i386/pipe.S: Likewise.
68788         * sysdeps/unix/i386/sigreturn.S: Likewise.
68789         * sysdeps/unix/i386/syscall.S: Likewise.
68790         * sysdeps/unix/i386/vfork.S: Likewise.
68791         * sysdeps/unix/i386/wait.S: Likewise.
68793         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68794         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68796         * configure.in (arm*-none*): Do not allow without
68797         --enable-hacker-mode.
68798         (netbsd*): Remove case setting base_os.
68799         (386bsd*): Likewise.
68800         (freebsd*): Likewise.
68801         (bsdi*): Likewise.
68802         (osf*): Likewise.
68803         (sunos*): Likewise.
68804         (ultrix*): Likewise.
68805         (newsos*): Likewise.
68806         (dynix*): Likewise.
68807         (*bsd*): Likewise.
68808         (sysv*): Likewise.
68809         (isc*): Likewise.
68810         (esix*): Likewise.
68811         (sco*): Likewise.
68812         (minix*): Likewise.
68813         (irix4*): Likewise.
68814         (irix6*): Likewise.
68815         (solaris[2-9]*): Likewise.
68816         (none): Likewise.
68817         * configure: Regenerated.
68819 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68821         [BZ #11521]
68822         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68823         overflow or cancellation in calculating denominator.
68824         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68825         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68826         down expression to avoid unexpected rounding in newer GCCs.
68827         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68829 2012-04-26  David S. Miller  <davem@davemloft.net>
68831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68832         long-double compat symbols.
68833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68847 2012-04-25  David S. Miller  <davem@davemloft.net>
68849         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68850         HWCAP_* values only after the memory barriers have been defined.
68851         (atomic_full_barrier): Define.
68852         (atomic_read_barrier): Define.
68853         (atomic_write_barrier): Define.
68855 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68857         * shlib-versions: Add libgcc_s version information.
68858         * sysdeps/generic/libgcc_s.h: Remove.
68859         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68860         libgcc_s.h.
68861         * sysdeps/gnu/unwind-resume.c: Likewise.
68862         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68864 2012-04-25  David S. Miller  <davem@davemloft.net>
68866         * sysdeps/unix/sparc/brk.S: Delete.
68867         * sysdeps/unix/sparc/dl-brk.S: Delete.
68868         * sysdeps/unix/sparc/pipe.S: Delete.
68869         * sysdeps/unix/sparc/sysdep.S: Delete.
68870         * sysdeps/unix/sparc/sysdep.h: Delete.
68871         * sysdeps/unix/sparc/vfork.S: Delete.
68872         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68873         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68874         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68875         (ret_ERRVAL, r0, r1, MOVE): Define.
68876         (JUMPTARGET): Remove.
68877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68878         sysdeps/unix/sparc/sysdep.h
68879         (ENTRY, END): Remove.
68880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68882 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68884         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68885         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68886         -DIS_IN_build.
68888         * timezone/README: Update upstream location and email address for
68889         tzcode and tzdata.
68890         * timezone/zdump.c: Update from tzcode 2012b.
68891         * timezone/zic.c: Likewise.
68893         * configure.in (libc_cv_as_needed): Remove test.
68894         * configure: Regenerated.
68895         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68896         conditional definition.
68897         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68898         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68899         * config.make.in (have-as-needed): Remove variable.
68901 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68902             Paul Pluzhnikov  <ppluzhnikov@google.com>
68904         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68905         strings correctly.
68907 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68909         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68910         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68911         * sysdeps/sh/strlen.S: Likewise.
68913 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68915         * sysdeps/unix/fork.S: Remove file.
68916         * sysdeps/unix/i386/fork.S: Likewise.
68917         * sysdeps/unix/sparc/fork.S: Likewise.
68919         * sysdeps/unix/system.c: Remove file.
68920         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68922         * sysdeps/unix/getegid.S: Remove file.
68923         * sysdeps/unix/geteuid.S: Likewise.
68925 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68927         * scripts/check-localplt.awk: New file.
68928         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68929         of diff.
68930         * scripts/data/localplt-generic.data: Add a comment.
68932         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68933         NODE when __dir_mkfile failed.
68934         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68935         Reported by Ludovic Courtès <ludo@gnu.org>.
68937 2012-04-24  Andreas Jaeger  <aj@suse.de>
68939         * Makerules (common-clean): Also remove gen-as-const-headers
68940         files.
68942 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68944         * Makerules (native-compile): Do not change working directory for
68945         build.  Use $(OUTPUT_OPTION) in command.
68946         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68948 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68950         [BZ #13886]
68951         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68952         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68953         * math/libm-test.inc (floor_test): Add more tests.
68954         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68956 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68958         * sysdeps/unix/getdents.c: Remove file.
68959         * sysdeps/unix/sysv/getdents.c: Likewise.
68960         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68962         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68963         sysdeps/unix/mman/syscalls.list.
68964         (mmap): Likewise.
68965         (mprotect): Likewise.
68966         (msync): Likewise.
68967         (munmap): Likewise.
68968         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68969         * sysdeps/unix/mman/syscalls.list: Remove.
68970         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68972         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68973         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68974         * configure: Regenerated.
68975         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68976         $(libgcc_s_suffix).
68977         * config.make.in (libgcc_s_suffix): Remove variable.
68979 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68981         * sysdeps/unix/sysv/gethostname.c: Move to ...
68982         * sysdeps/posix/gethostname.c: ... here.
68984         * sysdeps/unix/execve.S: Remove file.
68986         * sysdeps/unix/_exit.S: Remove file.
68988 2012-04-23  Andreas Jaeger  <aj@suse.de>
68990         [BZ #13739]
68991         * manual/Makefile: Remove make dist support, there's no
68992         need for a stand-alone documentation tar ball.
68993         (TEXI2DVI): Define always, it's not in Makeconfig.
68994         (dist): Removed.
68995         (tar-it): Removed.
68996         (edition): Removed.
68997         (glibc-doc-$(edition).tar): Removed
68998         (%.Z): Removed.
68999         (%.gz): Removed.
69000         (%.uu): Removed.
69001         (ETAGS): Remove, it's in Makeconfig.
69002         (move-if-change): Remove, it's in Makeconfig.
69004 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69006         [BZ #13970]
69007         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69008         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69009         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69010         (strtod_l, strtof_l, strtold_l): Remove __wur.
69011         It is not necessarily an error to ignore strtol's return value.
69012         One can reliably look at the stored endptr to decide whether
69013         the number had valid syntax.
69015 2012-04-21  Andreas Jaeger  <aj@suse.de>
69017         [BZ #13739]
69018         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69020 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69022         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69023         * sysdeps/unix/sysv/Versions: Remove file.
69025 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69027         [BZ #13927]
69028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69030 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69032         [BZ #7064]
69033         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69034         version from __vm86.
69036 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69038         * sysdeps/unix/common/lxstat.c: Remove file.
69039         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69041         * sysdeps/unix/sysv/Makefile: Remove file.
69043         * sysdeps/unix/sysv/direct.h: Remove file.
69045         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69046         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69047         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69048         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69049         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69050         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69051         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69053         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69055         * sysdeps/unix/xmknod.c: Remove file.
69056         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69058         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69060         * sysdeps/unix/sysv/i386/time.S: Remove file.
69062         * sysdeps/unix/fxstat.c: Remove file.
69063         * sysdeps/unix/xstat.c: Likewise.
69064         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69066         * sysdeps/unix/sysv/sigaction.c: Remove file.
69068         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69069         (sysdep_headers): Remove variable.
69070         [termio.h not in sysdep_headers] (generated): Likewise.
69071         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69072         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69073         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69074         * sysdeps/unix/sysv/tcflow.c: Likewise.
69075         * sysdeps/unix/sysv/tcflush.c: Likewise.
69076         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69077         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69078         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69079         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69080         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69082         * sysdeps/unix/siglist.c: Remove file.
69084         * sysdeps/unix/getppid.S: Remove file.
69086         * sysdeps/unix/mkdir.c: Remove file.
69087         * sysdeps/unix/rmdir.c: Likewise.
69089 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69091         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69092         ERR_MAX value.
69093         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69094         errlist-compat value.
69096 2012-04-18  David S. Miller  <davem@davemloft.net>
69098         * sysdeps/generic/memcopy.h (reg_char): Delete.
69099         * debug/strcat_chk.c: Use char, not reg_char.
69100         * debug/strcpy_chk.c: Likewise.
69101         * debug/strncat_chk.c: Likewise.
69102         * debug/strncpy_chk.c: Likewise.
69103         * string/memchr.c: Likewise.
69104         * string/memrchr.c: Likewise.
69105         * string/rawmemchr.c: Likewise.
69106         * string/strcat.c: Likewise.
69107         * string/strchr.c: Likewise.
69108         * string/strchrnul.c: Likewise.
69109         * string/strcmp.c: Likewise.
69110         * string/strcpy.c: Likewise.
69111         * string/strncat.c: Likewise.
69112         * string/strncmp.c: Likewise.
69113         * string/strncpy.c: Likewise.
69115 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69117         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69118         __builtin_memcopy is called when src and dest ranges are known to not
69119         overlap.
69121 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69123         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69124         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69125         fwd_align_merge macro call.
69126         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69127         bwd_align_merge macro call.
69128         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69130 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69132         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69133         bwd_align_merge macros.
69134         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69135         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69136         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69138 2012-04-18  David S. Miller  <davem@davemloft.net>
69140         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69142 2012-04-18  Andreas Jaeger  <aj@suse.de>
69144         [BZ# 6794]
69145         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69146         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69147         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69149         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69150         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69151         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69153         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69154         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69155         Adjust for changed ldbl-128 files.
69157         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69158         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69159         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69161 2012-04-17  David S. Miller  <davem@davemloft.net>
69163         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69165 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69167         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69168         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69169         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69170         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69171         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69172         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69174 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69176         [BZ #6794]
69177         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69178         * math/libm-test.inc: Add ilogb errno and exception tests.
69179         * math/w_ilogb.c: New file: ilogb wrapper.
69180         * math/w_ilogbf.c: New file: ilogbf wrapper.
69181         * math/w_ilogbl.c: New file: ilogbl wrapper.
69182         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69183         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69184         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69185         exception being thrown with 0.0 as argument.
69186         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69187         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69188         exception being thrown with 0.0 as argument.
69189         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69190         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69191         exception being thrown with 0.0 as argument.
69192         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69193         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69194         exception being thrown with 0.0 as argument.
69195         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69196         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69197         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69198         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69199         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69200         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69201         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69202         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69203         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69205 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69207         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69208         with altivec.
69210 2012-04-16  Marek Polacek  <polacek@redhat.com>
69212         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69214 2012-04-16  Marek Polacek  <polacek@redhat.com>
69216         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69217         operands of fdivp instruction.
69219 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69221         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69222         * elf/tst-auditmod3b.c: Likewise.
69223         * elf/tst-auditmod4b.c: Likewise.
69224         * elf/tst-auditmod5b.c: Likewise.
69225         * elf/tst-auditmod6b.c: Likewise.
69226         * elf/tst-auditmod6c.c: Likewise.
69227         * elf/tst-auditmod7b.c: Likewise.
69228         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69229         * sysdeps/x86_64/preconfigure.in: Likewise.
69230         * sysdeps/x86_64/preconfigure: Regenerated.
69232 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69234         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69235         __ILP32__.
69237 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69239         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69240         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69242 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69244         [BZ #13973]
69245         * locale/iso-639.def: Fix gl language name. Spotted by
69246         Yaron Shahrabani.
69248 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69250         [BZ #2074]
69251         * libio/libio.h (__io_write_fn): Update comment.
69253 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69255         [BZ #2074]
69256         * stdio.texi (Hook Functions): The user provided writer function
69257         is not allowed to return -1.
69259 2012-04-11  David S. Miller  <davem@davemloft.net>
69261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69263 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69265         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69266         Add a leading slash to rtkaio.
69268 2012-04-11  Jim Meyering  <meyering@redhat.com>
69270         [BZ #11959]
69271         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69272         It is not necessarily an error to ignore fwrite's return
69273         value.  One can reliably use ferror to test for errors after
69274         the fact.
69276 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69278         * bits/types.h (__snseconds_t): New type.
69279         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69281         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69283         (__SNSECONDS_T_TYPE): Likewise.
69284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69285         (__SNSECONDS_T_TYPE): Likewise.
69286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69287         (__SNSECONDS_T_TYPE): Likewise.
69289 2012-04-10  Andreas Jaeger  <aj@suse.de>
69291         [BZ #2636]
69292         * manual/time.texi (Processor Time): Return type of times is
69293         elapsed real time since an arbitrary point in the past.
69294         (CPU Time): Move CLK_TCK from here...
69295         (Processor Time): ...to here.  Correct description.
69296         * manual/conf.texi (Constants for Sysconf): Correct description of
69297         _SC_CLK_TCK.
69299 2012-04-10  David S. Miller  <davem@davemloft.net>
69301         [BZ #13967]
69302         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69303         where the is a gap between DT_REL(A) and DT_JMPREL.
69305 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69307         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69308         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69309         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69311 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69313         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69314         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69315         (dl_main): Handle --inhibit-cache.
69316         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69317         _dl_inhibit_cache.
69318         * elf/dl-load.c (_dl_map_object): Use it.
69319         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69321 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69323         [BZ #13872]
69324         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69325         (__ieee754_powl): Saturate large exponents rather than testing for
69326         overflow of y*log2(x).
69327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69328         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69329         exceptions.
69331         [BZ #11521]
69332         * math/s_ctan.c: Include <float.h>.
69333         (__ctan): Avoid internal overflow or cancellation in calculating
69334         denominator.
69335         * math/s_ctanf.c: Likewise.
69336         * math/s_ctanl.c: Likewise.
69337         * math/s_ctanh.c: Likewise.
69338         * math/s_ctanhf.c: Likewise.
69339         * math/s_ctanhl.c: Likewise.
69340         * math/libm-test.inc (ctan_test): Add more tests.
69341         (ctanh_test): Likewise.
69342         * sysdeps/i386/fpu/libm-test-ulps: Update.
69343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69345 2012-04-09  Andreas Jaeger  <aj@suse.de>
69347         [BZ #6894]
69348         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69349         is an optional BSD extension.
69351         [BZ #10254]
69352         * manual/stdio.texi (Opening Streams): Document additional fopen
69353         parameters.
69355 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69357         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69358         %eax without telling the compiler.
69360 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69362         [BZ # 13963]
69363         * manual/install.texi: Use sourceware.org.
69365 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69367         [BZ #13873]
69368         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69369         (__ieee754_pow): Generate overflow and underflow using huge*huge
69370         and tiny*tiny rather than just returning constant infinity or zero
69371         for large exponents.
69372         * math/libm-test.inc (pow_test): Require overflow exceptions for
69373         applicable cases of large exponents.
69375         [BZ #706]
69376         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69377         (__ieee754_pow): Use iterative multiplication algorithm only for
69378         integer exponents with absolute value below 1024.  Check for odd
69379         integer exponents when using algorithm for real exponents.
69380         * math/libm-test.inc (pow_test): Add more tests.
69381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69383 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69385         [BZ #13705]
69386         * math/libm-test.inc (exp_test): Do not allow overflow exception
69387         on underflow test.
69389 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69391         [BZ #13705]
69392         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69393         instead of __kernel_standard_f.
69395 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69397         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69398         * sysdeps/x86_64/memset_chk.S: Likewise.
69400 2012-04-08  Andreas Jaeger  <aj@suse.de>
69402         [BZ #10153]
69403         * manual/startup.texi (Environment Access): Describe return value
69404         for putenv and setenv.
69406         [BZ #6895]
69407         * manual/filesys.texi (Directory Entries): Add description for
69408         DT_LNK.
69410         [BZ #6890]
69411         * manual/filesys.texi (Directory Entries): Clarify that it's file
69412         system not operating system in the description of DT_UNKNOWN.
69414         [BZ #6578]
69415         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69417 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69419         [BZ #6649]
69420         * manual/llio.texi (Opening and Closing Files): Add cross
69421         reference to explain mode argument.
69423 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69425         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69426         * sysdeps/x86_64/memset_chk.S: Likewise.
69428 2012-04-07  David S. Miller  <davem@davemloft.net>
69430         * elf/elf.h (R_SPARC_WDISP10): Define.
69431         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69432         R_SPARC_SIZE32.
69433         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69434         R_SPARC_SIZE64 and R_SPARC_H34.
69436 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69438         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69439         conditions and remove no longer applicable assertion.
69441 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69443         * bits/byteswap.h: Include <features.h>.
69444         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69445         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69447 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69449         * bits/byteswap.h (__bswap_16): Removed.
69450         Include <bits/byteswap-16.h> to get __bswap_16.
69451         * sysdeps/i386/bits/byteswap.h: Likewise.
69452         * sysdeps/s390/bits/byteswap.h: Likewise.
69453         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69454         * bits/byteswap-16.h: New file.
69455         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69456         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69457         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69458         * string/Makefile (headers): Add bits/byteswap-16.h.
69460 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69462         [BZ #13895]
69463         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69464         extra indirection.
69465         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69466         * nss/tst-nss-static.c: New.
69468 2012-04-06  Robert Millan  <rmh@gnu.org>
69470         [BZ #6486]
69471         * manual/llio.texi (File Position Primitive): lseek
69472         refers to WHENCE when it really means OFFSET.
69474 2012-04-06  Andreas Jaeger  <aj@suse.de>
69476         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69477         strncmp declarations.
69479         * abilist/libc.abilist: Add __poll and __ppoll.
69481 2012-04-05  David S. Miller  <davem@davemloft.net>
69483         * scripts/check-local-headers.sh: Accept a host triplet in the
69484         path matched by the exclude regexp.
69486         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69487         definition.
69488         * sysdeps/powerpc/powerpc32/dl-machine.h
69489         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69490         * sysdeps/s390/s390-32/dl-machine.h
69491         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69492         * sysdeps/sparc/sparc32/dl-machine.h
69493         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69494         * sysdeps/sparc/sparc64/dl-machine.h
69495         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69497         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69498         lazy binding.
69499         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69500         undefined symbol errors.
69502         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69503         DT_NEEDED entries.
69505 2012-04-05  Michael Matz  <matz@suse.de>
69507         [BZ #13592]
69508         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69510 2012-04-05  Andreas Jaeger  <aj@suse.de>
69512         [BZ #13908]
69513         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69514         comment.
69516 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69518         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69519         which ROUND is no valid rounding mode.
69521 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69523         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69524         read again.
69525         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69527 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69529         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69530         an exception using FPU order intentionally.
69532 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69534         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69535         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69536         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69537         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69539 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69541         [BZ #12340]
69542         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69543         EINVAL when BUFLEN is too smal.
69545 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69547         [BZ #13553]
69548         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69549         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69551 2012-04-03  Andreas Jaeger  <aj@suse.de>
69553         [BZ #13938]
69554         * manual/setjmp.texi (System V contexts): Fix sentence.
69556         [BZ #13926]
69557         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69558         New macro for this case.
69559         [!__GNUC__] (__bswap_64): New inline function for this case.
69560         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69561         * bits/byteswap.h: Likewise.
69562         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69563         ull, guard with __GLIBC_HAVE_LONG_LONG.
69565         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69566         __GLIBC_HAVE_LONG_LONG.
69568         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69569         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69571 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69573         [BZ #13691]
69574         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69575         inptr and inend, rather than using last_ch.
69577 2012-04-02  David S. Miller  <davem@davemloft.net>
69579         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69580         * stdio-common/printf-parse.h (read_int): Change return type to
69581         'int', return -1 on INT_MAX overflow.
69582         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69583         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69584         overflows INT_MAX.  Check for overflow of in-format-string precision
69585         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69586         SIZE_MAX not INT_MAX for integer overflow test.
69587         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69588         skip the construct in the format string but do not record anything.
69589         * stdio-common/bug22.c: Adjust to test both width/prevision
69590         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69591         explicitly for proper errno values.
69593 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69595         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69596         CHAR_MAX.
69597         * string/test-strcmp.c [! WIDE]: Likewise.
69598         * time/tst-mktime2.c: Likewise for INT_MAX.
69599         * string/test-string.h: #include <sys/param.h> for MIN.
69601         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69602         * sysdeps/i386/init-first.c (init): Likewise.
69603         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69604         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69605         * sysdeps/sh/init-first.c (init): Likewise.
69607 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69609         * po/ru.po: Update from translation team.
69610         * po/vi.po: Likewise.
69612 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69614         * resolv/nss_dns/dns-host.c: Merge copyright years.
69616 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69618         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69619         Optimize memcpy with prefetch if
69620         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69621         src, dst pointers have unequal 16 byte alignments.
69623 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69625         [BZ #13928]
69626         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69627         from a CNAME entry and return the minimum ttl for the query.
69628         (gaih_getanswer_slice): Likewise.
69630 2012-03-30  Jeff Law  <law@redhat.com>
69632         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69633         due to long keys.
69634         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69635         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69637         * resolv/nss_dns/dns-host.c: Update copyright year.
69639 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69641         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69642         requests to save a system call.  Fix check that all bytes are sent.
69644         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69645         comments for sendmmsg.
69647 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69649         [BZ #13691]
69650         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69651         with only 1 character between 0x0041 and 0x01b0.
69652         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69653         * wcsmbs/tst-mbsnrtowcs.c: New file.
69655 2012-03-29  David S. Miller  <davem@davemloft.net>
69657         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69658         small copies by hand.
69660 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69662         [BZ #13761]
69663         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69664         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69665         group memberships.
69667 2012-03-28  David S. Miller  <davem@davemloft.net>
69669         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69670         that branches into memcpy.
69671         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69673         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69674         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69675         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69676         bits.
69677         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69678         implementation too.
69679         * sysdeps/sparc/mempcpy.S: New file.
69681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69682         the IFUNC routine in the libc case.
69683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69685         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69686         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69687         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69688         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69689         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69690         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69691         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69692         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69694         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69695         loop to 256 bytes instead of 64 bytes and fix test signedness.
69697         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69698         * sysdeps/sparc/sparc32/Makefile: rather than here...
69699         * sysdeps/sparc/sparc64/Makefile: and here.
69701 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69703         * malloc/mallocbug.c: Avoid warnings about unused variables.
69705 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69707         [BZ #13760]
69708         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69709         in the right place. Discard and retry query if response is
69710         larger than input buffer size.
69712 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69714         [BZ #369]
69715         [BZ #2678]
69716         [BZ #3866]
69717         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69718         x for large integer exponent.
69719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69720         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69721         sign of result as needed afterwards.
69722         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69723         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69724         result for underflowing pow the same as for overflow.
69725         (__kernel_standard_l): Handle powl overflow and underflow here
69726         rather than calling __kernel_standard.
69727         * math/libm-test.inc (pow_test): Add more tests.
69729         [BZ #3868]
69730         [BZ #13879]
69731         [BZ #13910]
69732         [BZ #13911]
69733         [BZ #13912]
69734         [BZ #13913]
69735         [BZ #13915]
69736         [BZ #13916]
69737         [BZ #13917]
69738         [BZ #13918]
69739         [BZ #13919]
69740         [BZ #13920]
69741         [BZ #13921]
69742         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69743         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69744         (__kernel_standard_l): New function.
69745         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69746         __kernel_standard.
69747         * math/w_acosl.c (__acosl): Likewise.
69748         * math/w_asinl.c (__asinl): Likewise.
69749         * math/w_atan2l.c (__atan2l): Likewise.
69750         * math/w_atanhl.c (__atanhl): Likewise.
69751         * math/w_coshl.c (__coshl): Likewise.
69752         * math/w_exp10l.c (__exp10l): Likewise.
69753         * math/w_exp2l.c (__exp2l): Likewise.
69754         * math/w_fmodl.c (__fmodl): Likewise.
69755         * math/w_hypotl.c (__hypotl): Likewise.
69756         * math/w_j0l.c (__j0l, __y0l): Likewise.
69757         * math/w_j1l.c (__j1l, __y1l): Likewise.
69758         * math/w_jnl.c (__jnl, __ynl): Likewise.
69759         * math/w_lgammal.c (__lgammal): Likewise.
69760         * math/w_log10l.c (__log10l): Likewise.
69761         * math/w_log2l.c (__log2l): Likewise.
69762         * math/w_logl.c (__logl): Likewise.
69763         * math/w_powl.c (__powl): Likewise.
69764         * math/w_remainderl.c (__remainderl): Likewise.
69765         * math/w_scalbl.c (sysv_scalbl): Likewise.
69766         * math/w_sinhl.c (__sinhl): Likewise.
69767         * math/w_sqrtl.c (__sqrtl): Likewise.
69768         * math/w_tgammal.c (__tgammal): Likewise.
69769         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69770         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69771         * math/libm-test.inc (acos_test): Add more tests.
69772         (acosh_test): Likewise.
69773         (asin_test): Likewise.
69774         (atanh_test): Likewise.
69775         (exp_test): Likewise.
69776         (exp10_test): Likewise.
69777         (exp2_test): Likewise.
69778         (expm1_test): Likewise.
69779         (lgamma_test): Likewise.
69780         (log_test): Likewise.
69781         (log10_test): Likewise.
69782         (log1p_test): Likewise.
69783         (log2_test): Likewise.
69784         (pow_test): Do not allow some spurious overflow exceptions.
69785         (sqrt_test): Add more tests.
69786         (tgamma_test): Likewise.
69787         (y0_test): Likewise.
69788         (y1_test): Likewise.
69789         (yn_test): Likewise.
69791 2012-03-27  Anton Blanchard  <anton@samba.org>
69793         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69794         MAP_HUGETLB.
69795         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69796         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69797         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69799 2012-03-27  David S. Miller  <davem@davemloft.net>
69801         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69803         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69804         have-as-vis3 check.
69806 2012-03-27  Andreas Jaeger  <aj@suse.de>
69808         * sysdeps/x86_64/elf/configure.in: Moved to ...
69809         * sysdeps/x86_64/configure.in: ... here.
69810         * sysdeps/x86_64/elf/start.S: Moved to ...
69811         * sysdeps/x86_64/start.S: ... here.
69812         * sysdeps/x86_64/elf/configure: Delete.
69814         * sysdeps/x86_64/configure.in: Merge contents from
69815         sysdeps/i386/configure.in (without i686 check).
69817         * sysdeps/i386/elf/Versions: Merge into ...
69818         * sysdeps/i386/Versions: ... this.
69819         * sysdeps/i386/elf/Versions: Delete file.
69820         * sysdeps/i386/elf/start.S: Moved to ...
69821         * sysdeps/i386/start.S: ...here.
69822         * sysdeps/i386/elf/configure.in: Merge into...
69823         * sysdeps/i386/configure.in: ...here.
69824         * sysdeps/i386/elf/configure.in: Delete file.
69825         * sysdeps/i386/elf/configure: Delete file.
69827         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69828         * debug/backtracesyms.c: ... here.
69829         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69830         * debug/backtracesymsfd.c: ... here.
69831         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69832         * sysdeps/generic/ifunc-sel.h: ... here.
69834         * sysdeps/unix/i386/start.c: Delete file.
69835         * sysdeps/unix/sparc/start.c: Delete file.
69836         * sysdeps/unix/start.c: Delete file.
69838         * sysdeps/sh/elf/configure.in: Moved to ...
69839         * sysdeps/sh/configure.in: ... here.
69840         * sysdeps/sh/elf/start.S: Moved to ...
69841         * sysdeps/sh/start.S: ... here.
69842         * sysdeps/sh/elf/configure: Delete file.
69844         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69845         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69846         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69847         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69848         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69849         * sysdeps/powerpc/powerpc64/start.S: here.
69850         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69851         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69852         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69853         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69854         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69856         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69857         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69858         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69859         * sysdeps/powerpc/powerpc32/start.S: ... here.
69860         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69861         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69862         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69864         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69865         * sysdeps/powerpc/ifunc-sel.h: ... here.
69866         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69867         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69869         * sysdeps/sparc/elf/configure.in: Moved to ...
69870         * sysdeps/sparc/configure.in: ... here.
69871         * sysdeps/sparc/elf/configure: Delete file.
69872         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69873         * sysdeps/sparc/sparc32/start.S: ... here.
69874         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69875         * sysdeps/sparc/sparc64/start.S: ... here.
69876         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69877         * sysdeps/sparc/sparc32/Makefile: ... this.
69878         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69879         * sysdeps/sparc/sparc64/Makefile: ... this.
69881         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69882         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69883         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69884         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69885         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69886         * sysdeps/s390/s390-32/setjmp.S: ... here.
69887         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69888         * sysdeps/s390/s390-32/configure.in: ... here.
69889         * sysdeps/s390/s390-32/elf/configure: Delete file.
69890         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69891         * sysdeps/s390/s390-32/start.S: ... here.
69893         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69894         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69895         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69896         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69897         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69898         * sysdeps/s390/s390-64/setjmp.S: ... here.
69899         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69900         * sysdeps/s390/s390-64/configure.in: ... here
69901         * sysdeps/s390/s390-64/elf/configure: Delete file.
69902         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69903         * sysdeps/s390/s390-64/start.S: ... here.
69904         * sysdeps/s390/s390-64/elf/configure: Delete.
69906         * configure.in: Remove support for elf directories in sysdeps.
69908         * configure: Regenerated.
69909         * sysdeps/i386/configure: Regenerated.
69910         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69911         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69912         * sysdeps/s390/s390-32/configure: Regenerated.
69913         * sysdeps/s390/s390-64/configure: Regenerated.
69914         * sysdeps/sh/configure: Regenerated.
69915         * sysdeps/sparc/configure: Regenerated.
69916         * sysdeps/x86_64/configure: Regenerated.
69918 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69922         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69923         denormal result into account.
69925 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69927         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69928         Reported by Allan McRae <allan@archlinux.org>.
69930 2012-03-23  Jeff Law  <law@redhat.com>
69932         * nss/getnssent.c (__nss_getent): Fix typo.
69934 2012-03-23  David S. Miller  <davem@davemloft.net>
69936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69938 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69940         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69941         to pad to uint64_t for each field.
69942         (dl_tls_index): Replace unsigned long with uint64_t.
69944 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69945         Paul Pluzhnikov  <ppluzhnikov@google.com>
69947         [BZ #6528]
69948         * grp/Makefile (otherlibs): Don't set it.
69949         * inet/Makefile (otherlibs): Likewise.
69950         * login/Makefile (otherlibs): Likewise.
69951         * nscd/Makefile (otherlibs): Likewise.
69952         * posix/Makefile (otherlibs): Likewise.
69953         * pwd/Makefile (otherlibs): Likewise.
69954         * rt/Makefile (otherlibs): Likewise.
69955         * sunrpc/Makefile (otherlibs): Likewise.
69956         * nss/Makefile (otherlibs): Likewise.
69957         Add libnss_files to routines and static-only-routines.
69958         ($(objpfx)getent): Remove rule.
69959         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69960         static-only-routines.
69962 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69964         [BZ #13892]
69965         * math/s_cexp.c: Include <float.h>.
69966         (__cexp): Handle exp result overflowing not necessarily
69967         overflowing both real and imaginary parts of result.
69968         * math/s_cexpf.c: Likewise.
69969         * math/s_cexpl.c: Likewise.
69970         * math/libm-test.inc (cexp_test): Add more tests.
69971         * sysdeps/i386/fpu/libm-test-ulps: Update.
69972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69974 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69976         * include/link.h (ELFW): New macro.
69977         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69978         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69980 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69982         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69983         with uint64_t.
69985 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69987         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69988         declaration.
69989         (struct La_x32_retval): Likewise.
69991 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69993         * sysdeps/x86_64/preconfigure.in: New file.
69994         * sysdeps/x86_64/preconfigure: New generated file.
69996 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69998         [BZ #13824]
69999         * math/e_exp2l.c: Include <float.h>.
70000         (__ieee754_exp2l): Handle overflow and underflow cases
70001         separately.  Only pass fractional part of argument to
70002         __ieee754_expl.
70003         * math/libm-test.inc (exp2_test): Add more tests.
70005         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70006         negating x to take absolute value.
70007         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70008         Likewise.
70009         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70010         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70011         Likewise.
70012         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70013         computing low part if x was negated.
70014         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70016 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70018         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70019         la_x32_gnu_pltexit.
70020         (pltexit): Cast int_retval to ptrdiff_t.
70021         * elf/tst-auditmod3b.c: Likewise.
70022         * elf/tst-auditmod4b.c: Likewise.
70023         * elf/tst-auditmod5b.c: Likewise.
70024         * elf/tst-auditmod6b.c: Likewise.
70025         * elf/tst-auditmod6c.c: Likewise.
70026         * elf/tst-auditmod7b.c: Likewise.
70028         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70029         and x32_gnu_pltexit.
70031         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70032         __ELF_NATIVE_CLASS.
70033         (La_x32_regs): New macro.
70034         (La_x32_retval): Likewise.
70035         (la_x32_gnu_pltenter): New function prototype.
70036         (la_x32_gnu_pltexit): Likewise.
70038 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70041         exponent.
70043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70045         * configure.in (libc_cv_cc_nofma): Check for option to disable
70046         generation of FMA instructions.
70047         * configure: Regenerate.
70048         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70049         * sysdeps/ieee754/dbl-64/Makefile: New file.
70050         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70051         Remove brandred-fma4.
70052         (CFLAGS-brandred-fma4.c): Remove.
70053         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70054         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70055         define.
70056         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70057         define.
70059 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70061         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70062         LLONG_MAX != LONG_MAX.
70063         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70064         (_fitoa_word): Likewise.
70065         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70066         LLONG_MAX != LONG_MAX.
70067         * stdio-common/_itowa.h: Include <_itoa.h>.
70068         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70069         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70070         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70071         only if not defined.
70072         (_ITOA_WORD_TYPE): Likewise.
70073         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70074         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70076 2012-03-21  David S. Miller  <davem@davemloft.net>
70078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70080 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70082         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70083         of x86_64 when setting libc_cv_slibdir, libdir and
70084         libc_cv_localedir.
70085         * sysdeps/unix/sysv/linux/configure: Regenerated.
70087 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70089         * manual/lang.texi (Old Varargs): Remove section.
70090         (How Variadic): Update menu.
70091         (va_start): Do not mention varargs.h.
70093 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70094             Joseph Myers  <joseph@codesourcery.com>
70096         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70097         link test.
70098         * configure: Regenerated.
70100 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70102         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70103         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70104         conformtest.pl
70106 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70108         * NOTES: Remove.
70109         * Makefile (files-for-dist): Remove NOTES.
70110         (NOTES): Remove rule.
70111         * README: Don't refer to NOTES.
70112         * manual/creature.texi: Don't include macros.texi.
70113         * manual/intro.texi (creature.texi): Remove comment referring to
70114         NOTES.
70116         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70117         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70118         * configure: Regenerated.
70119         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70120         LIBC_TRY_CC_OPTION.
70121         (libc_cv_as_i686): Likewise.
70122         (libc_cv_cc_avx): Likewise.
70123         (libc_cv_cc_sse2avx): Likewise.
70124         (libc_cv_cc_fma4): Likewise.
70125         (libc_cv_cc_novzeroupper): Likewise.
70126         * sysdeps/i386/configure: Regenerated.
70128         [BZ #13883]
70129         * sysdeps/i386/fpu/s_cexp.S: Remove.
70130         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70131         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70132         * math/libm-test.inc (cexp_test): Add more tests.
70133         * sysdeps/i386/fpu/libm-test-ulps: Update.
70134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70136 2012-03-21  Allan McRae  <allan@archlinux.org>
70138         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70140 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70142         [BZ #13871]
70143         * math/w_exp2.c: Do not include <float.h>.
70144         (o_threshold, u_threshold): Remove.
70145         (__exp2): Calculate result before checking finiteness and calling
70146         __kernel_standard.
70147         * math/w_exp2f.c: Likewise.
70148         * math/w_exp2l.c: Likewise.
70149         * math/libm-test.inc (exp2_test): Require overflow exception for
70150         1e6 input.
70152         [BZ #3866]
70153         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70154         range of signed 64-bit integers before using fistpll.  Remove
70155         checks for whether integers fit in mantissa bits.
70156         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70157         the range of signed 32-bit integers before using fistpl.  Remove
70158         checks for whether integers fit in mantissa bits.
70159         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70160         (__ieee754_powl): Test for y outside the range of signed 64-bit
70161         integers before using fistpll.  Reduce 64-bit values to 63-bit
70162         ones as needed.
70163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70164         divide-by-zero is raised for zero to large negative powers.
70165         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70166         (__ieee754_powl): Test for y outside the range of signed 64-bit
70167         integers before using fistpll.  Reduce 64-bit values to 63-bit
70168         ones as needed.
70169         * math/libm-test.inc (pow_test): Add more tests.
70171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70173         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70174         <stdio-common/_itoa.h>.
70175         * debug/segfault.c: Likewise.
70176         * elf/dl-cache.c: Likewise.
70177         * elf/dl-minimal.c: Likewise.
70178         * elf/dl-misc.c: Likewise.
70179         * elf/dl-sysdep.c: Likewise.
70180         * elf/dl-version.c: Likewise.
70181         * elf/rtld.c: Likewise.
70182         * hurd/hurdsock.c: Likewise.
70183         * hurd/lookup-retry.c: Likewise.
70184         * malloc/malloc.c: Likewise.
70185         * malloc/mtrace.c: Likewise.
70186         * nscd/nscd_getgr_r.c: Likewise.
70187         * nscd/nscd_getpw_r.c: Likewise.
70188         * nscd/nscd_getserv_r.c: Likewise.
70189         * posix/getopt_init.c: Likewise.
70190         * posix/wordexp.c: Likewise.
70191         * stdio-common/_itoa.c: Likewise.
70192         * stdio-common/printf_fphex.c: Likewise.
70193         * stdio-common/vfprintf.c: Likewise.
70194         * string/_strerror.c: Likewise.
70195         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70196         * sysdeps/i386/i686/hp-timing.h: Likewise.
70197         * sysdeps/mach/_strerror.c: Likewise.
70198         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70199         * sysdeps/mach/hurd/sethostid.c: Likewise.
70200         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70201         * sysdeps/mach/xpg-strerror.c: Likewise.
70202         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70203         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70204         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70205         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70206         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70207         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70208         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70209         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70210         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70211         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70212         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70213         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70214         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70215         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70216         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70217         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70218         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70219         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70220         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70221         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70222         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70224         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70226         * stdio-common/_itoa.h: Moved to ...
70227         * sysdeps/generic/_itoa.h: Here.
70229         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70231         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70232         instead of "_itoa.h" and "_itowa.h".
70233         * stdio-common/vfprintf.: Likewise.
70235 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70237         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70238         <bits/wordsize.h>.
70239         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70240         (__signbit): Likwise.
70241         (llrintf): Likwise.
70242         (llrint): Likwise.
70244 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70246         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70247         __WORDSIZE != 64.
70249 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70251         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70252         OVERFLOW_EXCEPTION_OK.
70253         * math/libm-test.inc ("Philosophy"): Update comment about
70254         exception testing.
70255         (OVERFLOW_EXCEPTION): Define.
70256         (OVERFLOW_EXCEPTION_OK): Likewise.
70257         (INVALID_EXCEPTION_OK): Renumber.
70258         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70259         (IGNORE_ZERO_INF_SIGN): Likewise.
70260         (test_exceptions): Handle FE_OVERFLOW.
70261         (exp10_test): Expect overflow exceptions.
70262         (exp2_test): Likewise.
70263         (expm1_test): Likewise.
70264         (nextafter_test): Likewise.
70265         (pow_test): Likewise.
70266         (scalbn_test): Likewise.
70267         (scalbln_test): Likewise.
70269 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70271         * sysdeps/x86_64/bits/atomic.h
70272         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70273         64bit integer.
70274         (atomic_exchange_acq): Likewise.
70275         (__arch_exchange_and_add_body): Likewise.
70276         (__arch_add_body): Likewise.
70277         (atomic_add_negative): Likewise.
70278         (atomic_add_zero): Likewise.
70280 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70282         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70283         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70285 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70287         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70288         Check __x86_64__ instead of __WORDSIZE.
70290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70292         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70294 2012-03-19  David S. Miller  <davem@davemloft.net>
70296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70298         * sysdeps/sparc/fpu/fenv_private.h: New file.
70299         * sysdeps/sparc/fpu/math_private.h: Use it.
70300         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70301         Remove.
70302         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70303         (libc_feholdexcept_setroundl): Remove.
70304         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70305         Remove.
70306         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70307         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70309 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70311         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70312         int64_t instead of long int.
70313         (INSERT_WORDS64): Likwise.
70315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70317         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70318         _Unwind_GetCFA return to _Unwind_Ptr first.
70320 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70322         [BZ #13629]
70323         * math/s_clog.c: Include <float.h>.
70324         (__clog): Scale large or subnormal inputs.
70325         * math/s_clogf.c: Likewise.
70326         * math/s_clogl.c: Likewise.
70327         * math/s_clog10.c: Include <float.h>.
70328         (M_LOG10_2): Define.
70329         (__clog10): Scale large or subnormal inputs.
70330         * math/s_clog10f.c: Likewise.
70331         * math/s_clog10l.c: Likewise.
70332         * math/libm-test.inc (clog_test): Add more tests.
70333         (clog10_test): Likewise.
70334         * sysdeps/i386/fpu/libm-test-ulps: Update.
70335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70337         [BZ #11451]
70338         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70339         x and y.
70340         * math/libm-test.inc (atan2_test): Add another test.
70342         * Makerules (common-objdir-compile): Remove.
70343         * sysdeps/unix/Makefile (config-generated): Do not add
70344         $(unix-generated) to variable.
70345         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70346         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70347         Remove rule.
70348         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70349         Likewise.
70350         [generic bits/local_lim.h] (before-compile): Do not append to
70351         variable.
70352         [generic bits/local_lim.h] (common-generated): Likewise.
70353         [generic sys/param.h] (before-compile): Do not append to variable.
70354         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70355         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70356         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70357         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70358         include.
70359         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70360         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70361         [generic sys/param.h] ($(addprefix
70362         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70363         [generic sys/param.h] (common-generated): Do not append to
70364         variable.
70365         [generic sys/param.h] (sysdep_headers): Likewise.
70366         [generic bits/errno.h] (before-compile): Do not append to
70367         variable.
70368         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70369         rule.
70370         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70371         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70372         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70373         [generic bits/errno.h] (common-generated): Do not append to
70374         variable.
70375         [generic bits/ioctls.h] (before-compile): Do not append to
70376         variable.
70377         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70378         rule.
70379         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70380         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70381         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70382         rule.
70383         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70384         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70385         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70386         [generic bits/ioctls.h] (common-generated): Do not append to
70387         variable.
70388         [generic sys/syscall.h] (syscall.h): Remove variable.
70389         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70390         rule.
70391         [generic sys/syscall.h] (before-compile): Do not append to
70392         variable.
70393         [generic sys/syscall.h] (common-generated): Likewise.
70394         * sysdeps/unix/errnos-tmpl.c: Remove file.
70395         * sysdeps/unix/errnos.awk: Likewise.
70396         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70397         * sysdeps/unix/ioctls.awk: Likewise.
70398         * sysdeps/unix/mk-local_lim.c: Likewise.
70399         * sysdeps/unix/snarf-ioctls: Likewise.
70401 2012-03-19  Richard Henderson  <rth@twiddle.net>
70403         * sysdeps/i386/fpu/fenv_private.h: New file.
70404         * sysdeps/i386/fpu/math_private.h: Use it.
70405         (math_opt_barrier, math_force_eval): Remove.
70406         (libc_feholdexcept_setround_53bit): Remove.
70407         (libc_feupdateenv_53bit): Remove.
70408         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70409         (math_opt_barrier, math_force_eval): Remove.
70410         (libc_feholdexcept): Remove.
70411         (libc_feholdexcept_setround): Remove.
70412         (libc_fetestexcept, libc_fesetenv): Remove.
70413         (libc_feupdateenv_test): Remove.
70414         (libc_feupdateenv, libc_feholdsetround): Remove.
70415         (libc_feresetround): Remove.
70417         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70418         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70420         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70421         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70422         (libc_feupdateenv_testl): New.
70423         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70424         (libc_feupdateenv_testf): New.
70425         (libc_feupdateenv): Use libc_feupdateenv_test.
70426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70427         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70429         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70430         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70431         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70432         (libc_feresetround_noex): New.
70433         (libc_feresetround_noexf): New.
70434         (libc_feresetround_noexl): New.
70435         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70436         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70437         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70438         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70439         SET_RESTORE_ROUND.
70440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70442         (__cos): Likewise.
70443         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70444         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70445         SET_RESTORE_ROUND_NOEX.
70446         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70447         SET_RESTORE_ROUND_NOEXF.
70448         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70449         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70450         (libc_feholdsetroundf): New.
70451         (libc_feresetround, libc_feresetroundf): New.
70453         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70454         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70455         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70457         * sysdeps/generic/math_private.h: Include <fenv.h>.
70458         (default_libc_feholdexcept): New.
70459         (default_libc_feholdexcept_setround): New.
70460         (default_libc_fesetenv, default_libc_feupdateenv): New.
70461         (libc_feholdexcept): Only define if undefined.
70462         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70463         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70464         (libc_feholdexcept_setroundl): Likewise.
70465         (libc_feholdexcept_setround_53bit): Likewise.
70466         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70467         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70468         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70469         (libc_feupdateenv_53bit): Likewise.
70470         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70471         (libc_feholdexcept): Convert from macro to inline function.
70472         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70473         (libc_fesetenv, libc_feupdateenv): Likewise.
70475         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70476         not previously defined.
70477         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70478         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70479         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70480         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70481         * sysdeps/ieee754/flt-32/math_private.h: New file.
70482         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70483         math_private.h below SET_FLOAT_WORD.
70484         (__isnan, __isinf_ns, __finite): Remove.
70485         (__isnanf, __isinf_nsf, __finitef): Remove.
70487 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70491 2012-03-17  David S. Miller  <davem@davemloft.net>
70493         [BZ #6471]
70494         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70495         for 2.16.
70497 2012-03-16  David S. Miller  <davem@davemloft.net>
70499         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70500         warnings.
70502         [BZ #6471]
70503         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70504         properly.
70505         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70506         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70507         sysdep_routines when subdir is sysvipc.
70508         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70509         __getshmlba helper.
70511         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70513 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70515         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70516         [__LP64__].
70518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70520         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70521         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70522         (__lround): Renamed to ...
70523         (__llround): This.  Replace long int with long long int.
70524         Define lround functions as aliases of llround functions.
70525         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70527 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70529         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70530         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70531         adresses to uintptr_t.  Replace "long int" and "unsigned long
70532         int" with "greg_t" on va_arg.
70534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70536         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70537         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70539         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70540         Move e_machine check before EI_CLASS check.  Handle x32
70541         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70542         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70543         SKIP_EM_IA_64 and include
70544         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70546         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70547         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70548         (add_system_dir): New macro.
70550         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70551         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70553 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70555         [BZ #2551]
70556         [BZ #2552]
70557         [BZ #2553]
70558         [BZ #2554]
70559         [BZ #2562]
70560         [BZ #2563]
70561         [BZ #2565]
70562         [BZ #2566]
70563         [BZ #2576]
70564         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70565         (y0): Likewise.
70566         * math/w_j0f.c (j0f): Likewise.
70567         (y0f): Likewise.
70568         * math/w_j0l.c (__j0l): Likewise.
70569         (__y0l): Likewise.
70570         * math/w_j1.c (j1): Likewise.
70571         (y1): Likewise.
70572         * math/w_j1f.c (j1f): Likewise.
70573         (y1f): Likewise.
70574         * math/w_j1l.c (__j1l): Likewise.
70575         (__y1l): Likewise.
70576         * math/w_jn.c (jn): Likewise.
70577         (yn): Likewise.
70578         * math/w_jnf.c (jnf): Likewise.
70579         (ynf): Likewise.
70580         * math/w_jnl.c (__jnl): Likewise.
70581         (__ynl): Likewise.
70582         * math/libm-test.inc (j0_test): Add more tests.
70583         (j1_test): Likewise.
70584         (jn_test): Likewise.  Add trailing semicolon to existing test.
70585         (y0_test): Likewise.
70586         (y1_test): Likewise.
70587         * sysdeps/i386/fpu/libm-test-ulps: Update.
70588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70590         [BZ #13851]
70591         [BZ #13854]
70592         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70593         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70594         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70595         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70596         (__tanl): Set errno for infinite argument.
70597         * sysdeps/i386/fpu/mptan.c: Remove.
70598         * sysdeps/i386/fpu/s_tan.S: Likewise.
70599         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70600         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70601         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70602         * math/libm-test.inc (tan_test): Add more tests and enable more
70603         tests for double and long double.
70604         * sysdeps/i386/fpu/libm-test-ulps: Update.
70605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70607 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70609         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70610         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70612 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70614         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70615         * configure.in: Use it for both main tree and add-ons.
70616         * configure: Regenerated.
70618 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70620         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70622 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70624         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70625         in comment.
70627         [BZ #13851]
70628         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70629         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70632         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70633         infinite argument.
70634         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70635         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70636         != 0 for prec == 2.
70637         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70638         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70639         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70640         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70641         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70642         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70643         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70644         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70645         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70646         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70647         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70648         * math/libm-test.inc (cos_test): Add more tests and enable more
70649         tests for long double.
70650         (sin_test): Likewise.
70651         (sincos_test): Likewise.
70652         * sysdeps/i386/fpu/libm-test-ulps: Update.
70653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70655 2012-03-16  David S. Miller  <davem@davemloft.net>
70657         * sysdeps/sparc/fpu/math_private.h: New file.
70659 2012-03-15  David S. Miller  <davem@davemloft.net>
70661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70662         file.
70663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70665         file.
70666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70671         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70672         sysdep routines.
70673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70675         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70676         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70678         * sysdeps/sparc/sparc-ifunc.h: New file.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70680         sparc-ifunc.h
70681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70683         Likewise.
70684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70685         Likewise.
70686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70690         Likewise.
70691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70696         Likewise.
70697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70698         Likewise.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70706         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70717         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70719         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70720         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70721         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70722         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70724 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70726         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70727         scaling.
70728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70730 2012-03-15  Andreas Jaeger  <aj@suse.de>
70732         [BZ #13852]
70733         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70734         ieee754/flt-32 implementation for sin, cos and sincos.
70735         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70736         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70737         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70738         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70739         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70740         ieee754/flt-32 implementation for tan.
70742         * math/libm-test.inc (cos_test): Enable some large input tests for
70743         float as well
70744         (sin_test): Likewise.
70745         (sincos_test): Likewise.
70746         (tan_test): Add tests for large input.
70748         * sysdeps/i386/fpu/libm-test-ulps: Update.
70750 2012-03-15  Andreas Jaeger  <aj@suse.de>
70752         [BZ #13658]
70753         * math/libm-test.inc (cos_test): Add more test cases.
70754         (sin_test): Likewise.
70755         (sincos_test): Likewise.
70757 2012-03-15  Andreas Jaeger  <aj@suse.de>
70759         [BZ #13837]
70760         * math/libm-test.inc (cos_test): Add a test case for large input
70761         value.
70762         (sin_test): Likewise.
70763         (sincos_test): Likewise.
70765 2012-03-15  Andreas Jaeger  <aj@suse.de>
70766             Joseph Myers  <joseph@codesourcery.com>
70768         [BZ #13658]
70769         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70770         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70771         * sysdeps/i386/fpu/branred.c: Likewise.
70772         * sysdeps/i386/fpu/dosincos.c: Likewise.
70773         * sysdeps/i386/fpu/mpa.c: Likewise.
70774         * sysdeps/i386/fpu/s_cos.S: Likewise.
70775         * sysdeps/i386/fpu/s_sin.S: Likewise.
70776         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70777         * sysdeps/i386/fpu/sincos32.c: Likewise.
70779         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70780         Define.
70781         (libc_feupdateenv_53bit): Define.
70782         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70783         Define.
70784         (libc_feupdateenv_53bit): Define.
70786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70787         53 bit (without extend i386 double precision).
70789         * math/libm-test.inc (sincos_test): Add tests for large input.
70790         (sin): Likewise.
70791         (cos): Likewise.
70793         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70795 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70799 2012-03-15  David S. Miller  <davem@davemloft.net>
70801         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70802         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70803         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70804         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70817         file.
70818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70820         file.
70821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70823         file.
70824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70826         file.
70827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70828         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70829         fmin/fmax sysdep routines.
70830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70832 2012-03-14  David S. Miller  <davem@davemloft.net>
70834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70838         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70839         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70840         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70841         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70849         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70854         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70855         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70856         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70857         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70858         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70859         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70860         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70861         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70863         routines.
70864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70865         file.
70866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70868         file.
70869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70871         file.
70872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70874         file.
70875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70877         file.
70878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70880         file.
70881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70882         file.
70883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70884         file.
70885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70886         file.
70887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70888         New file.
70889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70890         file.
70891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70892         file.
70893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70895         file.
70896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70898         file.
70899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70901         file.
70902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70904         VIS3 routines.
70906         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70907         New file.
70909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70911         * sysdeps/sparc/configure.in: New file.
70912         * sysdeps/sparc/configure: Generate.
70913         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70914         * configure: Regenerate.
70915         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70916         * config.make.in (have-as-vis3): New.
70917         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70918         available use -Av9d instead of -Av9a.
70919         * sysdeps/sparc/sparc64/Makefile: Likewise.
70920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70922         New file.
70923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70924         file.
70925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70926         New file.
70927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70928         file.
70929         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70930         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70931         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70932         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70933         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70935         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70936         fzeros/fnegs to load 0x80000000 into a float register instead of
70937         using the stack.
70938         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70940 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70942         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70943         bits/syscall.h.
70944         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70945         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70946         ($(inst_includedir)/bits/syscall.h): Remove rule.
70947         ($(objpfx)bits/syscall.d): Include instead of
70948         $(objpfx)syscall-list.d.
70949         (generated): Change syscall-list.h and syscall-list.d to
70950         bits/syscall.h and bits/syscall.d.
70952 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70954         [BZ #13846]
70955         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70957 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70959         [BZ #13841]
70960         * math/s_csqrt.c: Include <float.h>.
70961         (__csqrt): Scale large or subnormal inputs.
70962         * math/s_csqrtf.c: Likewise.
70963         * math/s_csqrtl.c: Likewise.
70964         * math/libm-test.inc (csqrt_test): Add more tests.
70965         * sysdeps/i386/fpu/libm-test-ulps: Update.
70966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70968         [BZ #13840]
70969         * math/libm-test.inc (hypot_test): Add more tests.
70971 2012-03-13  David S. Miller  <davem@davemloft.net>
70973         [BZ #13840]
70974         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70975         double-precision for the calculation instead of scaling.
70977 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70979         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70980         manipulate bits before adding and subtracting TWO52[sx].
70981         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70982         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70983         Likewise.
70984         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70986 2012-03-13  David S. Miller  <davem@davemloft.net>
70988         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70989         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70991         rtld-global-offsets.h
70992         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70994         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70995         large parameters.
70997         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70999         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71000         'err' in the ifdef scope in which it is actually used.
71002         * nss/nss_db/db-init.c: Include string.h
71004 2012-03-12  David S. Miller  <davem@davemloft.net>
71006         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71007         masking out of the most significant byte of random value used.
71008         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71009         Fix coding style in previous change.
71011         * sysdeps/unix/sysv/linux/kernel-features.h
71012         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71013         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71014         expression.
71015         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71016         later.
71018 2012-03-11  David S. Miller  <davem@davemloft.net>
71020         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71021         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71022         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71023         for 'resultvar' otherwise things get truncated on 64-bit.
71025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71026         Fix masking out of the most significant byte of random value used.
71028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71030 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71034 2012-03-09  David S. Miller  <davem@davemloft.net>
71036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71037         variables with appropriate CPP guards.
71038         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71039         from the frame pointer, not the stack pointer.  Correct layout
71040         comments.  Fix test on resulting framesize and the management of
71041         the outregs buffer for pltexit.  Preserve floating point return
71042         values across _dl_call_pltexit call.
71043         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71044         framesize and the management of the outregs buffer for pltexit.
71045         Preserve floating point return values across _dl_call_pltexit
71046         call.
71047         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71048         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71049         (la_sparc64_gnu_pltexit): New functions.
71050         (print_exit): Fix format string for return register value.
71052 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71054         * sunrpc/Makefile (others): Add rpcgen.
71055         ($(objpfx)rpcgen): Remove special build rule and dependency on
71056         libc.
71057         * sunrpc/rpcgen.c: New file.
71059 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71061         [BZ #13673]
71062         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71063         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71064         * sysdeps/i386/crti.S: Likewise.
71065         * sysdeps/i386/crtn.S: Likewise.
71066         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71067         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71068         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71069         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71070         * sysdeps/sh/crti.S: Likewise.
71071         * sysdeps/sh/crtn.S: Likewise.
71072         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71074         [BZ #13673]
71075         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71076         with URL.
71077         * locale/programs/locfile-kw.gperf: Likewise.
71078         * locale/programs/charmap-kw.h: Regenerated.
71079         * locale/programs/locfile-kw.h: Likewise.
71081         [BZ #13673]
71082         * intl/plural.y: Replace FSF snail mail address with URL.
71083         * intl/plural.c: Regenerated.
71085 2012-03-09  Richard Henderson  <rth@twiddle.net>
71087         * include/math_private.h: Remove file.
71088         * math/math_private.h: Move file ...
71089         * sysdeps/generic/math_private.h: ... here.
71091         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71092         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71093         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71095         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71096         and <math_private.h>.
71097         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71098         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71099         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71100         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71101         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71102         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71103         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71105         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71106         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71107         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71108         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71109         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71110         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71111         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71112         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71113         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71114         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71115         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71116         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71118         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71119         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71133         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71134         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71135         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71136         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71137         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71138         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71139         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71140         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71141         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71142         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71143         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71144         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71145         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71146         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71147         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71148         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71149         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71150         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71151         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71152         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71153         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71154         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71155         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71156         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71160         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71161         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71162         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71163         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71164         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71165         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71166         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71167         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71168         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71169         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71170         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71171         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71172         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71173         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71175         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71176         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71177         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71178         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71180         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71182         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71183         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71184         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71185         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71186         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71187         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71188         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71189         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71190         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71191         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71192         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71193         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71194         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71195         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71196         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71197         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71198         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71199         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71200         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71201         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71202         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71203         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71204         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71205         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71207         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71208         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71209         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71210         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71211         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71212         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71213         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71214         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71215         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71216         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71217         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71218         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71219         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71220         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71221         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71222         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71223         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71224         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71225         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71226         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71227         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71228         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71229         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71230         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71231         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71232         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71233         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71234         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71235         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71236         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71237         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71238         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71239         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71240         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71241         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71242         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71243         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71244         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71245         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71246         * sysdeps/ieee754/k_standard.c: Likewise.
71247         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71248         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71249         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71250         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71251         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71252         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71253         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71254         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71255         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71256         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71257         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71258         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71259         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71260         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71261         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71262         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71263         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71264         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71265         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71266         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71267         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71270         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71272         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71273         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71274         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71277         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71278         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71279         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71280         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71282         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71283         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71284         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71286         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71287         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71288         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71289         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71290         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71291         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71292         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71293         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71294         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71295         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71296         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71297         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71298         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71299         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71300         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71301         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71302         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71303         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71304         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71305         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71306         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71307         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71308         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71309         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71310         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71313         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71314         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71316         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71317         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71318         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71319         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71320         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71321         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71323         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71324         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71326         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71327         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71328         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71329         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71330         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71331         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71332         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71333         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71334         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71335         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71337         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71338         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71339         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71340         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71341         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71342         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71343         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71348         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71349         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71350         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71351         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71352         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71353         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71354         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71355         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71356         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71357         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71358         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71359         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71360         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71361         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71362         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71363         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71364         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71365         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71366         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71368         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71369         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71370         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71371         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71372         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71373         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71374         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71375         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71376         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71377         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71378         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71379         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71380         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71381         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71382         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71383         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71384         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71385         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71386         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71387         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71388         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71389         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71390         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71391         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71392         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71393         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71394         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71395         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71396         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71397         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71398         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71399         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71400         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71401         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71402         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71403         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71404         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71405         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71406         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71407         * sysdeps/ieee754/s_lib_version.c: Likewise.
71408         * sysdeps/ieee754/s_matherr.c: Likewise.
71409         * sysdeps/ieee754/s_signgam.c: Likewise.
71410         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71411         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71412         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71413         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71414         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71415         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71416         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71417         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71418         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71419         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71420         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71421         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71422         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71423         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71424         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71425         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71426         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71427         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71428         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71429         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71430         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71432 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71434         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71435         * sunrpc/rpc_main.c: Likewise.
71436         * sunrpc/rpc_svcout.c: Likewise.
71438 2012-03-09  David S. Miller  <davem@davemloft.net>
71440         * include/math_private.h: New file.
71442 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71444         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71445         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71446         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71447         from <bits/socket_type.h>.
71448         (enum __socket_type): Don't define here.
71449         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71451         bits/socket_type.h.
71453         [BZ #13566]
71454         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71455         checking __USE_GNU.
71457         * Makerules ($(inst_includedir)/%.h): New rule.
71458         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71459         (install-others): Remove variable setting.
71460         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71462 2012-03-08  Richard Henderson  <rth@twiddle.net>
71464         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71465         from macro to inline function; merge with the
71466         !__LIBC_INTERNAL_MATH_INLINES version.
71467         (__ieee754_sqrtf): Likewise.
71469         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71470         to inline function.
71471         (__rintf, __floor, __floorf): Likewise.
71473         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71474         macro to inline function.
71475         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71477         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71478         not <math/math_private.h>.
71480 2012-03-08  David S. Miller  <davem@davemloft.net>
71482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71483         copyright year.
71484         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71486 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71488         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71489         normalization.
71490         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71491         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71493 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71495         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71496         be defined individually, they must be defined as a block.  Define
71497         S for printing a string instead of hidint the different by using a
71498         macro for adding the 'l'.
71499         * stdio-common/tst-fphex-wide.c: Adjust.
71501 2012-03-07  Marek Polacek  <polacek@redhat.com>
71503         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71505 2012-03-08  Marek Polacek  <polacek@redhat.com>
71507         [BZ #13806]
71508         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71509         * stdio-common/tst-fphex.c: Define a few macros to make the
71510         test reusable.  Use them.
71511         * stdio-common/tst-fphex-wide.c: New file.
71513 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71515         [BZ #6911]
71516         * manual/macros.texi (gnusystems): New macro.
71517         (nongnusystems): Likewise.
71518         (gnulinuxhurdsystems): Likewise.
71519         (gnuhurdsystems): Likewise..
71520         (gnulinuxsystems): Likewise.
71521         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71522         variants of the GNU system, not "GNU system".
71523         * manual/conf.texi: Likewise.
71524         * manual/errno.texi: Likewise.  Update example of errno macro
71525         expansion.
71526         * manual/filesys.texi: Likewise.
71527         (getumask): Document as specific to GNU/Hurd.
71528         * manual/install.texi: Likewise.  Reword some references to
71529         GNU/Linux.
71530         * manual/intro.texi: Likewise.
71531         * manual/io.texi: Likewise.
71532         (File Name Portability): Detail which constraints are inapplicable
71533         to all GNU systems and which are only inapplicable to GNU/Hurd.
71534         * manual/job.texi: Likewise.
71535         * manual/llio.texi: Likewise.
71536         (O_NOCTTY): Document as present on GNU/Linux.
71537         * manual/maint.texi: Likewise.
71538         * manual/memory.texi: Likewise.
71539         * manual/pattern.texi: Likewise.
71540         * manual/pipe.texi: Likewise.
71541         * manual/process.texi: Likewise.
71542         * manual/resource.texi: Likewise.
71543         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71544         child on GNU/Hurd.
71545         * manual/setjmp.texi: Likewise.
71546         * manual/signal.texi: Likewise.
71547         * manual/startup.texi: Likewise.
71548         * manual/stdio.texi: Likewise.
71549         * manual/terminal.texi: Likewise.
71550         (ONLCR): Document as POSIX.
71551         (OXTABS): Document availability on GNU/Linux as XTABS.
71552         (ONOEOT): Document availability separately from other bits.
71553         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71554         * manual/time.texi: Likewise.
71555         * manual/users.texi: Likewise.
71556         * INSTALL: Regenerated.
71557         * sysdeps/gnu/errlist.c: Regenerated.
71559         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71560         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71561         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71562         puts.
71563         * configure: Regenerated.
71565 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71567         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71568         default includes instead of AC_HEADER_CHECK.
71569         * sysdeps/i386/configure: Regenerated.
71571         [BZ #10716]
71572         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71573         * math/s_cacoshf.c (__cacoshf): Likewise.
71574         * math/s_cacoshl.c (__cacoshl): Likewise.
71575         * math/s_casinh.c (__casinh): Set signs of result from argument.
71576         * math/s_casinhf.c (__casinhf): Likewise.
71577         * math/s_casinhl.c (__casinhl): Likewise.
71578         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71579         (casinh_test): Add more tests.
71580         * sysdeps/i386/fpu/libm-test-ulps: Update.
71581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71583 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71585         * po/zh_TW.po: Update from translation team.
71587         * login/Makefile (distribute): Remove variable.
71588         * catgets/Makefile: Likewise.
71589         * mach/Makefile: Likewise.
71590         * malloc/Makefile: Likewise.
71591         * misc/Makefile: Likewise.
71592         * iconv/Makefile: Likewise.
71593         * nscd/Makefile: Likewise.
71594         * hurd/Makefile: Likewise.
71595         * manual/Makefile: Likewise.
71596         * locale/Makefile: Likewise.
71597         * intl/Makefile: Likewise.
71598         * conform/Makefile: Likewise.
71599         * nss/Makefile: Likewise.
71600         * time/Makefile: Likewise.
71601         * soft-fp/Makefile: Likewise.
71602         * dirent/Makefile: Likewise.
71603         * gmon/Makefile: Likewise.
71604         * po/Makefile: Likewise.
71605         * rt/Makefile: Likewise.
71606         * socket/Makefile: Likewise.
71607         * math/Makefile: Likewise.
71608         * signal/Makefile: Likewise.
71609         * debug/Makefile: Likewise.
71610         * elf/Makefile: Likewise.
71611         * timezone/Makefile: Likewise.
71612         * stdlib/Makefile: Likewise.
71613         * iconvdata/Makefile: Likewise.
71614         * sunrpc/Makefile: Likewise.
71615         * io/Makefile: Likewise.
71616         * argp/Makefile: Likewise.
71617         * inet/Makefile: Likewise.
71618         * hesiod/Makefile: Likewise.
71619         * grp/Makefile: Likewise.
71620         * csu/Makefile: Likewise.
71621         * wctype/Makefile: Likewise.
71622         * crypt/Makefile: Likewise.
71623         * libio/Makefile: Likewise.
71624         * string/Makefile: Likewise.
71625         * nis/Makefile: Likewise.
71626         * resolv/Makefile: Likewise.
71627         * stdio-common/Makefile: Likewise.
71628         * wcsmbs/Makefile: Likewise.
71629         * dlfcn/Makefile: Likewise.
71630         * posix/Makefile: Likewise.
71632         [BZ #6959]
71633         * timezone/Makefile: Don't install timezone files, just the programs
71634         and scripts.
71636 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71638         * nss/databases.def: Add missing gshadow entry.
71640         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71642 2012-03-06  Marek Polacek  <polacek@redhat.com>
71644         [BZ #13726]
71645         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71646         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71647         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71648         * stdio-common/tst-long-dbl-fphex.c: New file.
71650 2012-03-06  David S. Miller  <davem@davemloft.net>
71652         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71653         (set_obp_int): New function.
71654         (get_obp_int): New function.
71655         (__get_clockfreq_via_dev_openprom): Likewise.
71656         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71657         Avoid unused variable warnings on 'val' and use builtin_expect.
71658         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71659         __builtin_expect.
71660         (INLINE_CLONE_SYSCALL): Likewise.
71662 2012-03-05  David S. Miller  <davem@davemloft.net>
71664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71666 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71670         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71671         only for |x| >= 40.
71672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71674 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71677         Replace gettimeofday with __vdso_gettimeofday.
71679         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71680         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71681         __vdso_clock_gettime and __vdso_getcpu.
71683         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71684         time with __vdso_time.
71686 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71688         * manual/lang.texi (size_t): Note types to which size_t may be
71689         equivalent with the GNU C Library, but do not describe when
71690         differences between them are significant.
71692 2012-03-05  Andreas Jaeger  <aj@suse.de>
71694         * sysdeps/i386/fpu/libm-test-ulps: Update.
71696 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71698         [BZ #3976]
71699         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71700         (__ieee754_pow): Save and restore rounding mode and use
71701         round-to-nearest for main computations.
71702         * math/libm-test.inc (pow_test_tonearest): New function.
71703         (pow_test_towardzero): Likewise.
71704         (pow_test_downward): Likewise.
71705         (pow_test_upward): Likewise.
71706         (main): Call the new functions.
71707         * sysdeps/i386/fpu/libm-test-ulps: Update.
71708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71710         [BZ #3976]
71711         * math/libm-test.inc (cosh_test_tonearest): New function.
71712         (cosh_test_towardzero): Likewise.
71713         (cosh_test_downward): Likewise.
71714         (cosh_test_upward): Likewise.
71715         (sinh_test_tonearest): Likewise.
71716         (sinh_test_towardzero): Likewise.
71717         (sinh_test_downward): Likewise.
71718         (sinh_test_upward): Likewise.
71719         (main): Call the new functions.
71720         * sysdeps/i386/fpu/libm-test-ulps: Update.
71721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71723 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71725         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71726         default stack guard is set in last bytes.
71727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71729 2012-03-05  Kees Cook  <keescook@chromium.org>
71731         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71733         [BZ #13656]
71734         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71735         possibly allocate from heap instead of stack.
71736         * stdio-common/bug-vfprintf-nargs.c: New file.
71737         * stdio-common/Makefile (tests): Add nargs overflow test.
71739 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71743 2012-03-03  Marek Polacek  <polacek@redhat.com>
71745         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71746         * math/math_private.h: Likewise.
71747         * stdlib/tst-strtod.c: Likewise.
71748         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71749         * sysdeps/x86_64/bits/atomic.h: Likewise.
71751 2012-03-02  David S. Miller  <davem@davemloft.net>
71753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71757         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71758         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71759         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71760         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71762 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71764         [BZ #13792]
71765         * manual/examples/README: New file, says the example source files
71766         can be used under GPL>=2.
71767         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71768         line containing just "*/".
71769         * manual/examples/add.c: Add copyright header (GPL>=2).
71770         * manual/examples/argp-ex1.c: Likewise.
71771         * manual/examples/argp-ex2.c: Likewise.
71772         * manual/examples/argp-ex3.c: Likewise.
71773         * manual/examples/argp-ex4.c: Likewise.
71774         * manual/examples/atexit.c: Likewise.
71775         * manual/examples/db.c: Likewise.
71776         * manual/examples/dir.c: Likewise.
71777         * manual/examples/dir2.c: Likewise.
71778         * manual/examples/execinfo.c: Likewise.
71779         * manual/examples/filecli.c: Likewise.
71780         * manual/examples/filesrv.c: Likewise.
71781         * manual/examples/fmtmsgexpl.c: Likewise.
71782         * manual/examples/genpass.c: Likewise.
71783         * manual/examples/inetcli.c: Likewise.
71784         * manual/examples/inetsrv.c: Likewise.
71785         * manual/examples/isockad.c: Likewise.
71786         * manual/examples/longopt.c: Likewise.
71787         * manual/examples/memopen.c: Likewise.
71788         * manual/examples/memstrm.c: Likewise.
71789         * manual/examples/mkfsock.c: Likewise.
71790         * manual/examples/mkisock.c: Likewise.
71791         * manual/examples/mygetpass.c: Likewise.
71792         * manual/examples/pipe.c: Likewise.
71793         * manual/examples/popen.c: Likewise.
71794         * manual/examples/rprintf.c: Likewise.
71795         * manual/examples/search.c: Likewise.
71796         * manual/examples/select.c: Likewise.
71797         * manual/examples/setjmp.c: Likewise.
71798         * manual/examples/sigh1.c: Likewise.
71799         * manual/examples/sigusr.c: Likewise.
71800         * manual/examples/stpcpy.c: Likewise.
71801         * manual/examples/strdupa.c: Likewise.
71802         * manual/examples/strftim.c: Likewise.
71803         * manual/examples/strncat.c: Likewise.
71804         * manual/examples/subopt.c: Likewise.
71805         * manual/examples/swapcontext.c: Likewise.
71806         * manual/examples/termios.c: Likewise.
71807         * manual/examples/testopt.c: Likewise.
71808         * manual/examples/testpass.c: Likewise.
71809         * manual/examples/timeval_subtract.c: Likewise.
71811         [BZ #13792]
71812         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71813         function to ...
71814         * manual/timeval_subtract.c.texi: ... here, new file.
71816 2012-03-02  David S. Miller  <davem@davemloft.net>
71818         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71820 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71822         [BZ #3976]
71823         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71824         (__sin): Save and restore rounding mode and use round-to-nearest
71825         for all computations.
71826         (__cos): Save and restore rounding mode and use round-to-nearest
71827         for all computations.
71828         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71829         <fenv.h>.
71830         (tan): Save and restore rounding mode and use round-to-nearest for
71831         all computations.
71832         * math/libm-test.inc (cos_test_tonearest): New function.
71833         (cos_test_towardzero): Likewise.
71834         (cos_test_downward): Likewise.
71835         (cos_test_upward): Likewise.
71836         (sin_test_tonearest): Likewise.
71837         (sin_test_towardzero): Likewise.
71838         (sin_test_downward): Likewise.
71839         (sin_test_upward): Likewise.
71840         (tan_test_tonearest): Likewise.
71841         (tan_test_towardzero): Likewise.
71842         (tan_test_downward): Likewise.
71843         (tan_test_upward): Likewise.
71844         (main): Call the new functions.
71845         * sysdeps/i386/fpu/libm-test-ulps: Update.
71846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71848         [BZ #10135]
71849         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71850         small n, then large n, before computing and testing k+n.
71851         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71853         Likewise.
71854         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71855         Likewise.
71856         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71857         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71858         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71859         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71860         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71861         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71862         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71863         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71864         * math/libm-test.inc (scalbn_test): Add more tests.
71865         (scalbln_test): Likewise.
71867         * manual/filesys.texi (mode_t): Describe constraints on size and
71868         signedness, not exact equivalence to a particular type.
71869         (ino_t): Likewise.
71870         (ino64_t): Likewise.
71871         (dev_t): Likewise.
71872         (nlink_t): Likewise.
71873         (blkcnt_t): Likewise.
71874         (blkcnt64_t): Likewise.
71875         * manual/llio.texi (off_t): Likewise.
71877         [BZ #3976]
71878         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71879         (__ieee754_exp): Save and restore rounding mode and use
71880         round-to-nearest for all computations.
71881         * math/libm-test.inc (exp_test_tonearest): New function.
71882         (exp_test_towardzero): Likewise.
71883         (exp_test_downward): Likewise.
71884         (exp_test_upward): Likewise.
71885         (main): Call the new functions.
71886         * sysdeps/i386/fpu/libm-test-ulps: Update.
71887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71889 2012-03-01  Chris Demetriou  <cgd@google.com>
71891         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71892         have predictable order.
71894 2012-03-01  David S. Miller  <davem@davemloft.net>
71896         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71898         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71899         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71900         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71901         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71903         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71904         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71905         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71907         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71908         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71909         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71910         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71911         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71915         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71916         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71917         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71919         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71920         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71921         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71922         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71923         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71924         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71925         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71926         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71927         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71928         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71929         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71930         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71932         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71935         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71936         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71937         * sysdeps/sparc/elf/configure: Regenerated.
71939 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71941         * configure.in (AS, LD): Require binutils 2.20 or later.
71942         * configure: Regenerated.
71943         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71944         as required minimum version.
71945         * INSTALL: Regenerated.
71947         [BZ #2541]
71948         [BZ #4108]
71949         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71950         before squaring exponent.
71951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71952         bottom long double and 27 bits of top long double before squaring
71953         exponent.
71954         * math/libm-test.inc (erfc_test): Add more tests.
71955         * sysdeps/i386/fpu/libm-test-ulps: Update.
71956         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71959 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71961         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71962         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71963         containing bit-fields.
71964         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71965         * soft-fp/single.h (_FP_UNION_S): Likewise.
71966         * soft-fp/double.h (_FP_UNION_D): Likewise.
71968 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71970         [BZ #13786]
71971         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71972         not include ../strcmp.S.
71973         [USE_AS_STRNCASECMP_L]: Likewise.
71974         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71975         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71976         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71977         (__strncasecmp_l_ia32): Define as alias to
71978         __strncasecmp_l_nonascii.
71980         [BZ #5794]
71981         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71982         * sysdeps/i386/fpu/libm-test-ulps: Update.
71983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71985         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71988 2012-02-29  Jeff Law  <law@redhat.com>
71990         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71991         out of bounds read.
71993 2012-02-29  Marek Polacek  <polacek@redhat.com>
71995         [BZ #13706]
71996         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71997         * elf/Makefile: Add rules to run tst-unused-dep.out.
71999 2012-02-28  David S. Miller  <davem@davemloft.net>
72001         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72002         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72003         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72004         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72005         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72006         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72008 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72010         * math/libm-test.inc (llround_test): Move one test from
72011         lround_test.  Use TEST_f_L in moved test.
72012         (lround_test): Move misplaced test to llround_test.  Add testcase
72013         from bug 2561.
72015 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72017         * sysdeps/x86_64/fpu/e_expf.S: New file.
72018         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72020 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72022         [BZ #13637]
72023         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72024         of remain_len that may cause incomplete multi-byte character and
72025         false match.
72026         * posix/bug-regex33.c: New file.
72027         * posix/Makefile (tests): Add bug-regex33.
72029 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72031         * manual/macros.texi: New file.
72032         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72033         * manual/libc.texinfo: Include macros.texi.
72034         * manual/creatute.texi: Likewise.
72035         * manual/install.texi: Likewise.
72036         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72037         @glibcadj{} in references to the GNU C Library.
72038         * manual/charset.texi: Likewise.
72039         * manual/conf.texi: Likewise.
72040         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72041         when not using those macros.
72042         * manual/creature.texi: Likewise.
72043         * manual/crypt.texi: Likewise.
72044         * manual/errno.texi: Likewise.
72045         * manual/filesys.texi: Likewise.
72046         * manual/header.texi: Likewise.
72047         * manual/install.texi: Likewise.
72048         * manual/intro.texi: Likewise.
72049         * manual/io.texi: Likewise.
72050         * manual/job.texi: Likewise.
72051         * manual/lang.texi: Likewise.
72052         * manual/libc.texiinfo: Likewise.
72053         * manual/llio.texi: Likewise.
72054         * manual/locale.texi: Likewise.
72055         * manual/maint.texi: Likewise.
72056         * manual/math.texi: Likewise.
72057         * manual/memory.texi: Likewise.
72058         * manual/message.texi: Likewise.
72059         * manual/nss.texi: Likewise.
72060         * manual/pattern.texi: Likewise.
72061         * manual/process.texi: Likewise.
72062         * manual/resource.texi: Likewise.
72063         * manual/search.texi: Likewise.
72064         * manual/setjmp.texi: Likewise.
72065         * manual/signal.texi: Likewise.
72066         * manual/socket.texi: Likewise.
72067         * manual/startup.texi: Likewise.
72068         * manual/stdio.texi: Likewise.
72069         * manual/string.texi: Likewise.
72070         * manual/sysinfo.texi: Likewise.
72071         * manual/syslog.texi: Likewise.
72072         * manual/terminal.texi: Likewise.
72073         * manual/time.texi: Likewise.
72074         * manual/users.texi: Likewise.
72075         * INSTALL: Regenerated.
72076         * NOTES: Regenerated.
72077         * sysdeps/gnu/errlist.c: Regenerated.
72079 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72081         * include/dirent.h: Include <dirstream.h> before
72082         <dirent/dirent.h>.
72084 2012-02-28  David S. Miller  <davem@davemloft.net>
72086         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72087         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72088         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72089         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72091 2012-02-27  David S. Miller  <davem@davemloft.net>
72093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72095         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72096         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72099         frame pointer instead of stack pointer relative arg slot.
72100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72101         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72102         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72104 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72106         [BZ #3992]
72107         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72109 2012-02-27  David S. Miller  <davem@davemloft.net>
72111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72117         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72118         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72120 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72122         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72123         later.  Allow versions 5-9.
72124         * configure: Regenerated.
72125         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72126         required minimum version and 4.6 as recommended version.  Do not
72127         mention bugs in GCC 2.7 and 2.8.
72128         * INSTALL: Regenerated.
72130 2012-02-27  David S. Miller  <davem@davemloft.net>
72132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72136         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72137         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72138         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72139         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72141         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72142         manipulate bits before adding and subtracting TWO112[sx].
72143         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72145 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72147         [BZ #13775]
72148         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72149         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72150         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72151         being in POSIX, because they are in 1003.1-2008.
72153         * rt/tst-aio.c: Include <fcntl.h>.
72154         * rt/tst-aio7.c: Likewise.
72155         * rt/tst-aio64.c: Likewise.
72157         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72159 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72161         * manual/install.texi (--with-headers): Describe headers as
72162         interface headers, not private headers.
72163         (Specific advice for GNU/Linux systems): Describe use of headers
72164         from "make headers_install", not private headers from older
72165         kernels.
72166         * INSTALL: Regenerated.
72167         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72168         Change to 2.6.19.
72169         * sysdeps/unix/sysv/linux/configure: Regenerated.
72171         * manual/llio.texi (fclean): Remove documentation.
72173         * manual/Makefile (libc-texi-generated): New variable.  Include
72174         version.texi.
72175         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72176         $(libc-texi-generated), not duplicated list of files.
72177         (version.texi, stamp-version): New rules.
72178         (realclean): Remove $(libc-texi-generated), not individual files
72179         from that list.  Do not remove dir-add.texinfo.
72180         * manual/libc.texinfo: Comment out uses of edition numbers and
72181         references to printed manual.  Remove last-updated dates.
72182         (EDITION): Comment out.
72183         (ISBN): Likewise.
72184         (VERSION, UPDATED): Remove.
72185         (version.texi): Include.
72187 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72189         * sysdeps/posix/spawni.c: Include <signal.h>.
72190         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72191         * sysdeps/pthread/aio_fsync.c: Likewise.
72193 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72195         * conform/Makefile (tests): Run only when not cross-compiling and
72196         when fast-check is not defined.
72198         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72199         * conform/data/limits.h-data: Fixes for POSIX2008.
72200         * conform/run-conformtest.sh: Run all tests.
72201         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72202         headers.
72203         * include/bits/dlfcn.h: Likewise.
72204         * include/langinfo.h: Likewise.
72205         * include/monetary.h: Likewise.
72206         * include/sys/poll.h: Likewise.
72208         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72209         for __USE_GNU.
72210         * posix/spawn.h: Define __need_sigset_t.
72211         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72212         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72213         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72214         to get sigevent_t only.
72215         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72216         only for __USE_GNU.
72217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72218         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72219         process_vm_writev only for __USE_GNU.
72220         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72222         * conform/Makefile: For now ignore errors from run-conformtest.
72223         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72224         POSIX to avoid namespace pollution.  Don't prepend headers.
72225         * conform/data/aio.h-data: Fixes for POSIX testing.
72226         * conform/data/fcntl.h-data: Likewise.
72227         * conform/data/glob.h-data: Likewise.
72228         * conform/data/grp.h-data: Likewise.
72229         * conform/data/pthread.h-data: Likewise.
72230         * conform/data/pwd.h-data: Likewise.
72231         * conform/data/signal.h-data: Likewise.
72232         * conform/data/spawn.h-data: Likewise.
72233         * conform/data/stdio.h-data: Likewise.
72234         * conform/data/stdlib.h-data: Likewise.
72235         * conform/data/stropts.h-data: Likewise.
72236         * conform/data/sys/mman.h-data: Likewise.
72237         * conform/data/sys/stat.h-data: Likewise.
72238         * conform/data/sys/types.h-data: Likewise.
72239         * conform/data/sys/wait.h-data: Likewise.
72240         * conform/data/time.h-data: Likewise.
72241         * conform/data/unistd.h-data: Likewise.
72242         * conform/data/utime.h-data: Likewise.
72244         * io/sys/stat.h: fchmod was always in POSIX.
72245         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72246         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72247         * rt/aio.h: Define __need_timespec before including <time.h>.
72248         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72249         struct.  Add forward declaration of pthread_attr_t and use it in
72250         sigevent.
72251         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72253         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72254         always remove CLK_TCK definition.
72256 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72258         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72260 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72262         * conform/run-conformtest.sh: New file.
72263         * conform/Makefile: Run run-conformtest for tests.
72264         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72265         support.
72267         * conform/data/uchar.h-data: New file.
72268         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72269         * conform/data/arpa/inet.h-data: Likewise.
72270         * conform/data/assert.h-data: Likewise.
72271         * conform/data/complex.h-data: Likewise.
72272         * conform/data/cpio.h-data: Likewise.
72273         * conform/data/ctype.h-data: Likewise.
72274         * conform/data/dirent.h-data: Likewise.
72275         * conform/data/dlfcn.h-data: Likewise.
72276         * conform/data/errno.h-data: Likewise.
72277         * conform/data/fcntl.h-data: Likewise.
72278         * conform/data/float.h-data: Likewise.
72279         * conform/data/fmtmsg.h-data: Likewise.
72280         * conform/data/fnmatch.h-data: Likewise.
72281         * conform/data/ftw.h-data: Likewise.
72282         * conform/data/glob.h-data: Likewise.
72283         * conform/data/grp.h-data: Likewise.
72284         * conform/data/iconv.h-data: Likewise.
72285         * conform/data/inttypes.h-data: Likewise.
72286         * conform/data/langinfo.h-data: Likewise.
72287         * conform/data/libgen.h-data: Likewise.
72288         * conform/data/limits.h-data: Likewise.
72289         * conform/data/locale.h-data: Likewise.
72290         * conform/data/math.h-data: Likewise.
72291         * conform/data/monetary.h-data: Likewise.
72292         * conform/data/mqueue.h-data: Likewise.
72293         * conform/data/ndbm.h-data: Likewise.
72294         * conform/data/net/if.h-data: Likewise.
72295         * conform/data/netdb.h-data: Likewise.
72296         * conform/data/netinet/in.h-data: Likewise.
72297         * conform/data/nl_types.h-data: Likewise.
72298         * conform/data/poll.h-data: Likewise.
72299         * conform/data/pthread.h-data: Likewise.
72300         * conform/data/pwd.h-data: Likewise.
72301         * conform/data/regex.h-data: Likewise.
72302         * conform/data/sched.h-data: Likewise.
72303         * conform/data/search.h-data: Likewise.
72304         * conform/data/semaphore.h-data: Likewise.
72305         * conform/data/setjmp.h-data: Likewise.
72306         * conform/data/signal.h-data: Likewise.
72307         * conform/data/spawn.h-data: Likewise.
72308         * conform/data/stdarg.h-data: Likewise.
72309         * conform/data/stdio.h-data: Likewise.
72310         * conform/data/stdlib.h-data: Likewise.
72311         * conform/data/string.h-data: Likewise.
72312         * conform/data/strings.h-data: Likewise.
72313         * conform/data/stropts.h-data: Likewise.
72314         * conform/data/sys/ipc.h-data: Likewise.
72315         * conform/data/sys/mman.h-data: Likewise.
72316         * conform/data/sys/msg.h-data: Likewise.
72317         * conform/data/sys/resource.h-data: Likewise.
72318         * conform/data/sys/select.h-data: Likewise.
72319         * conform/data/sys/sem.h-data: Likewise.
72320         * conform/data/sys/shm.h-data: Likewise.
72321         * conform/data/sys/socket.h-data: Likewise.
72322         * conform/data/sys/stat.h-data: Likewise.
72323         * conform/data/sys/statvfs.h-data: Likewise.
72324         * conform/data/sys/time.h-data: Likewise.
72325         * conform/data/sys/timeb.h-data: Likewise.
72326         * conform/data/sys/times.h-data: Likewise.
72327         * conform/data/sys/types.h-data: Likewise.
72328         * conform/data/sys/uio.h-data: Likewise.
72329         * conform/data/sys/un.h-data: Likewise.
72330         * conform/data/sys/utsname.h-data: Likewise.
72331         * conform/data/sys/wait.h-data: Likewise.
72332         * conform/data/syslog.h-data: Likewise.
72333         * conform/data/tar.h-data: Likewise.
72334         * conform/data/termios.h-data: Likewise.
72335         * conform/data/utime.h-data: Likewise.
72336         * conform/data/utmpx.h-data: Likewise.
72337         * conform/data/varargs.h-data: Likewise.
72338         * conform/data/wchar.h-data: Likewise.
72339         * conform/data/wctype.h-data: Likewise.
72340         * conform/data/wordexp.h-data: Likewise.
72342         * include/stropts.h: New file.
72343         * include/uchar.h: New file.
72344         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72345         * include/assert.h: Likewise.
72346         * include/ctype.h: Likewise.
72347         * include/dirent.h: Likewise.
72348         * include/dlfcn.h: Likewise.
72349         * include/fcntl.h: Likewise.
72350         * include/fnmatch.h: Likewise.
72351         * include/glob.h: Likewise.
72352         * include/grp.h: Likewise.
72353         * include/libio.h: Likewise.
72354         * include/locale.h: Likewise.
72355         * include/math.h: Likewise.
72356         * include/net/if.h: Likewise.
72357         * include/netdb.h: Likewise.
72358         * include/netinet/in.h: Likewise.
72359         * include/pthread.h: Likewise.
72360         * include/pwd.h: Likewise.
72361         * include/regex.h: Likewise.
72362         * include/sched.h: Likewise.
72363         * include/search.h: Likewise.
72364         * include/setjmp.h: Likewise.
72365         * include/signal.h: Likewise.
72366         * include/stdio.h: Likewise.
72367         * include/stdlib.h: Likewise.
72368         * include/string.h: Likewise.
72369         * include/sys/cdefs.h: Likewise.
72370         * include/sys/mman.h: Likewise.
72371         * include/sys/msg.h: Likewise.
72372         * include/sys/resource.h: Likewise.
72373         * include/sys/select.h: Likewise.
72374         * include/sys/socket.h: Likewise.
72375         * include/sys/stat.h: Likewise.
72376         * include/sys/statvfs.h: Likewise.
72377         * include/sys/time.h: Likewise.
72378         * include/sys/times.h: Likewise.
72379         * include/sys/uio.h: Likewise.
72380         * include/sys/utsname.h: Likewise.
72381         * include/sys/wait.h: Likewise.
72382         * include/termios.h: Likewise.
72383         * include/time.h: Likewise.
72384         * include/ulimit.h: Likewise.
72385         * include/unistd.h: Likewise.
72386         * include/utime.h: Likewise.
72387         * include/wchar.h: Likewise.
72388         * include/wctype.h: Likewise.
72389         * include/wordexp.h: Likewise.
72391         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72393         * time/time.h: TIME_UTC must be a macro.
72394         Make timespec_get available for ISO C11 only as well.
72396 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72398         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72399         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72401 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72403         * configure.in: Use -o not -a in test for unsupported multi-arch.
72405 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72407         * manual/texinfo.tex: Update to version 2012-01-19.16.
72409 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72411         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72413 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72415         [BZ #13738]
72416         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72417         * manual/fdl-1.3.texi: New file.
72418         * manual/fdl-1.1.texi: File removed.
72420         [BZ #13738]
72421         * manual/libc.texinfo (FDL_VERSION): New @set.
72422         Use it for mention of FDL in cover text.
72423         (Documentation License): Use it in @include file name.
72425 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72426             Roland McGrath  <roland@hack.frob.com>
72428         [BZ #5461]
72429         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72430         (not LONG_LONG_MAX and LONG_LONG_MIN.
72431         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72432         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72433         name.
72434         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72436 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72438         [BZ #2547]
72439         [BZ #11365]
72440         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72441         manipulate bits before adding and subtracting TWO23[sx].
72442         * math/libm-test.inc (nearbyint_test): Add more tests.
72444 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72446         [BZ #2548]
72447         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72448         bits before adding and subtracting TWO23[sx].
72449         * math/libm-test.inc (rint_test): Add more tests.
72450         (rint_test_tonearest): Likewise.
72451         (rint_test_towardzero): Likewise.
72452         (rint_test_downward): Likewise.
72453         (rint_test_upward: Likewise.
72455 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72457         [BZ #10110]
72458         * include/stdc-predef.h: New file.  Extracted from features.h.
72459         * include/features.h: Include stdc-predef.h.
72460         * Makefile (headers): Add stdc-predef.h.
72461         * CONFORMANCE (Compiler limitations): Update.
72463 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72465         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72467 2012-02-21  David S. Miller  <davem@davemloft.net>
72469         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72470         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72472 2012-02-20  David S. Miller  <davem@davemloft.net>
72474         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72475         using a normal save/restore sequence, rather than allocating a
72476         dummy stack frame just to store a frame pointer and restore.
72477         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72479 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72481         * manual/install.texi: Fix stray word in line-wrapped comment.
72483 2012-02-20  David S. Miller  <davem@davemloft.net>
72485         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72486         both binutils and gcc support GOTDATA.
72488         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72489         "rd %pc" in the PIC register setup sequences.
72491         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72492         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72493         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72494         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72495         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72496         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72497         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72498         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72500         (SYSCALL_ERROR_HANDLER): Likewise.
72501         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72502         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72504         (SYSCALL_ERROR_HANDLER): Likewise.
72506         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72507         (HAVE_GCC_GOTDATA): New.
72508         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72509         relocation support in both binutils and gcc.
72510         * sysdeps/sparc/elf/configure: Regenerate.
72512         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72513         * sysdeps/sparc/sparc32/elf/configure: Delete.
72514         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72515         * sysdeps/sparc/sparc64/elf/configure: Delete.
72516         * sysdeps/sparc/elf/configure.in: New file.
72517         * sysdeps/sparc/elf/configure: Generate.
72519         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72520         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72521         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72522         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72523         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72525 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72527         * manual/install.texi: Do not mention specific glibc version
72528         numbers.
72529         * manual/libc.texinfo (VERSION, UPDATED): Update.
72530         (@copying): Use @copyright{} and range of years.
72532 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72534         [BZ #13695]
72535         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72536         [crti.S not in sysdirs] (generated): Do not append.
72537         [crti.S not in sysdirs] (omit-deps): Likewise.
72538         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72539         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72540         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72541         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72542         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72543         Likewise.
72544         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72545         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72546         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72547         * csu/defs.awk: Remove file.
72548         * sysdeps/generic/initfini.c: Likewise.
72549         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72550         variable.
72551         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72552         Likewise.
72554 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72556         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72557         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72558         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72559         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72560         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72561         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72562         <bits/epoll.h>.
72563         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72564         (__EPOLL_PACKED): Define to empty if not defined by
72565         <bits/epoll.h>.
72566         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72568         bits/epoll.h.
72570 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72572         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72573         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72574         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72575         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72576         <bits/timerfd.h>.
72577         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72579         bits/timerfd.h.
72581 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72583         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72584         in C locale.
72585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72586         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72587         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72590 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72592         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72593         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72595 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72597         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72598         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72599         defined.
72600         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72601         Likewise.
72602         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72603         entry for 2.16.
72605 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72607         * math/w_acos.c: Use non-signaling floating-point comparisons.
72608         * math/w_acosf.c: Likewise.
72609         * math/w_acosh.c: Likewise.
72610         * math/w_acoshf.c: Likewise.
72611         * math/w_acoshl.c: Likewise.
72612         * math/w_acosl.c: Likewise.
72613         * math/w_asin.c: Likewise.
72614         * math/w_asinf.c: Likewise.
72615         * math/w_asinl.c: Likewise.
72616         * math/w_atanh.c: Likewise.
72617         * math/w_atanhf.c: Likewise.
72618         * math/w_atanhl.c: Likewise.
72619         * math/w_exp2.c: Likewise.
72620         * math/w_exp2f.c: Likewise.
72621         * math/w_exp2l.c: Likewise.
72622         * math/w_j0.c: Likewise.
72623         * math/w_j0f.c: Likewise.
72624         * math/w_j0l.c: Likewise.
72625         * math/w_j1.c: Likewise.
72626         * math/w_j1f.c: Likewise.
72627         * math/w_j1l.c: Likewise.
72628         * math/w_jn.c: Likewise.
72629         * math/w_jnf.c: Likewise.
72630         * math/w_log.c: Likewise.
72631         * math/w_log10.c: Likewise.
72632         * math/w_log10f.c: Likewise.
72633         * math/w_log10l.c: Likewise.
72634         * math/w_log2.c: Likewise.
72635         * math/w_log2f.c: Likewise.
72636         * math/w_log2l.c: Likewise.
72637         * math/w_logf.c: Likewise.
72638         * math/w_logl.c: Likewise.
72639         * math/w_sqrt.c: Likewise.
72640         * math/w_sqrtf.c: Likewise.
72641         * math/w_sqrtl.c: Likewise.
72642         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72643         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72644         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72645         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72646         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72648 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72650         [BZ #9739]
72651         * manual/string.texi (strnlen): Use correct parameter name in
72652         equivalent expression.
72654 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72656         [BZ #11174]
72657         * manual/users.texi (seteuid): Consistently use neweuid for
72658         argument name.
72660 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72662         [BZ #13704]
72663         * manual/nss.texi (Services in the NSS configuration): Correct
72664         list of services in example configuration file.
72666 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72668         [BZ #11322]
72669         * manual/arith.texi: Remove statements about negative zero
72670         behaving identically to zero.
72672 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72674         [BZ #5993]
72675         * manual/install.texi: Do not document upgrading from libc5.
72677 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72679         [BZ #4596]
72680         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72682 2012-02-18  David S. Miller  <davem@davemloft.net>
72684         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72685         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72686         %o7 across the call.
72687         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72688         instead.
72689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72690         SETUP_PIC_REG_LEAF.
72691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72692         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72693         * sysdeps/sparc/crtn.S: Likewise.
72695 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72697         * aout/Makefile: Remove.
72699 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72701         [BZ #13058]
72702         * manual/examples/argp-ex1.c (main): Format definition in GNU
72703         style.
72704         * manual/examples/argp-ex2.c (main): Likewise.
72705         * manual/examples/argp-ex3.c (main): Likewise.
72706         * manual/examples/argp-ex4.c (main): Likewise.
72707         * manual/examples/longopt.c (main): Use new-style prototype
72708         definition.
72709         * manual/examples/strncat.c (main): Specify return type and use
72710         (void) for arguments.
72711         * manual/examples/subopt.c (main): Use char **argv argument.
72713 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72715         [BZ #5077]
72716         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72717         rounding modes.
72719 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72721         [BZ #6907]
72722         * manual/string.texi (strchr): Change when strchrnul is
72723         recommended.
72725 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72727         [BZ #174]
72728         * manual/locale.texi (setlocale): Document LOCPATH.
72730 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72732         [BZ #10210]
72733         * manual/process.texi (execle): Move @dots{} before last argument.
72735 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72737         [BZ #12047]
72738         * manual/charset.texi (Generic Charset Conversion): Fix typo
72739         (LC_TYPE -> LC_CTYPE).
72741 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72743         [BZ #5805]
72744         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72745         (scalbnf): Likewise.
72746         (scalbnl): Likewise.
72747         (scalbln): Likewise.
72748         (scalblnf): Likewise.
72749         (scalblnl): Likewise.
72750         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72751         (vwarnx): Likewise.
72752         (verr): Likewise.
72753         (verrx): Likewise.
72754         * manual/filesys.texi (telldir): Use braces around return type.
72755         * manual/llio.texi (mmap): Add space after comma.
72756         (mmap64): Likewise.
72757         * manual/math.texi (jn): Use @var{} on parameter names.
72758         (jnf): Likewise.
72759         (jnl): Likewise.
72760         (yn): Likewise.
72761         (ynf): Likewise.
72762         (ynl): Likewise.
72763         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72764         line.
72765         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72766         "...".
72767         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72768         (sched_get_priority_max): Likewise.
72769         * manual/signal.texi (sigvec): Add space after comma.
72770         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72771         names.
72772         (if_indextoname): Likewise.
72773         (if_freenameindex): Likewise.
72774         (sendto): Use ',' instead of '.' in prototype.
72775         * manual/startup.texi (syscall): Use @dots{} instead of literal
72776         "...".
72777         * manual/stdio.texi (__fpending): Separate initial words of
72778         paragraph from @deftypefun line.
72779         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72780         "...".
72781         (vsyslog): Use @var{} on parameter names.
72782         * manual/terminal.texi (stty): Use @var{} on parameter names.
72783         * manual/users.texi (getutmp): Use @var{} on parameter names.
72784         (getutmpx): Likewise.
72786 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72788         [BZ #6884]
72789         * manual/stdio.texi (fopen): Fix typos in description of
72790         ",ccs=STRING".
72792 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72794         [BZ #4026]
72795         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72796         get clock_id definition.
72798 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72800         [BZ #4822]
72801         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72802         (madvise): Cast every argument to void on its own.
72804 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72806         [BZ #9902]
72807         * manual/startup.texi (Exit Status): Fix typo.
72809 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72811         [BZ #10140]
72812         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72813         * manual/examples/argp-ex2.c: Likewise.
72814         * manual/examples/argp-ex3.c: Likewise.
72816 2012-02-16  Richard Henderson  <rth@redhat.com>
72818         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72819         * sysdeps/s390/s390-32/initfini.c: Remove.
72820         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72821         * sysdeps/s390/s390-64/initfini.c: Remove.
72823 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72825         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72826         compiler output for sysdeps/generic/initfini.c.
72827         * sysdeps/sh/elf/initfini.c: Remove file.
72829 2012-02-16  David S. Miller  <davem@davemloft.net>
72831         [BZ #11494]
72832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72834         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72835         * sysdeps/sparc/crti.S: New file.
72836         * sysdeps/sparc/crtn.S: New file.
72837         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72838         * sysdeps/sparc/sparc64/Makefile: Likewise.
72840 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72842         [BZ #3335]
72843         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72845 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72847         [BZ #4822]
72848         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72850         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72851         (write, read, close): Likewise.
72852         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72854 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72856         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72857         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72858         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72859         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72860         <bits/signalfd.h>.
72861         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72863         bits/signalfd.h.
72865 2012-02-14  Marek Polacek  <polacek@redhat.com>
72867         * sysdeps/x86_64/crti.S: New file.
72868         * sysdeps/x86_64/crtn.S: New file.
72869         * sysdeps/x86_64/elf/initfini.c: Remove file.
72871 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72873         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72874         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72875         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72876         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72877         <bits/inotify.h>.
72878         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72880         bits/inotify.h.
72882 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72884         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72885         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72886         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72887         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72888         <bits/eventfd.h>.
72889         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72891         bits/eventfd.h.
72893 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72895         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72896         __feraiseexcept instead of feraiseexcept.
72898         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72899         nanosleep invocations.
72900         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72901         strings, and add error checking for a nanosleep invocations.
72903 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72905         Replace FSF snail mail address with URLs, as per GNU coding standards.
72906         Most of the snail mail addresses were wrong anyway, and omitting
72907         them makes the source code easier to maintain.  Almost all of the
72908         changes are to license notices and to locale LC_IDENTIFICATION
72909         addresses, except for this one:
72910         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72911         not its snail mail address.
72913 2012-02-09  Richard Henderson  <rth@twiddle.net>
72915         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72916         of kernel-features.h.
72918         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72920 2012-02-08  Marek Polacek  <polacek@redhat.com>
72922         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72923         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72924         * sysdeps/gnu/_G_config.h: Likewise.
72925         * sysdeps/generic/_G_config.h: Likewise.
72927 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72929         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72930         tests.
72931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72933         * sysdeps/powerpc/powerpc32/crti.S: New file.
72934         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72935         * sysdeps/powerpc/powerpc64/crti.S: New file.
72936         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72938         * Makeconfig (have-initfini): Don't set.
72939         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72940         * configure.in (nopic_initfini): Don't substitute.
72941         * config.h.in (HAVE_INITFINI): Don't #undef.
72942         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72943         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72945 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72947         Support crti.S and crtn.S provided directly by architectures.
72948         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72949         [crti.S in sysdirs] (omit-deps): Likewise.
72950         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72951         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72952         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72953         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72954         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72955         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72956         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72957         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72958         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72959         compiler output for sysdeps/generic/initfini.c.
72960         * sysdeps/i386/elf/Makefile: Remove file.
72961         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72963 2012-02-07  Marek Polacek  <polacek@redhat.com>
72965         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72966         * sysdeps/gnu/_G_config.h: Likewise.
72967         * sysdeps/mach/hurd/_G_config.h: Likewise.
72969 2012-02-07  Marek Polacek  <polacek@redhat.com>
72971         * math/Makefile (tests): Add tst-CMPLX2.
72972         * math/tst-CMPLX2.c: New file.
72974 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72976         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72978         * math/libm-test.inc (jn_test): Add missing L suffix.
72980 2012-02-06  Marek Polacek  <polacek@redhat.com>
72982         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72983         * sysdeps/i386/fpu/e_powf.S: Likewise.
72984         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72985         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72986         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72987         * sysdeps/i386/fpu/e_pow.S: Likewise.
72988         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72989         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72990         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72991         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72992         * sysdeps/i386/fpu/e_log2.S: Likewise.
72993         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72994         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72995         * sysdeps/i386/fpu/e_powl.S: Likewise.
72996         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72997         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72998         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72999         * sysdeps/i386/fpu/e_logl.S: Likewise.
73000         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73001         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73002         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73003         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73004         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73005         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73006         * sysdeps/i386/fpu/e_log.S: Likewise.
73007         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73008         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73009         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73010         * sysdeps/i386/fpu/e_logf.S: Likewise.
73011         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73012         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73013         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73014         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73015         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73016         * sysdeps/i386/fpu/e_log10.S: Likewise.
73017         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73018         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73019         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73020         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73021         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73022         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73023         * sysdeps/i386/asm-syntax.h: Likewise.
73024         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73026         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73027         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73028         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73029         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73030         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73031         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73032         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73033         * sysdeps/powerpc/sysdep.h: Likewise.
73034         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73035         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73037 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73039         [BZ #411]
73040         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73042 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73044         * sysdeps/i386/sysdep.h: Include <features.h>.
73045         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73046         version.
73048 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73050         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73051         Define.
73052         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73053         LOAD_PIC_REG_STR.
73055 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73057         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73058         (SETUP_PIC_REG): Use GET_PC_THUNK.
73059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73060         macro.
73062 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73064         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73065         for non-PIC compilation.
73066         (SETUP_PIC_REG): Add .p2align directive.
73067         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73068         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73069         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73070         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73071         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73072         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73073         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73075         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73076         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73077         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73078         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73079         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73080         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73081         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73082         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73083         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73084         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73085         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73086         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73087         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73088         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73089         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73090         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73092         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73093         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73094         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73095         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73096         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73097         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73098         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73099         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73100         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73101         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73102         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73103         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73104         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73105         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73106         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73107         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73109 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73111         * math/tst-CMPLX.c: Include <stdio.h>.
73113 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73115         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73116         float.
73117         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73118         * sysdeps/sparc/bits/mathdef.h: Likewise.
73120 2012-01-31  Marek Polacek  <polacek@redhat.com>
73122         * libio/libio.h: Don't define _PARAMS.
73123         * locale/programs/config.h: Don't define PARAMS.
73124         * stdlib/strtol_l.c: Likewise.
73125         (__strtol_l): Remove PARAMS from the prototype.
73127 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73129         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73130         names.  Just use the correct names.  Remove unnecessary wrapper
73131         functions.
73132         * malloc/arena.c: Likewise.
73133         * malloc/hooks.c: Likewise.
73135         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73136         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73137         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73139 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73141         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73142         into tail calls.
73143         (update_get_addr): New function.
73144         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73145         GET_ADDR_MODULE parameter.
73147 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73149         * crypt/cert.c: Remove __STDC__ conditionals.
73150         * crypt/crypt-entry.c: Likewise.
73151         * crypt/crypt_util.c: Likewise.
73152         * libio/filedoalloc.c: Likewise.
73153         * libio/fileops.c: Likewise.
73154         * libio/genops.c: Likewise.
73155         * libio/iofclose.c: Likewise.
73156         * libio/iofdopen.c: Likewise.
73157         * libio/iofopen.c: Likewise.
73158         * libio/iofopen64.c: Likewise.
73159         * libio/iogetdelim.c: Likewise.
73160         * libio/iopopen.c: Likewise.
73161         * libio/obprintf.c: Likewise.
73162         * libio/oldfileops.c: Likewise.
73163         * libio/oldiofclose.c: Likewise.
73164         * libio/oldiofdopen.c: Likewise.
73165         * libio/oldiofopen.c: Likewise.
73166         * libio/oldiopopen.c: Likewise.
73167         * libio/wfiledoalloc.c: Likewise.
73168         * libio/wgenops.c: Likewise.
73169         * locale/programs/xmalloc.c: Likewise.
73170         * misc/syslog.c: Likewise.
73171         * stdio-common/xbug.c: Likewise.
73172         * string/memchr.c: Likewise.
73173         * string/memcmp.c: Likewise.
73174         * string/memrchr.c: Likewise.
73175         * string/rawmemchr.c: Likewise.
73176         * sysdeps/posix/getcwd.c: Likewise.
73177         * time/strftime_l.c: Likewise.
73179 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73181         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73182         * config.make.in (config-cflags-sse2avx): Define.
73183         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73184         Fix typo.
73186 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73188         * scripts/config.guess: Update from upstream config git repository.
73189         * scripts/config.sub: Likewise.
73191 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73193         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73194         (EM_NUM): Update.
73195         (R_TILEPRO_*, R_TILEGX_*): New macros.
73197         * scripts/firstversions.awk: Fix bug in version range handling.
73199         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73201         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73203         * include/sys/epoll.h: New file.
73204         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73205         libc_hidden_def.
73207 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73209         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73210         Avoid unnecessary __WORDSIZE == 64 test.
73211         (fmaxf): Use VEX format if possible.
73212         (fmax): Likewise.
73213         (fminf): Likewise.
73214         (fmin): Likewise.
73216         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73217         * math/math_private.h: Remove libc_fegetround* and
73218         libc_fesetround*.
73219         * sysdeps/i386/configure.in: Check for -msse2avx.
73220         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73221         also if SSE2AVX is defined.
73222         Remove libc_fegetround* and libc_fesetround*.
73223         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73224         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73225         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73226         of HAS_YMM_USABLE.
73227         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73228         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73229         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73230         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73231         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73233         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73235 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73237         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73238         size is not set.
73239         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73241 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73243         [BZ #13618]
73244         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73245         relocation.
73246         * Makeconfig (libm): Define.
73247         * elf/Makefile: Add rules to build and run tst-relsort1.
73248         * elf/tst-relsort1.c: New file.
73249         * elf/tst-relsort1mod1.c: New file.
73250         * elf/tst-relsort1mod2.c: New file.
73252 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73254         * math/s_ldexp.c: Remove __STDC__ conditionals.
73255         * math/s_ldexpf.c: Likewise.
73256         * math/s_ldexpl.c: Likewise.
73257         * math/s_nextafter.c: Likewise.
73258         * math/s_nexttowardf.c: Likewise.
73259         * math/s_significand.c: Likewise.
73260         * math/s_significandf.c: Likewise.
73261         * math/s_significandl.c: Likewise.
73262         * math/w_jnl.c: Likewise.
73263         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73264         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73265         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73266         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73267         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73268         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73269         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73270         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73271         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73272         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73273         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73274         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73275         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73276         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73277         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73278         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73279         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73280         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73281         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73282         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73283         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73284         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73285         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73286         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73287         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73288         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73289         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73290         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73291         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73292         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73293         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73294         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73295         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73296         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73297         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73298         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73299         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73300         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73301         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73302         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73303         * sysdeps/ieee754/k_standard.c: Likewise.
73304         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73305         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73306         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73307         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73308         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73309         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73310         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73311         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73312         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73313         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73314         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73315         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73316         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73317         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73318         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73319         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73321         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73322         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73323         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73324         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73325         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73326         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73327         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73328         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73329         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73330         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73331         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73333         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73334         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73335         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73336         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73337         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73339         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73340         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73341         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73342         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73343         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73344         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73346         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73347         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73348         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73351         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73352         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73353         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73354         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73355         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73356         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73357         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73358         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73359         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73360         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73361         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73362         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73363         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73364         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73365         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73366         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73367         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73368         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73369         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73370         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73371         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73372         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73373         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73374         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73376         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73377         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73378         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73379         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73380         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73381         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73382         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73383         * sysdeps/ieee754/s_matherr.c: Likewise.
73384         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73385         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73386         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73389 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73391         * crypt/md5.h: Remove __STDC__ conditionals.
73392         * libio/libioP.h: Likewise.
73393         * locale/programs/config.h: Likewise.
73394         * sysdeps/generic/sysdep.h: Likewise.
73395         * sysdeps/i386/asm-syntax.h: Likewise.
73396         * sysdeps/s390/asm-syntax.h: Likewise.
73397         * sysdeps/unix/sysdep.h: Likewise.
73398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73401 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73403         * libio/libio.h: Remove __STDC__ conditionals.
73404         * malloc/obstack.h: Likewise.
73405         * math/complex.h: Likewise.
73406         * math/math.h: Likewise.
73407         * sysdeps/generic/_G_config.h: Likewise.
73408         * sysdeps/gnu/_G_config.h: Likewise.
73409         * sysdeps/mach/hurd/_G_config.h: Likewise.
73410         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73411         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73412         * sysdeps/sparc/bits/mathdef.h: Likewise.
73414 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73416         [BZ #13583]
73417         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73418         Clean up HAS_* macros.
73419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73420         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73421         possible.
73422         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73423         HAS_AVX.
73424         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73425         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73426         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73427         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73428         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73430 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73432         * elf/tst-unique3.cc (gets): Remove declaration.
73433         * elf/tst-unique3lib.cc (gets): Likewise.
73434         * elf/tst-unique3lib2.cc (gets): Likewise.
73435         * elf/tst-unique4.cc (gets): Likewise.
73437 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73439         * include/stdio.h: Add C++ protection.  Add gets declarations and
73440         definitions.
73441         * debug/tst-chk1.c: Don't declare gets here.
73442         * stdio-common/tst-gets.c: Likewise.
73444 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73446         * posix/glob: Remove directory.
73448 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73450         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73452 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73454         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73455         of the non-standard EPFNOSUPPORT.
73457 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73459         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73460         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73461         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73463 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73465         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73467 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73469         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73470         transient errors.
73471         * nscd/grpcache.c (cache_addgr): Likewise.
73472         * nscd/hstcache.c (cache_addhst): Likewise.
73473         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73474         * nscd/pwdcache.c (cache_addpw): Likewise.
73475         * nscd/servicescache.c (cache_addserv): Likewise.
73477 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73479         * malloc/malloc.c: Various cleanups.
73480         * malloc/hooks.c: Likewise.
73482         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73483         * stdlib/bug-fmtmsg1.c: New file.
73485         * stdlib/fmtmsg.c (init): Add missing unlock.
73486         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73488 2012-01-12  Marek Polacek  <polacek@redhat.com>
73490         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73491         and _GNU_SOURCE.
73493 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73495         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73496         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73497         macro to ensure uniqueness of label name.
73498         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73499         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73501 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73503         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73505         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73506         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73507         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73508         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73510 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73512         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73514         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73515         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73516         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73518         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73520         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73521         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73522         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73525         * math/bits/math-finite.h: Add ldexp support.
73527 2012-01-10  Marek Polacek  <polacek@redhat.com>
73529         * locale/programs/localedef.h (show_archive_content): Add noreturn
73530         attribute.
73532 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73534         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73536 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73538         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73540         * io/Makefile (headers): Add bits/poll2.h.
73542 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73545         typo #include statement.
73547 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73549         * include/sys/cdefs.h: Define __attribute_alloc_size.
73550         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73551         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73552         * elf/pldd.c: Likewise.
73553         * iconv/iconv_charmap.c: Likewise.
73554         * iconv/iconvconfig.c: Likewise.
73555         * iconv/strtab.c: Likewise.
73556         * locale/programs/locale.c: Likewise.
73557         * locale/programs/localedef.h: Likewise.
73558         * locale/programs/simple-hash.c: Likewise.
73559         * nscd/nscd.h: Likewise.
73560         * nss/makedb.c: Likewise.
73561         * sysdeps/generic/ldconfig.h: Likewise.
73562         * locale/programs/localedef.c: Remove xmalloc prototype.
73563         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73565 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73567         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73568         appropriate.
73570 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73572         * math/Makefile (tests): Add tst-CMPLX.
73573         * math/tst-CMPLX.c: New file.
73575         * math/complex.h (CMPLXL): Fix typo.
73577         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73578         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73579         GLIBC_2.16.
73580         * debug/tst-chk1.c: Add poll and ppoll tests.
73581         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73582         * include/sys/poll.h: Add hidden proto for ppoll.
73583         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73584         * sysdeps/mach/hurd/ppoll.c: Likewise.
73585         * io/ppoll.c: Likewise.
73586         * debug/poll_chk.c: New file.
73587         * debug/ppoll_chk.c: New file.
73588         * include/bits/poll2.h: New file.
73589         * io/bits/poll2.h: New file.
73591         [BZ #1350]
73592         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73594         * configure.in: static is always set to yes.  Remove.
73595         * config.make.in: Don't set build-static.
73596         * Makeconfig: Remove use of build-static.
73597         * dlfcn/Makefile: Likewise.
73598         * elf/Makefile: Likewise.
73599         * math/Makefile: Likewise.
73600         * misc/Makefile: Likewise.
73601         * nptl/Makefile: Likewise.
73602         * sysdeps/mach/hurd/Makefile: Likewise.
73604         * configure.in: PWD_P is not used anymore.
73605         * config.make.in: Remove PWD_P entry.
73607         * configure.in: Remove last remnants of RANLIB.
73608         No need to check for signed size_t anymore.
73609         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73610         and IA-64.
73611         Remove __builtin_expect test because we require at least gcc 3.4.
73612         * aclocal.m4: Likewise.
73614         * wcsmbs/mbrtoc16.c: Implement using towc function.
73615         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73616         * wcsmbs/wcsmbsload.c: Likewise.
73617         * iconv/gconv_simple.c: Likewise.
73618         * iconv/gconv_int.h: Likewise.
73619         * iconv/gconv_builtin.h: Likewise.
73620         * iconv/iconv_prog.c: Remove CHAR16 handling.
73622         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73624         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73626         * configure.in: Remove --with-elf and --enable-bounded options.
73627         Dont set base_machine for ia64.  More non-ELF conditions removed.
73628         Remove testing and setting of leading underscore information.
73629         * config.make.in (build-bounded): Set to no.
73630         * config.h.in: Remove NO_UNDERSCORES entry.
73631         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73632         them.
73633         * csu/start.c: Remove !NO_UNDERSCORE code.
73634         * locale/localeinfo.h: Likewise.
73635         * sysdeps/generic/machine-gmon.h: Likewise.
73636         * sysdeps/generic/sysdep.h: Likewise.
73637         * sysdeps/i386/sysdep.h: Likewise.
73638         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73639         * sysdeps/mach/sysdep.h: Likewise.
73640         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73642         * sysdeps/sh/sysdep.h: Likewise.
73643         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73644         * sysdeps/unix/i386/sysdep.S: Likewise.
73645         * sysdeps/unix/sparc/start.c: Likewise.
73646         * sysdeps/unix/sparc/sysdep.S: Likewise.
73647         * sysdeps/unix/sparc/sysdep.h: Likewise.
73648         * sysdeps/unix/start.c: Likewise.
73649         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73650         * sysdeps/x86_64/sysdep.h: Likewise.
73652 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73654         [BZ #13553]
73655         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73656         for non-gcc.
73657         * argp/argp-fmtstream.h: Use const instead __const.
73658         * argp/argp.h: Likewise.
73659         * assert/assert.h: Likewise.
73660         * bits/fenv.h: Likewise.
73661         * bits/sched.h: Likewise.
73662         * bits/sigset.h: Likewise.
73663         * bits/sigthread.h: Likewise.
73664         * catgets/nl_types.h: Likewise.
73665         * conform/data/pthread.h-data: Likewise.
73666         * crypt/crypt-private.h: Likewise.
73667         * crypt/crypt.h: Likewise.
73668         * crypt/crypt_util.c: Likewise.
73669         * ctype/ctype.h: Likewise.
73670         * debug/execinfo.h: Likewise.
73671         * debug/mbsnrtowcs_chk.c: Likewise.
73672         * debug/mbsrtowcs_chk.c: Likewise.
73673         * debug/wcsnrtombs_chk.c: Likewise.
73674         * debug/wcsrtombs_chk.c: Likewise.
73675         * debug/wcstombs_chk.c: Likewise.
73676         * dirent/dirent.h: Likewise.
73677         * dlfcn/dlfcn.h: Likewise.
73678         * elf/neededtest4.c: Likewise.
73679         * grp/grp.h: Likewise.
73680         * gshadow/gshadow.h: Likewise.
73681         * iconv/gconv.h: Likewise.
73682         * iconv/gconv_int.h: Likewise.
73683         * iconv/gconv_simple.c: Likewise.
73684         * iconv/iconv.h: Likewise.
73685         * iconv/loop.c: Likewise.
73686         * iconv/skeleton.c: Likewise.
73687         * include/aio.h: Likewise.
73688         * include/aliases.h: Likewise.
73689         * include/argz.h: Likewise.
73690         * include/arpa/inet.h: Likewise.
73691         * include/assert.h: Likewise.
73692         * include/dirent.h: Likewise.
73693         * include/dlfcn.h: Likewise.
73694         * include/execinfo.h: Likewise.
73695         * include/fcntl.h: Likewise.
73696         * include/fenv.h: Likewise.
73697         * include/glob.h: Likewise.
73698         * include/grp.h: Likewise.
73699         * include/libintl.h: Likewise.
73700         * include/mntent.h: Likewise.
73701         * include/netdb.h: Likewise.
73702         * include/pwd.h: Likewise.
73703         * include/rpc/netdb.h: Likewise.
73704         * include/sched.h: Likewise.
73705         * include/search.h: Likewise.
73706         * include/shadow.h: Likewise.
73707         * include/signal.h: Likewise.
73708         * include/stdio.h: Likewise.
73709         * include/stdlib.h: Likewise.
73710         * include/string.h: Likewise.
73711         * include/sys/socket.h: Likewise.
73712         * include/sys/stat.h: Likewise.
73713         * include/sys/statfs.h: Likewise.
73714         * include/sys/statvfs.h: Likewise.
73715         * include/sys/syslog.h: Likewise.
73716         * include/sys/time.h: Likewise.
73717         * include/sys/uio.h: Likewise.
73718         * include/time.h: Likewise.
73719         * include/unistd.h: Likewise.
73720         * include/utmp.h: Likewise.
73721         * include/wchar.h: Likewise.
73722         * include/wctype.h: Likewise.
73723         * inet/aliases.h: Likewise.
73724         * inet/arpa/inet.h: Likewise.
73725         * inet/netinet/ether.h: Likewise.
73726         * inet/netinet/in.h: Likewise.
73727         * intl/libintl.h: Likewise.
73728         * io/bits/fcntl2.h: Likewise.
73729         * io/fcntl.h: Likewise.
73730         * io/ftw.h: Likewise.
73731         * io/sys/poll.h: Likewise.
73732         * io/sys/stat.h: Likewise.
73733         * io/sys/statfs.h: Likewise.
73734         * io/sys/statvfs.h: Likewise.
73735         * io/utime.h: Likewise.
73736         * libio/bits/stdio.h: Likewise.
73737         * libio/bits/stdio2.h: Likewise.
73738         * libio/libio.h: Likewise.
73739         * libio/libioP.h: Likewise.
73740         * libio/stdio.h: Likewise.
73741         * locale/lc-ctype.c: Likewise.
73742         * locale/locale.h: Likewise.
73743         * login/utmp.h: Likewise.
73744         * malloc/arena.c: Likewise.
73745         * malloc/malloc.c: Likewise.
73746         * malloc/malloc.h: Likewise.
73747         * malloc/mcheck.c: Likewise.
73748         * malloc/mtrace.c: Likewise.
73749         * math/bits/mathcalls.h: Likewise.
73750         * math/fenv.h: Likewise.
73751         * math/math_private.h: Likewise.
73752         * misc/bits/error.h: Likewise.
73753         * misc/bits/syslog.h: Likewise.
73754         * misc/err.h: Likewise.
73755         * misc/error.h: Likewise.
73756         * misc/fstab.h: Likewise.
73757         * misc/mntent.h: Likewise.
73758         * misc/regexp.h: Likewise.
73759         * misc/search.h: Likewise.
73760         * misc/sgtty.h: Likewise.
73761         * misc/sys/mman.h: Likewise.
73762         * misc/sys/syslog.h: Likewise.
73763         * misc/sys/uio.h: Likewise.
73764         * misc/sys/xattr.h: Likewise.
73765         * misc/ttyent.h: Likewise.
73766         * nis/rpcsvc/ypclnt.h: Likewise.
73767         * nss/nss.h: Likewise.
73768         * posix/bits/unistd.h: Likewise.
73769         * posix/fnmatch.h: Likewise.
73770         * posix/glob.h: Likewise.
73771         * posix/sched.h: Likewise.
73772         * posix/spawn.h: Likewise.
73773         * posix/sys/wait.h: Likewise.
73774         * posix/unistd.h: Likewise.
73775         * posix/wordexp.h: Likewise.
73776         * pwd/pwd.h: Likewise.
73777         * resolv/netdb.h: Likewise.
73778         * resource/sys/resource.h: Likewise.
73779         * rt/aio.h: Likewise.
73780         * rt/bits/mqueue2.h: Likewise.
73781         * rt/mqueue.h: Likewise.
73782         * shadow/shadow.h: Likewise.
73783         * signal/signal.h: Likewise.
73784         * socket/send.c: Likewise.
73785         * socket/sendto.c: Likewise.
73786         * socket/sys/socket.h: Likewise.
73787         * stdio-common/printf.h: Likewise.
73788         * stdlib/bits/stdlib.h: Likewise.
73789         * stdlib/fmtmsg.h: Likewise.
73790         * stdlib/monetary.h: Likewise.
73791         * stdlib/stdlib.h: Likewise.
73792         * stdlib/ucontext.h: Likewise.
73793         * streams/stropts.h: Likewise.
73794         * string/argz.h: Likewise.
73795         * string/bits/string2.h: Likewise.
73796         * string/string.h: Likewise.
73797         * string/strings.h: Likewise.
73798         * sunrpc/rpc/auth.h: Likewise.
73799         * sunrpc/rpc/auth_des.h: Likewise.
73800         * sunrpc/rpc/clnt.h: Likewise.
73801         * sunrpc/rpc/netdb.h: Likewise.
73802         * sunrpc/rpc/pmap_clnt.h: Likewise.
73803         * sunrpc/rpc/xdr.h: Likewise.
73804         * sysdeps/generic/inttypes.h: Likewise.
73805         * sysdeps/generic/net/if.h: Likewise.
73806         * sysdeps/generic/sys/swap.h: Likewise.
73807         * sysdeps/gnu/net/if.h: Likewise.
73808         * sysdeps/gnu/utmpx.h: Likewise.
73809         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73810         * sysdeps/i386/i486/bits/string.h: Likewise.
73811         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73812         * sysdeps/s390/bits/string.h: Likewise.
73813         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73814         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73815         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73816         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73817         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73818         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73819         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73820         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73821         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73822         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73823         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73824         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73825         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73826         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73827         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73828         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73829         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73831         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73832         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73833         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73834         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73835         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73836         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73837         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73838         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73839         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73840         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73841         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73842         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73843         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73844         * sysvipc/sys/ipc.h: Likewise.
73845         * sysvipc/sys/msg.h: Likewise.
73846         * sysvipc/sys/sem.h: Likewise.
73847         * sysvipc/sys/shm.h: Likewise.
73848         * termios/termios.h: Likewise.
73849         * time/sys/time.h: Likewise.
73850         * time/time.h: Likewise.
73851         * wcsmbs/bits/wchar2.h: Likewise.
73852         * wcsmbs/uchar.h: Likewise.
73853         * wcsmbs/wchar.h: Likewise.
73854         * wctype/wctype.h: Likewise.
73856         [BZ #13551]
73857         * Makeconfig: Remove all but ELF support including AIX support.
73858         * Makerules: Likewise.
73859         * config.h.in: Likewise.
73860         * config.make.in: Likewise.
73861         * configure: Likewise.
73862         * configure.in: Likewise.
73863         * csu/Makefile: Likewise.
73864         * csu/version.c: Likewise.
73865         * debug/Makefile: Likewise.
73866         * dlfcn/Makefile: Likewise.
73867         * elf/Makefile: Likewise.
73868         * extra-lib.mk: Likewise.
73869         * iconv/Makefile: Likewise.
73870         * include/libc-symbols.h: Likewise.
73871         * include/shlib-compat.h: Likewise.
73872         * resolv/Makefile: Likewise.
73873         * resolv/res_libc.c: Likewise.
73874         * rt/Makefile: Likewise.
73875         * sysdeps/i386/asm-syntax.h: Likewise.
73876         * sysdeps/i386/sysdep.h: Likewise.
73877         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73878         * sysdeps/mach/sysdep.h: Likewise.
73879         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73880         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73881         * sysdeps/s390/asm-syntax.h: Likewise.
73882         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73883         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73884         * sysdeps/sh/sysdep.h: Likewise.
73885         * sysdeps/unix/sparc/sysdep.h: Likewise.
73886         * sysdeps/wordsize-32/divdi3.c: Likewise.
73887         * sysdeps/x86_64/sysdep.h: Likewise.
73889         * argp/Versions: Remove _argp_unlock_xxx.
73891         [BZ #13559]
73892         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73893         * abilist/libBrokenLocale.abilist: Likewise.
73894         * abilist/libanl.abilist: Likewise.
73895         * abilist/libc.abilist: Likewise.
73896         * abilist/libcrypt.abilist: Likewise.
73897         * abilist/libdl.abilist: Likewise.
73898         * abilist/libm.abilist: Likewise.
73899         * abilist/libnsl.abilist: Likewise.
73900         * abilist/libpthread.abilist: Likewise.
73901         * abilist/libresolv.abilist: Likewise.
73902         * abilist/librt.abilist: Likewise.
73903         * abilist/libthread_db.abilist: Likewise.
73904         * abilist/libutil.abilist: Likewise.
73905         * abilist/libnss_db.abilist: New file.
73907         * scripts/abilist.awk: Add support for indirect functions.
73909         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73911         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73913         * shlib-versions: Remove entries for ports architectures.
73915         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73916         files in ports.
73917         * elf/stackguard-macros.h: Remove support for IA-64.
73918         * elf/tst-auditmod1.c: Likewise.
73919         * sysdeps/generic/ldsodefs.h: Likewise.
73921         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73922         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73923         configure files.
73925         [BZ #13552]
73926         * configure.in: Remove --enable-omitfp support.
73927         * FAQ.in: Adjust.
73928         * config.make.in: Likewise.
73929         * Makeconfig: Likewise.
73930         * manual/install.texi: Likewise.
73932         In case anyone cares, the IA-64 architecture could move to ports.
73933         * sysdeps/ia64/*: Removed.
73934         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73935         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73937         [BZ #13555]
73938         * configure.in: Remove entries for unsupported architectures.
73940         [BZ #13533]
73941         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73942         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73943         routines.
73944         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73945         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73946         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73947         fall back to using wcrtomb.
73948         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73949         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73950         renaming.
73951         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73952         * wcsmbs/tst-c16c32-1.c: New file.
73954         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73955         local variable.
73957         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73959         * elf/tst-unique3.cc: Add explicit declaration of gets.
73960         * elf/tst-unique3lib.cc: Likewise.
73961         * elf/tst-unique3lib2.cc: Likewise.
73962         * elf/tst-unique4.cc: Likewise.
73964         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73966 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73968         [BZ #13566]
73969         * assert/assert.h (static_assert): Don't define for C++.
73970         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73971         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73973 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73975         * iconv/loop.c (single loop): Fix assertion in storing of
73976         remaining bytes.
73978         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73980 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73982         * posix/getconf.c: Update copyright year.
73983         * nss/getent.c: Likewise.
73984         * nss/makedb.c: Likewise.
73985         * iconv/iconvconfig.c: Likewise.
73986         * iconv/iconv_prog.c: Likewise.
73987         * elf/ldconfig.c: Likewise.
73988         * elf/pldd.c: Likewise.
73989         * elf/sotruss.ksh: Likewise.
73990         * catgets/gencat.c: Likewise.
73991         * csu/version.c: Likewise.
73992         * elf/ldd.bash.in: Likewise.
73993         * elf/sprof.c (print_version): Likewise.
73994         * locale/programs/locale.c: Likewise.
73995         * locale/programs/localedef.c: Likewise.
73996         * login/programs/pt_chown.c: Likewise.
73997         * nscd/nscd.c (print_version): Likewise.
73998         * debug/xtrace.sh: Likewise.
73999         * malloc/memusage.sh: Likewise.
74000         * malloc/mtrace.pl: Likewise.
74001         * debug/catchsegv.sh: Likewise.
74003 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74005         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74006         pure attribute.
74008 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74010         [BZ #13533]
74011         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74012         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74013         transformations.
74014         * iconv/gconv_int.h: Likewise.
74015         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74016         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74017         from libc for GLIBC_2.16.
74018         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74019         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74020         * wcsmbs/uchar.h: Really define mbstate_t.
74021         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74022         * wcsmbs/c16rtomb.c: New file.
74023         * wcsmbs/mbrtoc16.c: New file.
74024         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74025         for C/POSIX locale.
74026         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74027         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74029         * wcsmbs/wchar.h: Add missing __restrict.
74031 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74033         [BZ #13532]
74034         * time/Makefile (routines): Add timespec_get.
74035         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74036         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74037         timespec for ISO C11.
74038         * time/timespec_get.c: New file.
74039         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74040         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74042         [BZ #13531]
74043         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74044         * stdlib/stdlib.h: Declare aligned_alloc.
74045         * Versions.def: Add GLIBC_2.16 for libc.
74046         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74048         [BZ 13527]
74049         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74050         ISO C11.
74052         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74053         code.
74055         [BZ #13528]
74056         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74058         [BZ #13529]
74059         * assert/assert.h (static_assert): Define.
74061         * version.h: Update for 2.16 development version.
74063         [BZ #13526]
74064         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74065         _ISOC11_SOURCE.
74067         * version.h (RELEASE): Bump for 2.15 release.
74068         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74070         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74071         Patch by Marek Polacek <mpolacek@redhat.com>.
74073         * bits/byteswap.h: Protect long long constants with __extension__.
74074         * sysdeps/i386/bits/byteswap.h: Likewise.
74075         * sysdeps/ia64/bits/byteswap.h: Likewise.
74076         * sysdeps/s390/bits/byteswap.h: Likewise.
74077         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74079 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74081         [BZ #13540]
74082         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74083         destination buffer.
74084         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74086 2011-12-23  Marek Polacek  <polacek@redhat.com>
74088         * elf/dl-addr.c (determine_info): Add inline keyword.
74089         * elf/tst-auditmod4b.c (check_avx): Likewise.
74090         * elf/tst-auditmod6b.c (check_avx): Likewise.
74091         * elf/tst-auditmod6c.c (check_avx): Likewise.
74092         * elf/tst-auditmod7b.c (check_avx): Likewise.
74094 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74096         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74097         !__SSE_MATH__.
74099 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74101         [BZ #13540]
74102         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74103         processing for last bytes.
74105 2011-08-06  Bruno Haible  <bruno@clisp.org>
74107         [BZ #13061]
74108         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74109         U+0385, not to U+1FEE.
74111         [BZ #13062]
74112         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74113         entry for U+00A5 U+0301.
74115 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74117         [BZ #13166]
74118         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74119         buffer for the output is too small.
74121         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74122         optimization.
74124         [BZ #13185]
74125         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74126         SSE flags if possible.
74128 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74130         [BZ #13540]
74131         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74132         processing for last bytes.
74134 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74136         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74137         (syscall-list-default-options, syscall-list-default-condition)
74138         (syscall-list-includes): Define.
74139         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74140         list of ABIs and options and #if conditions for each ABI.  Do not
74141         handle common syscalls between ABIs specially.
74142         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74143         Remove.
74144         (syscall-list-variants, syscall-list-32bit-options)
74145         (syscall-list-32bit-condition, syscall-list-64bit-options)
74146         (syscall-list-64bit-condition): Define.
74147         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74148         (syscall-list-variants, syscall-list-32bit-options)
74149         (syscall-list-32bit-condition, syscall-list-64bit-options)
74150         (syscall-list-64bit-condition): Define.
74151         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74152         Remove.
74153         (syscall-list-variants, syscall-list-32bit-options)
74154         (syscall-list-32bit-condition, syscall-list-64bit-options)
74155         (syscall-list-64bit-condition): Define.
74156         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74157         Remove.
74158         (syscall-list-variants, syscall-list-32bit-options)
74159         (syscall-list-32bit-condition, syscall-list-64bit-options)
74160         (syscall-list-64bit-condition): Define.
74162 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74164         * locale/iso-639.def: Add brx entry.
74166         [BZ #13328]
74167         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74168         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74170         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74171         __feraiseexcept_renamed.
74173 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74175         [BZ #13538]
74176         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74177         EPOLLET with unsigned values.
74178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74179         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74181         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74182         to large cancellation.
74183         * math/s_cacoshf.c: Likewise.
74184         * math/s_cacoshl.c: Likewise.
74186 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74188         [BZ #13305]
74189         [BZ #12786]
74190         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74191         * math/s_cacoshf.c: Likewise.
74192         * math/s_cacoshl.c: Likewise.
74194 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74196         [BZ #13439]
74197         * iconv/gconv.h: Define __GCONV_SWAP.
74198         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74199         * iconvdata/utf-16.c: Likewise.
74200         * iconvdata/utf-32.c: Likewise.
74202 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74204         [BZ #13524]
74205         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74206         numerator after shifting it by one limb.
74208 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74210         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74211         under [__USE_EXTERN_INLINES].
74213 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74215         [BZ #13446]
74216         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74218 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74220         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74221         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74222         optimized code.
74223         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74224         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74225         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74226         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74227         for strncasecmp/strncasecmp_l compilation.
74228         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74229         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74231 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74233         [BZ #13484]
74234         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74235         of __asm__.
74237 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74239         [BZ #13506]
74240         * time/tzfile.c (__tzfile_read): Check values from file header.
74242 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74244         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74245         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74246         * powerpc/powerpc32/dl-start.S: Likewise.
74247         * powerpc/powerpc32/elf/start.S: Likewise.
74248         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74249         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74250         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74251         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74252         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74253         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74254         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74255         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74256         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74257         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74258         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74259         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74260         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74261         * powerpc/powerpc32/memset.S: Likewise.
74262         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74263         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74264         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74265         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74266         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74267         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74268         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74269         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74270         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74271         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74272         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74273         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74274         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74276 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74278         * math/libm-test.inc: Added more nearbyint tests.
74279         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74281         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74284 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74286         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74287         FD_CLOEXEC.
74289 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74291         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74292         Add wcscpy-ssse3 wcscpy-c.
74293         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74294         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74295         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74296         * sysdeps/x86_64/wcschr.S: New file.
74297         * sysdeps/x86_64/wcsrchr.S: New file.
74298         * string/test-strcmp.c: Remove checking of wcscmp function for
74299         wrong alignments.
74300         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74301         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74302         wcsrchr-sse2 wcsrchr-c.
74303         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74304         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74305         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74306         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74307         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74308         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74309         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74310         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74311         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74312         * wcsmbc/wcschr.c (WCSCHR): New macro.
74314 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74316         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74317         * wcsmbs/test-wcsrchr.c: New file.
74318         * string/test-strrchr.c: Add wcsrchr support.
74319         (WIDE): New macro.
74320         * wcsmbs/test-wcscpy.c: New file.
74321         * string/test-strcpy.c: Add wcscpy support.
74322         (WIDE): New macro.
74324 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74326         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74327         the inner loop.
74329 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74331         [BZ #13472]
74332         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74334 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74336         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74337         Minor optimizations.
74339         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74340         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74341         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74343 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74345         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74346         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74347         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74348         for gcc to avoid warnings.
74349         * inet/Makefile (tests): Add tst-checks.
74350         * inet/tst-checks.c: New file.
74352         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74353         warning.
74355         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74356         __wmemcmp_sse2.
74358         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74359         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74361         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74363 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74365         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74366         problem.
74368         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74370 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74372         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74373         conditional on GCC version.
74374         (__arch_compare_and_exchange_val_8_acq)
74375         (__arch_compare_and_exchange_val_16_acq)
74376         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74377         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74378         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74380 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74382         * sysdeps/sh/backtrace.c: New file.
74384 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74386         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74387         parenthesis.
74389 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74391         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74392         falling back to utime.
74394 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74396         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74397         expectations for float.
74399 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74401         * locale/weight.h (findidx): Add parameter len.
74402         * locale/weightwc.h (findidx): Likewise.
74403         * posix/fnmatch_loop.c (FCT): Adjust caller.
74404         * posix/regcomp.c (build_equiv_class): Likewise.
74405         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74406         * posix/regexec.c (check_node_accept_bytes): Likewise.
74407         * string/strcoll_l.c (STRCOLL): Likewise.
74408         * string/strxfrm_l.c (STRXFRM): Likewise.
74410 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74412         * Makefile.in: Remove CVSOPT handling.
74413         * configure.in: Remove use of AC_REVISION.
74414         * iconvdata/Makefile (distribute): No need to filter out CVS.
74415         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74416         handling.
74418 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74420         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74421         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74422         [USE_AS_STRNCASECMP_L]: Likewise.
74423         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74424         NO_TLS_DIRECT_SEG_REFS.
74425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74426         Fix argument offsets for non-PIC.
74427         [USE_AS_STRNCASECMP_L]: Likewise.
74428         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74429         NO_TLS_DIRECT_SEG_REFS.
74431 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74433         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74434         O_CLOEXEC.
74435         * locale/loadlocale.c (_nl_load_locale): Likewise.
74437 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74439         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74440         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74441         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74442         (SYSCALL_GETTIME): Set errno on error.
74444         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74445         count references to noai6ai_cached.
74447 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74449         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74451         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74452         FD_CLOEXEC for /proc/self/maps.
74454         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74455         FD_CLOEXEC for /proc/meminfo.
74457         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74458         gai.conf.
74460         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74461         FD_CLOEXEC for given file.
74463         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74465         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74466         FD_CLOEXEC for /etc/hosts.
74467         (_gethtent): Likewise.
74469         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74471         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74472         cancellation and set FD_CLOEXEC for /etc/netgroup.
74474         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74475         reading /etc/publickey.
74477         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74478         allow cancellation when reading /etc/group.
74480         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74481         cancellation.
74482         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74484         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74485         when using data file.
74487         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74489         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74490         (write_nis_obj): Use "c" and "e" in fopen.
74492         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74494         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74496         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74498         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74500         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74501         locale.alias.
74503         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74505         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74507         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74509         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74510         file parsing and set FD_CLOEXEC.
74512 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74514         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74516 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74518         * malloc/arena.c (arena_get2): Don't call reused_arena when
74519         _int_new_arena failed.
74521 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74523         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74524         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74526         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74527         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74529         to compile strcasecmp and strncasecmp.
74530         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74531         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74533         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74535 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74537         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74538         locale-defines.sym to gen-as-const-headers.
74539         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74540         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74542         to compile strcasecmp and strncasecmp.
74543         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74544         strcasecmp_l and strncasecmp_l.
74545         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74546         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74547         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74548         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74549         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74550         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74551         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74552         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74553         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74554         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74555         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74557 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74559         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74560         result of SYSDEP_GETTIME_CPU to retval.
74561         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74562         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74564         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74565         variable.
74567         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74568         mantissa words.
74569         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74571         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74572         from unused variable.
74574         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74575         DWARF definitions.
74576         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74577         for assembling.
74579         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74580         over namespaces.
74582         * sunrpc/rpc_prot.c (rejected): Fix case value.
74584         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74585         unsigned long long int to avoid warnings in shift.
74587         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74588         of use of trans.
74589         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74590         variable tmp.
74592         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74593         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74594         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74596         * nis/nis_table.c (nis_list): Use variable of correct type for
74597         result of __follow_path call.
74599 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74601         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74602         of math functions ceil, trunc, floor, round, and sqrt, when
74603         avaliable on the platform.
74604         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74605         name clash.
74606         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74607         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74608         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74610 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74612         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74613         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74615 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74617         * include/unistd.h: Fix __readlink return type.
74618         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74620 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74622         * stdlib/ucontext.h: Undo last change for makecontext.
74624 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74626         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74628         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74629         * setjmp/setjmp.h: Mark functions as non-leaf.
74630         * setjmp/bits/setjmp2.h: Likewise.
74631         * stdlib/ucontext.h: Likewise.
74633 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74635         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74636         (reused_arena): Don't check arena limit.
74637         (arena_get2): Atomically check arena limit.
74639 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74641         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74642         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74645         instructions.
74647 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74649         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74650         handler when locking.
74652         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74653         Fix size of allocated buffer.
74655 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74657         [BZ #10103]
74658         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74659         declarations for long double functions.
74660         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74662         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74664 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74666         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74667         installed.
74669         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74670         is disabled.
74672 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74674         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74676 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74678         * include/alloca.h (stackinfo_alloca_round): Define.
74679         (extend_alloca): Use it.
74680         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74681         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74682         here.
74684         * scripts/check-local-headers.sh: Ignore libaudit.h.
74686         * nscd/Makefile (extra-objs): Make recursively expanded.
74688 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74690         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74691         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74693         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74694         * posix/tst-rfc3484-2.c: Likewise.
74695         * posix/tst-rfc3484-3.c: Likewise.
74697         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74698         process_vm_writev.
74699         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74700         process_vm_writev.
74701         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74702         process_vm_writev from libc using GLIBC_2.15 version.
74704         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74706 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74708         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74709         stack usage.
74711 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74713         [BZ #13367]
74714         * nss/getent.c (initgroups_keys): Show error message in case no group
74715         names are given.
74717         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74718         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74719         __bump_nl_timestamp.
74720         * nscd/connections (nscd_init): When host database is served open
74721         netlink socket and request notification about configuration changes.
74722         (main_loop_poll): Track netlink file descriptor and bump timestamp
74723         in case data becomes available.
74724         (main_loop_epoll): Likewise.
74725         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74726         (database_pers_head): Add extra_data fileds.
74727         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74728         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74729         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74730         Adjust caller.
74731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74732         in6ai data, call __free_in6ai.
74733         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74734         Add -DHAVE_NETLINK.
74735         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74736         interface information.  Reuse previous data if netlink timestamp
74737         is not changed.
74738         (__bump_nl_timestamp): New function.
74739         (__free_in6ai): New function.
74741 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74743         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74744         close_not_cancel_no_status here.
74745         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74747 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74749         [BZ #13276]
74750         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74751         return value.
74753         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74754         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74755         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74757 2011-07-03  Andreas Jaeger  <aj@suse.de>
74759         [BZ #10709]
74760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74761         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74762         * math/libm-test.inc (sin_test): Add test case.
74764 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74766         [BZ #13337]
74767         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74768         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74770         * elf/chroot_canon.c (chroot_canon): Cleanups.
74772         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74774         [BZ #13335]
74775         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74776         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74778         * string/test-strchr.c: Make usable for strchrnul testing.
74779         * string/test-strchrnul.c: New file.
74780         * string/Makefile (strop-tests): Add strchrnul.
74782         * po/it.po: Update from translation team.
74783         * po/es.po: Likewise.
74785 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74787         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74788         the three constants needed as parameters.  Drop the others.
74789         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74790         __m128i_strloadu_tolower.
74791         Create and initialize variable zero and use it in all the places
74792         where _mm_setzero_si128 was used.
74794         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74795         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74796         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74797         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74798         anymore.
74799         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74800         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74801         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74802         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74803         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74804         __mpranred, __mptan.
74805         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74806         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74807         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74808         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74809         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74810         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74811         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74812         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74813         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74815 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74817         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74818         redefine if SHARED.
74819         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74821         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74822         wide char related routines to wcsmbs subdir.
74824 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74826         [BZ #13344]
74827         * misc/sys/cdefs.h (__THROWNL): Define.
74828         * posix/unistd.h: Use __THREADNL instead of __THREAD
74829         for memory synchronization functions.
74831 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74833         [BZ #13349]
74834         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74835         doesn't exist.
74836         * manual/stdio.texi (Obstack Streams): Node removed.
74838 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74840         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74841         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74842         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74844         * math/math_private.h (math_force_eval): Allow non-addressable
74845         arguments.
74846         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74848 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74850         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74851         file is not needed.
74853         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74856         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74860         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74861         Add AVX variants.
74862         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74863         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74864         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74865         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74866         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74867         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74868         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74869         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74870         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74871         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74872         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74873         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74874         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74875         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74876         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74877         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74878         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74879         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74880         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74882         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74883         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74885         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74886         place.  Use VEX encoding when compiling for AVX.
74888 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74890         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74891         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74893         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74895 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74897         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74898         useless if() expression.
74899         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74900         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74901         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74902         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74903         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74904         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74905         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74906         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74907         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74909         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74910         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74911         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74912         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74913         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74914         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74915         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74916         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74917         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74919         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74921 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74923         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74924         condition.
74925         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74927 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74929         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74930         .text section.  Avoid duplicate constants.
74931         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74933         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74935         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74940         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74941         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74942         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74943         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74944         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74945         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74946         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74947         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74948         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74949         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74950         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74951         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74952         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74953         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74954         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74955         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74956         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74957         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74958         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74959         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74960         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74961         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74962         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74963         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74964         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74965         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74966         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74967         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74968         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74969         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74970         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74971         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74972         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74973         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74974         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74975         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74977 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74979         * sysdeps/x86_64/dla.h: Move to ...
74980         * sysdeps/x86_64/fpu/dla.h: ...here.
74981         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74982         situations.  Use __builtin_fma only for gcc 4.6 and up.
74984         * config.make.in: Add have-mfma4 entry.
74985         * configure.in: Substitute libc_cv_cc_fma4.
74986         * math/Makefile (dbl-only-routines): Add sincostab.
74987         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74988         Use __sincostab not sincos.
74989         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74990         name is a macro.
74991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74995         using __copysign.
74996         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74997         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74998         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74999         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75000         and __inv.
75001         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75002         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75003         __copysign.
75004         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75005         define aliases when function name is a macro.
75006         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75007         sysdeps/ieee754/dbl-64/sincos.tbl.
75008         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75009         fma4-enabled routines.
75010         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75011         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75012         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75013         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75014         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75015         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75016         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75017         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75018         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75019         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75020         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75021         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75022         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75023         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75024         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75025         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75026         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75027         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75028         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75030         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75031         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75033         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75034         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75035         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75036         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75037         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75038         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75039         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75041         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75042         rename.
75043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75052 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75054         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75056 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75058         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75060         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75061         prediction.
75062         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75064         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75065         Remove unused variable magic_bits.
75066         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75068         * string/strnlen.c: Define and use STRNLEN macro.
75069         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75070         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75071         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75072         * wcsmbs/wcslen.c: Define and use WCSLEN.
75073         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75074         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75075         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75076         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75077         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75078         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75079         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75081 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75084         strnlen-sse2-no-bsf.
75085         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75086         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75087         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75088         Add strnlen support.
75089         (USE_AS_STRNLEN): New macro.
75090         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75091         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75092         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75093         * sysdeps/x86_64/wcslen.S: New file.
75095 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75098         XMM-moves are used for copying on small sizes.
75100 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75102         * wcsmbs/Makefile (strop-tests): Add wcschr.
75103         * wcsmbs/test-wcschr.c: New file.
75104         * string/test-strchr.c: Update.
75105         Add wcschr support.
75106         (WIDE): New macro.
75108 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75110         * wcsmbs/Makefile (strop-tests): Add wcslen.
75111         * wcsmbs/test-wcslen.c: New file.
75112         * string/test-strlen.c: Update.
75113         Add wcslen support.
75114         (WIDE): New macro.
75116 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75118         * po/it.po: Update from translation team.
75120 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75122         * sysdeps/x86_64/wcscmp.S: Update.
75123         Fix wrong comparison semantics.
75124         wcscmp shall use signed comparison not unsigned.
75125         Don't use substraction to avoid overflow bug.
75126         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75127         * wcsmbc/wcscmp.c: Likewise.
75128         * string/test-strcmp.c: Likewise.
75129         Add new tests to check cases with negative values.
75131 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75133         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75134         * sysdeps/x86_64/dla.h: ...here.  New file.
75135         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75136         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75137         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75138         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75139         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75140         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75142         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75143         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75145 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75148         __ynl_finite aliases.
75150 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75154         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75155         define DLA_FMA.
75156         [DLA_FMA] (EMULV): Use DLA_FMA.
75157         [DLA_FMA] (MUL12): Use EMULV.
75158         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75159         that are not needed.
75160         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75161         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75164         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75166         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75168 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75170         * math/s_nan.c: Undef __nan.
75171         * math/s_nanf.c: Undef __nanf.
75172         * math/s_nanl.c: Undef __nanl.
75173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75174         "math_private.h".
75176 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75178         * math/s_catan.c: Add branch predictions.
75179         * math/s_catanf.c: Likewise.
75180         * math/s_catanh.c: Likewise.
75181         * math/s_catanhf.c: Likewise.
75182         * math/s_catanhl.c: Likewise.
75183         * math/s_catanl.c: Likewise.
75184         * math/s_cexp.c: Likewise.
75185         * math/s_cexpf.c: Likewise.
75186         * math/s_cexpl.c: Likewise.
75187         * math/s_clog.c: Likewise.
75188         * math/s_clog10.c: Likewise.
75189         * math/s_clog10f.c: Likewise.
75190         * math/s_clog10l.c: Likewise.
75191         * math/s_clogf.c: Likewise.
75192         * math/s_clogl.c: Likewise.
75193         * math/s_csqrt.c: Likewise.
75194         * math/s_csqrtf.c: Likewise.
75195         * math/s_csqrtl.c: Likewise.
75196         * math/s_ctanf.c: Likewise.
75197         * math/s_ctanh.c: Likewise.
75198         * math/s_ctanhf.c: Likewise.
75199         * math/s_ctanhl.c: Likewise.
75200         * math/s_ctanl.c: Likewise.
75202         * math/math_private.h: Define __nan, __nanf, __nanl.
75203         * math/s_cacosh.c: Include <math_private.h>.
75204         * math/s_cacoshl.c: Likewise.
75205         * math/s_casinh.c: Likewise.
75206         * math/s_casinhf.c: Likewise.
75207         * math/s_casinhl.c: Likewise.
75208         * math/s_ccos.c: Rely entire on ccosh.
75209         * math/s_ccosf.c: Rely entire on ccoshf.
75210         * math/s_ccosl.c: Rely entirely on ccoshl.
75211         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75212         Remove tests for FE_INVALID.
75213         * math/s_ccoshf.c: Likewise.
75214         * math/s_ccoshl.c: Likewise.
75215         * math/s_csin.c: Likewise.
75216         * math/s_csinf.c: Likewise.
75217         * math/s_csinh.c Likewise.
75218         * math/s_csinhf.c: Likewise.
75219         * math/s_csinhl.c: Likewise.
75220         * math/s_csinl.c: Likewise.
75221         * math/s_ctan.c: Likewise.
75222         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75223         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75224         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75226 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75229         compilation problems.
75231         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75232         __builtin_expect.
75234 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75236         * sysdeps/i386/configure.in: Test for -mfma4 option.
75237         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75238         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75239         COMMON_CPUID_INDEX_80000001.
75240         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75241         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75242         use it if FMA3 is not supported.
75243         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75245         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75246         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75248 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75250         [BZ #12892]
75251         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75252         it would create a cycle with a link time dependency.
75254 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75256         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75257         instruction.
75258         * string/Makefile (strop-tests): Add rawmemchr.
75259         * string/test-rawmemchr.c: New file.
75261         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75262         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75263         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75264         when compiling str{,n}casecmp and when AVX is available.  Hook up
75265         new optimized code in initializers.
75267 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75269         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75270         __feraiseexcept instead of feraiseexcept.
75272 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75274         * math/math_private.h: Define defaults for libc_fetestexcept and
75275         libc_feupdateenv.
75276         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75277         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75278         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75279         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75280         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75281         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75282         libc_fetestexcept and libc_feupdateenv.
75284         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75285         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75286         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75287         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75288         libc_feholdexcept_setround.
75290         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75291         Add s_nearbyint-c and s_nearbyintf-c.
75292         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75293         nearbyintf inlines.
75294         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75295         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75296         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75297         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75299         * math/math_private.h: Define defaults for libc_fegetround,
75300         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75301         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75302         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75303         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75304         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75305         standard functions.
75306         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75307         Remove comments and hacks for old compiler versions.
75308         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75309         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75310         libc_feholdexceptl.
75312 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75314         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75315         (__feraiseexcept_renamed): Add __NTH.
75316         (feraiseexcept): Add __NTH.  Rename local variables to fix
75317         namespace violations.
75319 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75321         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75323         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75325         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75326         recently added interfaces.
75327         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75329         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75330         about macro parameter expansion.
75332         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75333         __NO_MATH_INLINES is defined.  Cleanups.
75335         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75336         and __floorf is target has SSE4.1.
75337         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75338         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75339         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75340         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75342         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75343         name.
75344         (floorf): Likewise.
75346         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75348 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75350         * misc/sys/cdefs.h: Fix last change.
75352         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75353         database lookup.
75355 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75357         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75359         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75361         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75362         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75363         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75364         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75365         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75366         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75367         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75368         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75369         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75370         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75371         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75372         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75373         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75374         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75375         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75376         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75377         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75378         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75379         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75380         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75382         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75383         ceil, ceilf, floor, floorf.
75385         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75386         Perform IRELATIVE relocations last.
75388         * elf/do-rel.h: Add another parameter nrelative, replacing the
75389         local variable with the same name.  Change name of the function
75390         to end in Rel or Rela (uppercase).
75391         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75392         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75393         elf_dynamic_do_##reloc function.
75395 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75397         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75398         is sufficient, at least on modern CPUs.
75400         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75402         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75403         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75405         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75406         __expl_finite.
75407         * math/bits/math-finite.h: Add entries for exp.
75408         * math/e_expl.c: Add __*_finite alias.
75409         * sysdeps/i386/fpu/e_exp.S: Likewise.
75410         * sysdeps/i386/fpu/e_expf.S: Likewise.
75411         * sysdeps/i386/fpu/e_expl.c: Likewise.
75412         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75413         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75414         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75415         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75416         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75417         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75418         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75420         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75421         is sufficient, at least on modern CPUs.
75423         * ctype/ctype-info.c (__ctype_init): Define.
75424         * include/ctype.h (__ctype_init): Declare.
75425         (__ctype_b_loc): The variable is always initialized.
75426         (__ctype_toupper_loc): Likewise.
75427         (__ctype_tolower_loc): Likewise.
75428         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75429         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75431 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75433         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75435         * configure.in: Also look in $cxxmachine/include for C++ system
75436         headers.
75438 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75440         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75441         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75442         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75443         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75445         (USE_AS_WMEMCMP): New macro.
75446         Fixing indents.
75447         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75448         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75449         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75450         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75452         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75453         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75454         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75455         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75456         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75457         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75458         (USE_AS_WMEMCMP): New macro.
75459         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75460         * sysdeps/string/test-memcmp.c: Update.
75461         Fix simple_wmemcmp.
75462         Add new tests.
75463         * wcsmbs/wmemcmp.c: Update.
75464         (WMEMCMP): New macro.
75465         Fix overflow bug.
75467 2011-10-12  Andreas Jaeger  <aj@suse.de>
75469         [BZ #13268]
75470         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75472 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75474         * libio/iofwide.c (do_length): Avoid warning.
75476         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75478 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75480         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75482         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75483         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75484         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75485         * sysdeps/i386/i686/fpu/e_log.S: New file.
75486         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75487         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75489         * ctype/ctype.h: Add support for inlined isXXX functions when
75490         compiling C++ code.
75492 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75494         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75496         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75498 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75500         [BZ #13291]
75501         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75503 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75505         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75506         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75507         feraiseexcept.
75509         * sysdeps/x86_64/memrchr.S: Check for zero size.
75511         * string/stratcliff.c: Add memrchr tests.
75513 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75515         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75516         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75517         rawmemchr-sse2 rawmemchr-sse2-bsf.
75518         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75519         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75520         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75521         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75522         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75523         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75524         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75525         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75526         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75527         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75528         * string/memrchr.c (MEMRCHR): New macro.
75530 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75532         Add integration with gcc's -ffinite-math-only and optimize wrapper
75533         functions in libm.
75534         * Versions.def: Define GLIBC_2.15 version for libm.
75535         * math/Makefile (headers): Add bits/math-finite.h.
75536         * math/bits/math-finite.h: New file.
75537         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75538         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75539         * math/e_acoshl.c: Add __*_finite alias.
75540         * math/e_acosl.c: Likewise.
75541         * math/e_asinl.c: Likewise.
75542         * math/e_atan2l.c: Likewise.
75543         * math/e_atanhl.c: Likewise.
75544         * math/e_coshl.c: Likewise.
75545         * math/e_exp10.c: Likewise.
75546         * math/e_exp10f.c: Likewise.
75547         * math/e_exp10l.c: Likewise.
75548         * math/e_exp2l.c: Likewise.
75549         * math/e_fmodl.c: Likewise.
75550         * math/e_gammal_r.c: Likewise.
75551         * math/e_hypotl.c: Likewise.
75552         * math/e_j0l.c: Likewise.
75553         * math/e_j1l.c: Likewise.
75554         * math/e_jnl.c: Likewise.
75555         * math/e_lgammal_r.c: Likewise.
75556         * math/e_log10l.c: Likewise.
75557         * math/e_log2l.c: Likewise.
75558         * math/e_logl.c: Likewise.
75559         * math/e_powl.c: Likewise.
75560         * math/e_sinhl.c: Likewise.
75561         * math/e_sqrtl.c: Likewise.
75562         * math/e_scalb.c: Completely rewritten and optimized.
75563         * math/e_scalbf.c: Likewise.
75564         * math/e_scalbl.c: Likewise.
75565         * math/w_acos.c: Likewise.
75566         * math/w_acosf.c: Likewise.
75567         * math/w_acosl.c: Likewise.
75568         * math/w_acosh.c: Likewise.
75569         * math/w_acoshf.c: Likewise.
75570         * math/w_acoshl.c: Likewise.
75571         * math/w_asin.c: Likewise.
75572         * math/w_asinf.c: Likewise.
75573         * math/w_asinl.c: Likewise.
75574         * math/w_atan2.c: Likewise.
75575         * math/w_atan2f.c: Likewise.
75576         * math/w_atan2l.c: Likewise.
75577         * math/w_atanh.c: Likewise.
75578         * math/w_atanhf.c: Likewise.
75579         * math/w_atanhl.c: Likewise.
75580         * math/w_exp10.c: Likewise.
75581         * math/w_exp10f.c: Likewise.
75582         * math/w_exp10l.c: Likewise.
75583         * math/w_fmod.c: Likewise.
75584         * math/w_fmodf.c: Likewise.
75585         * math/w_fmodl.c: Likewise.
75586         * math/w_j0.c: Likewise.
75587         * math/w_j0f.c: Likewise.
75588         * math/w_j0l.c: Likewise.
75589         * math/w_j1.c: Likewise.
75590         * math/w_j1f.c: Likewise.
75591         * math/w_j1l.c: Likewise.
75592         * math/w_jn.c: Likewise.
75593         * math/w_jnf.c: Likewise.
75594         * math/w_log.c: Likewise.
75595         * math/w_logf.c: Likewise.
75596         * math/w_logl.c: Likewise.
75597         * math/w_log10.c: Likewise.
75598         * math/w_log10f.c: Likewise.
75599         * math/w_log10l.c: Likewise.
75600         * math/w_log2.c: Likewise.
75601         * math/w_log2f.c: Likewise.
75602         * math/w_log2l.c: Likewise.
75603         * math/w_pow.c: Likewise.
75604         * math/w_powf.c: Likewise.
75605         * math/w_powl.c: Likewise.
75606         * math/w_remainder.c: Likewise.
75607         * math/w_remainderf.c: Likewise.
75608         * math/w_remainderl.c: Likewise.
75609         * math/w_scalb.c: Likewise.
75610         * math/w_scalbf.c: Likewise.
75611         * math/w_scalbl.c: Likewise.
75612         * math/w_sqrt.c: Likewise.
75613         * math/w_sqrtf.c: Likewise.
75614         * math/w_sqrtl.c: Likewise.
75615         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75616         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75617         used.
75618         * math/math_private.h: Declare __kernel_standard_f.
75619         * math/w_cosh.c: Remove cruft and optimize a bit.
75620         * math/w_coshf.c: Likewise.
75621         * math/w_coshl.c: Likewise.
75622         * math/w_exp2.c: Likewise.
75623         * math/w_exp2f.c: Likewise.
75624         * math/w_exp2l.c: Likewise.
75625         * math/w_hypot.c: Likewise.
75626         * math/w_hypotf.c: Likewise.
75627         * math/w_hypotl.c: Likewise.
75628         * math/w_lgamma.c: Likewise.
75629         * math/w_lgamma_r.c: Likewise.
75630         * math/w_lgammaf.c: Likewise.
75631         * math/w_lgammaf_r.c: Likewise.
75632         * math/w_lgammal.c: Likewise.
75633         * math/w_lgammal_r.c: Likewise.
75634         * math/w_sinh.c: Likewise.
75635         * math/w_sinhf.c: Likewise.
75636         * math/w_sinhl.c: Likewise.
75637         * math/w_tgamma.c: Likewise.
75638         * math/w_tgammaf.c: Likewise.
75639         * math/w_tgammal.c: Likewise.
75640         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75641         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75642         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75643         Minor optimizations.  Pretty printing.  Remove cruft.
75644         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75645         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75646         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75647         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75648         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75649         * sysdeps/i386/fpu/e_asin.S: Likewise.
75650         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75651         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75652         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75653         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75654         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75655         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75656         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75657         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75658         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75659         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75660         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75661         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75662         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75663         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75664         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75665         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75666         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75667         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75668         * sysdeps/i386/fpu/e_log.S: Likewise.
75669         * sysdeps/i386/fpu/e_log10.S: Likewise.
75670         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75671         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75672         * sysdeps/i386/fpu/e_log2.S: Likewise.
75673         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75674         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75675         * sysdeps/i386/fpu/e_logf.S: Likewise.
75676         * sysdeps/i386/fpu/e_logl.S: Likewise.
75677         * sysdeps/i386/fpu/e_pow.S: Likewise.
75678         * sysdeps/i386/fpu/e_powf.S: Likewise.
75679         * sysdeps/i386/fpu/e_powl.S: Likewise.
75680         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75681         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75682         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75683         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75684         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75685         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75686         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75687         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75688         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75689         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75690         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75692         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75693         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75694         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75695         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75696         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75697         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75698         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75699         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75700         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75702         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75703         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75705         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75706         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75707         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75708         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75709         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75710         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75711         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75712         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75713         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75714         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75715         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75716         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75717         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75718         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75719         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75720         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75721         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75722         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75723         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75724         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75725         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75726         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75727         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75728         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75729         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75730         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75766         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75769         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75770         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75772         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75774         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75775         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75777         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75780         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75781         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75782         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75783         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75784         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75785         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75786         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75787         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75788         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75789         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75790         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75791         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75792         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75793         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75794         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75795         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75796         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75797         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75798         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75799         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75800         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75801         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75802         (__isnanf): Likewise.
75803         (__isinf_ns): Likewise.
75804         (__isinf_nsf): Likewise.
75805         (__finite): Likewise.
75806         (__finitef): Likewise.
75807         (__ieee754_sqrt): Define as macro.
75808         (__ieee754_sqrtf): Define as macro.
75809         (__ieee754_sqrtl): Define as macro.
75810         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75811         inlined copy.
75812         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75813         __FINITE_MATH_ONLY__ consistent.
75814         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75816 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75818         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75819         of rawmemchr.
75821         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75823 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75825         * po/ja.po: Update from translation team.
75827 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75829         * locale/programs/locarchive.c (prepare_address_space): New function.
75830         (create_archive, enlarge_archive, open_archive): Use it.
75832         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75833         inside [SHARED], where it is used.
75835         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75837         * nss/getent.c (netgroup_keys): Remove unused variable.
75838         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75840 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75842         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75843         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75845         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75846         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75847         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75848         * math/Makefile (libm-calls): Add s_isinf_ns.
75849         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75850         * math/multc3.c: Likewise.
75851         * math/s_casin.c: Likewise.
75852         * math/s_casinf.c: Likewise.
75853         * math/s_casinl.c: Likewise.
75854         * math/s_ccos.c: Likewise.
75855         * math/s_ccosf.c: Likewise.
75856         * math/s_ccosl.c: Likewise.
75857         * math/s_ctan.c: Likewise.
75858         * math/s_ctanf.c: Likewise.
75859         * math/s_ctanh.c: Likewise.
75860         * math/s_ctanhf.c: Likewise.
75861         * math/s_ctanhl.c: Likewise.
75862         * math/s_ctanl.c: Likewise.
75863         * math/w_fmod.c: Likewise.
75864         * math/w_fmodf.c: Likewise.
75865         * math/w_fmodl.c: Likewise.
75866         * math/w_remainder.c: Likewise.
75867         * math/w_remainderf.c: Likewise.
75868         * math/w_remainderl.c: Likewise.
75869         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75870         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75872         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75873         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75874         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75875         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75876         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75878         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75879         of the number.
75880         * stdio-common/printf_fphex.c: Likewise.
75881         * stdio-common/printf_size.c: Likewise.
75883         * math/e_exp10.c: Include math_private.h using <...> not "...".
75884         * math/e_exp10f.c: Likewise.
75885         * math/e_exp10l.c: Likewise.
75886         * math/e_exp2l.c: Likewise.
75887         * math/e_j0l.c: Likewise.
75888         * math/e_j1l.c: Likewise.
75889         * math/e_jnl.c: Likewise.
75890         * math/e_lgammal_r.c: Likewise.
75891         * math/e_rem_pio2l.c: Likewise.
75892         * math/e_scalb.c: Likewise.
75893         * math/e_scalbf.c: Likewise.
75894         * math/e_scalbl.c: Likewise.
75895         * math/k_cosl.c: Likewise.
75896         * math/k_sinl.c: Likewise.
75897         * math/k_tanl.c: Likewise.
75898         * math/s_cacoshf.c: Likewise.
75899         * math/s_catan.c: Likewise.
75900         * math/s_catanf.c: Likewise.
75901         * math/s_catanh.c: Likewise.
75902         * math/s_catanhf.c: Likewise.
75903         * math/s_catanhl.c: Likewise.
75904         * math/s_catanl.c: Likewise.
75905         * math/s_ccosh.c: Likewise.
75906         * math/s_ccoshf.c: Likewise.
75907         * math/s_ccoshl.c: Likewise.
75908         * math/s_cexp.c: Likewise.
75909         * math/s_cexpf.c: Likewise.
75910         * math/s_cexpl.c: Likewise.
75911         * math/s_clog.c: Likewise.
75912         * math/s_clog10.c: Likewise.
75913         * math/s_clog10f.c: Likewise.
75914         * math/s_clog10l.c: Likewise.
75915         * math/s_clogf.c: Likewise.
75916         * math/s_clogl.c: Likewise.
75917         * math/s_csin.c: Likewise.
75918         * math/s_csinf.c: Likewise.
75919         * math/s_csinh.c: Likewise.
75920         * math/s_csinhf.c: Likewise.
75921         * math/s_csinhl.c: Likewise.
75922         * math/s_csinl.c: Likewise.
75923         * math/s_csqrt.c: Likewise.
75924         * math/s_csqrtf.c: Likewise.
75925         * math/s_csqrtl.c: Likewise.
75926         * math/s_ctan.c: Likewise.
75927         * math/s_ctanf.c: Likewise.
75928         * math/s_ctanh.c: Likewise.
75929         * math/s_ctanhf.c: Likewise.
75930         * math/s_ctanhl.c: Likewise.
75931         * math/s_ctanl.c: Likewise.
75932         * math/s_ldexp.c: Likewise.
75933         * math/s_ldexpf.c: Likewise.
75934         * math/s_ldexpl.c: Likewise.
75935         * math/s_significand.c: Likewise.
75936         * math/s_significandf.c: Likewise.
75937         * math/s_significandl.c: Likewise.
75938         * math/w_acos.c: Likewise.
75939         * math/w_acosf.c: Likewise.
75940         * math/w_acosh.c: Likewise.
75941         * math/w_acoshf.c: Likewise.
75942         * math/w_acoshl.c: Likewise.
75943         * math/w_acosl.c: Likewise.
75944         * math/w_asin.c: Likewise.
75945         * math/w_asinf.c: Likewise.
75946         * math/w_asinl.c: Likewise.
75947         * math/w_atan2.c: Likewise.
75948         * math/w_atan2f.c: Likewise.
75949         * math/w_atan2l.c: Likewise.
75950         * math/w_atanh.c: Likewise.
75951         * math/w_atanhf.c: Likewise.
75952         * math/w_atanhl.c: Likewise.
75953         * math/w_cosh.c: Likewise.
75954         * math/w_coshf.c: Likewise.
75955         * math/w_coshl.c: Likewise.
75956         * math/w_dremf.c: Likewise.
75957         * math/w_exp10.c: Likewise.
75958         * math/w_exp10f.c: Likewise.
75959         * math/w_exp10l.c: Likewise.
75960         * math/w_exp2.c: Likewise.
75961         * math/w_exp2f.c: Likewise.
75962         * math/w_fmod.c: Likewise.
75963         * math/w_fmodf.c: Likewise.
75964         * math/w_fmodl.c: Likewise.
75965         * math/w_hypot.c: Likewise.
75966         * math/w_hypotf.c: Likewise.
75967         * math/w_hypotl.c: Likewise.
75968         * math/w_j0.c: Likewise.
75969         * math/w_j0f.c: Likewise.
75970         * math/w_j0l.c: Likewise.
75971         * math/w_j1.c: Likewise.
75972         * math/w_j1f.c: Likewise.
75973         * math/w_j1l.c: Likewise.
75974         * math/w_jn.c: Likewise.
75975         * math/w_jnf.c: Likewise.
75976         * math/w_jnl.c: Likewise.
75977         * math/w_lgamma.c: Likewise.
75978         * math/w_lgamma_r.c: Likewise.
75979         * math/w_lgammaf.c: Likewise.
75980         * math/w_lgammaf_r.c: Likewise.
75981         * math/w_lgammal.c: Likewise.
75982         * math/w_lgammal_r.c: Likewise.
75983         * math/w_log.c: Likewise.
75984         * math/w_log10.c: Likewise.
75985         * math/w_log10f.c: Likewise.
75986         * math/w_log10l.c: Likewise.
75987         * math/w_log2.c: Likewise.
75988         * math/w_log2f.c: Likewise.
75989         * math/w_log2l.c: Likewise.
75990         * math/w_logf.c: Likewise.
75991         * math/w_logl.c: Likewise.
75992         * math/w_pow.c: Likewise.
75993         * math/w_powf.c: Likewise.
75994         * math/w_powl.c: Likewise.
75995         * math/w_remainder.c: Likewise.
75996         * math/w_remainderf.c: Likewise.
75997         * math/w_remainderl.c: Likewise.
75998         * math/w_scalb.c: Likewise.
75999         * math/w_scalbf.c: Likewise.
76000         * math/w_scalbl.c: Likewise.
76001         * math/w_sinh.c: Likewise.
76002         * math/w_sinhf.c: Likewise.
76003         * math/w_sinhl.c: Likewise.
76004         * math/w_sqrt.c: Likewise.
76005         * math/w_sqrtf.c: Likewise.
76006         * math/w_sqrtl.c: Likewise.
76007         * math/w_tgamma.c: Likewise.
76008         * math/w_tgammaf.c: Likewise.
76009         * math/w_tgammal.c: Likewise.
76011         * po/ja.po: Update from translation team.
76013 2011-09-29  Andreas Jaeger  <aj@suse.de>
76015         [BZ #13179]
76016         * sunrpc/netname.c (netname2host): Fix logic.
76018         [BZ #6779]
76019         [BZ #6783]
76020         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76021         correctly.
76022         * math/w_remainder.c (__remainder): Likewise.
76023         * math/w_remainderf.c (__remainderf): Likewise.
76024         * math/libm-test.inc (remainder_test): Add test cases.
76026 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76028         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76029         sdiv_qrnnd.
76031 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76033         * string/test-memcmp.c: Avoid unncessary #defines.
76034         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76036 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76038         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76039         Use new sse2 version for core i3 - i7 as it's faster
76040         than sse42 version.
76041         (bit_Prefer_PMINUB_for_stringop): New.
76042         * sysdeps/x86_64/rawmemchr.S: Update.
76043         Replace with faster SSE2 version.
76044         * sysdeps/x86_64/memrchr.S: New file.
76045         * sysdeps/x86_64/memchr.S: Update.
76046         Replace with faster SSE2 version.
76048 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76050         * elf/dl-load.c (lose): Add cast to avoid warning.
76052 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76054         * po/ca.po: Update from translation team.
76056         * inet/getnetgrent_r.c: Hook up nscd.
76057         * nscd/Makefile (routines): Add nscd_netgroup.
76058         (nscd-modules): Add netgroupcache.
76059         (CFLAGS-netgroupcache.c): Define.
76060         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76061         (cache_search): Add const to second parameter.
76062         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76063         INNETGR.
76064         (dbs): Add netgrdb entry.
76065         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76066         (verify_persistent_db): Handle netgrdb.
76067         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76068         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76069         GETFDNETGR.
76070         (netgroup_response_header): Define.
76071         (innetgroup_response_header): Define.
76072         (datahead): Add netgroup_response_header and innetgroup_response_header
76073         elements.
76074         * nscd/nscd.conf: Add entries for netgroup cache.
76075         * nscd/nscd.h (dbtype): Add netgrdb.
76076         (_PATH_NSCD_NETGROUP_DB): Define.
76077         (netgroup_iov_disabled): Declare.
76078         (xmalloc, xcalloc, xrealloc): Move declarations here.
76079         (cache_search): Adjust prototype.
76080         Add netgroup-related prototypes.
76081         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76082         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76083         (__nscd_innetgr): Declare.
76084         * nscd/selinux.c (perms): Use access_vector_t as element type and
76085         add netgroup-related initializers.
76086         * nscd/netgroupcache.c: New file.
76087         * nscd/nscd_netgroup.c: New file.
76088         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76089         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76090         For four parameters use innetgr.
76091         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76092         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76093         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76094         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76096         * nscd/connections.c (register_traced_file): Don't register file
76097         for disabled databases.
76099 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76101         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76103         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76104         from tree and freeing node.
76106 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76108         * nss/nsswitch.c (__nss_database_lookup): Handle
76109         nss_parse_service_list out of memory case.
76111 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76113         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76114         out of memory case.
76116 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76118         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76119         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76120         pass it down.
76121         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76122         elf_machine_rela, elf_machine_lazy_rel.
76123         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76124         (ELF_DYNAMIC_DO_REL): Likewise.
76125         (ELF_DYNAMIC_DO_RELA): Likewise.
76126         (ELF_DYNAMIC_RELOCATE): Likewise.
76127         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76128         to ELF_DYNAMIC_DO_REL.
76129         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76130         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76131         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76132         elf_machine_rela.
76133         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76134         skip_ifunc, don't call ifunc function if non-zero.
76135         (elf_machine_rela): Likewise.
76136         (elf_machine_lazy_rel): Likewise.
76137         (elf_machine_lazy_rela): Likewise.
76138         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76139         (elf_machine_lazy_rel): Likewise.
76140         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76141         Likewise.
76142         (elf_machine_lazy_rel): Likewise.
76143         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76144         Likewise.
76145         (elf_machine_lazy_rel): Likewise.
76146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76147         (elf_machine_lazy_rel): Likewise.
76148         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76149         (elf_machine_lazy_rel): Likewise.
76150         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76151         (elf_machine_lazy_rel): Likewise.
76152         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76153         (elf_machine_lazy_rel): Likewise.
76154         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76155         (elf_machine_lazy_rel): Likewise.
76156         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76157         (elf_machine_lazy_rel): Likewise.
76159 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76161         * nss/nss_files/files-init.c (_nss_files_init): Use static
76162         initialization for all the *_traced_file variables.
76164 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76166         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76168 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76170         [BZ #13226]
76171         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76173 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76175         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76176         Reread the line before reparsing it.
76178 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76180         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76182 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76183             Maxim Kuvyrkov  <maxim@codesourcery.com>
76184             Joseph Myers  <joseph@codesourcery.com>
76186         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76187         if needed for __stack_chk_guard.
76189 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76191         * sysdeps/posix/spawni.c (script_execute): Always define it.
76192         It will be optimized away if unused.
76193         (maybe_script_execute): New function.
76194         (__spawni): Call it.
76196         * Makerules: Don't include tls.make.
76197         (config-tls): Always set to thread.
76198         * tls.make.c: File removed.
76200 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76202         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76203         * config.make.in (CPPFLAGS-config): New substituted variable.
76205 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76207         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76209         [BZ #13192]
76210         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76211         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76213 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76215         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76216         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76217         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76218         (CALL_FAIL): Likewise.
76219         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76220         (CALL_FAIL): Macro removed.
76221         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76223 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76225         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76226         for __FINITE_MATH_ONLY__ == 1.
76228 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76230         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76231         __ieee754_sqrt instead of sqrt.
76232         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76233         __ieee754_sqrtf instead of sqrtf.
76234         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76235         __floorf instead of floorf.
76236         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76237         __floorf, __truncf instead of floorf, truncf.
76239 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76241         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76243         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76244         __extern_always_inline.
76245         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76246         32-bit.
76248 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76250         * elf/rtld.c (dl_main): Also relocate in dependency order when
76251         doing symbol dependency testing.
76253 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76256         Always define `refsym'.
76258 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76260         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76261         (__FD_ELT): Renamed from __FDELT.
76262         * misc/bits/select2.h (__FD_ELT): Likewise.
76263         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76264         __FD_MASK instead of __FDELT, __FDMASK.
76265         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76266         Likewise.
76267         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76268         Likewise.
76270         * elf/Makefile (gen-ldd): Fix pattern.
76272         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76273         (init_tls): Likewise.
76275 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76277         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76279 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76281         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76282         `struct cmsghdr *' instead of `void *'.
76283         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76284         Likewise.
76286 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76288         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76289         if non-absolute.
76290         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76291         ldd_rewrite_script.
76293 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76295         * configure.in: Remove --with-tls option.
76296         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76297         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76298         out in case it is missing.
76299         * sysdeps/ia64/elf/configure.in: Likewise.
76300         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76301         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76302         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76303         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76304         * sysdeps/sh/elf/configure.in: Likewise.
76305         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76306         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76307         * sysdeps/x86_64/elf/configure.in: Likewise.
76308         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76309         * sysdeps/mach/hurd/tls.h: Likewise.
76311         [BZ #13067]
76312         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76314         [BZ #13090]
76315         * configure.in: Fix use of AC_INIT.
76317         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76319 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76321         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76322         __set_errno.
76323         * malloc/hooks.c: Likewise.
76325         [BZ #11929]
76326         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76327         variables statically.
76328         (narenas): Initialize.
76329         (list_lock): Initialize.
76330         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76331         initializtion of main_arena and list_lock.  Small cleanups.
76332         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76333         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76334         Add initializers to main_arena and mp_.
76335         (malloc_state): Remove pagesize member.  Change all users to use
76336         GLRO(dl_pagesize).
76338         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76339         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76340         is always initialized.
76342         * malloc/malloc.c: Removed unused configurations and dead code.
76343         * malloc/arena.c: Likewise.
76344         * malloc/hooks.c: Likewise.
76345         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76347         * include/tls.h: Removed.  USE___THREAD must always be defined.
76348         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76349         * elf/dl-libc.c: Likewise.
76350         * elf/dl-tsd.c: Likewise.
76351         * include/errno.h: Likewise.
76352         * include/netdb.h: Likewise.
76353         * include/resolv.h: Likewise.
76354         * inet/herrno-loc.c: Likewise.
76355         * inet/herrno.c: Likewise.
76356         * malloc/arena.c: Likewise.
76357         * malloc/hooks.c: Likewise.
76358         * malloc/malloc.c: Likewise.
76359         * resolv/res-state.c: Likewise.
76360         * resolv/res_libc.c: Likewise.
76361         * sysdeps/i386/dl-machine.h: Likewise.
76362         * sysdeps/ia64/dl-machine.h: Likewise.
76363         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76364         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76365         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76366         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76367         * sysdeps/sh/dl-machine.h: Likewise.
76368         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76369         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76370         * sysdeps/unix/i386/sysdep.S: Likewise.
76371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76372         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76373         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76375         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76377         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76381         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76382         * sysdeps/x86_64/dl-machine.h: Likewise.
76383         * tls.make.c: Likewise.
76385         * configure.in: Remove --with-__thread option.  Make tests for
76386         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76387         tls_model attribute fail if no support is available.  Remove
76388         USE_IN_LIBIO.
76389         * Makeconfig: Adjust for dropped configure option.  All features are
76390         now mandatory.
76391         * Makerules: Likewise.
76392         * Versions.def: Likewise.
76393         * argp/argp-fmtstream.c: Likewise.
76394         * argp/argp-fmtstream.h: Likewise.
76395         * argp/argp-help.c: Likewise.
76396         * assert/assert.c: Likewise.
76397         * config.h.in: Likewise.
76398         * config.make.in: Likewise.
76399         * configure: Likewise.
76400         * configure.in: Likewise.
76401         * csu/Versions: Likewise.
76402         * csu/init.c: Likewise.
76403         * elf/tst-audit2.c: Likewise.
76404         * elf/tst-tls10.c: Likewise.
76405         * elf/tst-tls10.h: Likewise.
76406         * elf/tst-tls11.c: Likewise.
76407         * elf/tst-tls12.c: Likewise.
76408         * elf/tst-tls14.c: Likewise.
76409         * elf/tst-tlsmod11.c: Likewise.
76410         * elf/tst-tlsmod12.c: Likewise.
76411         * elf/tst-tlsmod13.c: Likewise.
76412         * elf/tst-tlsmod13a.c: Likewise.
76413         * elf/tst-tlsmod14a.c: Likewise.
76414         * elf/tst-tlsmod15b.c: Likewise.
76415         * elf/tst-tlsmod16a.c: Likewise.
76416         * elf/tst-tlsmod16b.c: Likewise.
76417         * elf/tst-tlsmod7.c: Likewise.
76418         * elf/tst-tlsmod8.c: Likewise.
76419         * elf/tst-tlsmod9.c: Likewise.
76420         * gmon/gmon.c: Likewise.
76421         * grp/fgetgrent_r.c: Likewise.
76422         * grp/putgrent.c: Likewise.
76423         * hurd/fopenport.c: Likewise.
76424         * include/libc-symbols.h: Likewise.
76425         * include/tls.h: Likewise.
76426         * intl/gettextP.h: Likewise.
76427         * intl/loadinfo.h: Likewise.
76428         * locale/global-locale.c: Likewise.
76429         * locale/localeinfo.h: Likewise.
76430         * mach/devstream.c: Likewise.
76431         * malloc/arena.c: Likewise.
76432         * malloc/set-freeres.c: Likewise.
76433         * misc/err.c: Likewise.
76434         * misc/getttyent.c: Likewise.
76435         * misc/mntent_r.c: Likewise.
76436         * posix/getopt.c: Likewise.
76437         * posix/wordexp.c: Likewise.
76438         * pwd/fgetpwent_r.c: Likewise.
76439         * resolv/Versions: Likewise.
76440         * resolv/res_hconf.c: Likewise.
76441         * shadow/fgetspent_r.c: Likewise.
76442         * shadow/putspent.c: Likewise.
76443         * stdio-common/printf_fphex.c: Likewise.
76444         * stdio-common/tmpfile.c: Likewise.
76445         * stdlib/abort.c: Likewise.
76446         * stdlib/fmtmsg.c: Likewise.
76447         * sunrpc/auth_unix.c: Likewise.
76448         * sunrpc/clnt_perr.c: Likewise.
76449         * sunrpc/clnt_tcp.c: Likewise.
76450         * sunrpc/clnt_udp.c: Likewise.
76451         * sunrpc/clnt_unix.c: Likewise.
76452         * sunrpc/openchild.c: Likewise.
76453         * sunrpc/svc_simple.c: Likewise.
76454         * sunrpc/svc_tcp.c: Likewise.
76455         * sunrpc/svc_udp.c: Likewise.
76456         * sunrpc/svc_unix.c: Likewise.
76457         * sunrpc/xdr.c: Likewise.
76458         * sunrpc/xdr_array.c: Likewise.
76459         * sunrpc/xdr_rec.c: Likewise.
76460         * sunrpc/xdr_ref.c: Likewise.
76461         * sunrpc/xdr_stdio.c: Likewise.
76463 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76465         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76467 2011-07-03  Andreas Jaeger  <aj@suse.de>
76469         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76470         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76471         regenerate with gen-libm-tests.pl.
76473 2010-05-12  Petr Baudis  <pasky@suse.cz>
76475         [BZ #11589]
76476         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76477         around j0() zero points by switching to j1().
76478         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76479         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76481         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76483 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76485         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76486         instead of 0.
76487         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76488         instead of 0.
76489         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76490         Patch in part by Pavel Roskin <proski@gnu.org>.
76492         [BZ #13138]
76493         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76494         realloc.
76495         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76496         Free memory block if necessary.
76498         [BZ #12847]
76499         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76500         be NULL.  Don't lock in this case.
76502 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76504         * elf/elf.h (ELFOSABI_GNU): New macro.
76505         (ELFOSABI_LINUX): Define to that.
76507 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76509         * string/strncat.c (strncat): Undef the symbol in case it has been
76510         defined in bits/string.h.
76512 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76514         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76516         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76517         link map.
76519 2011-08-17  Andreas Jaeger  <aj@suse.de>
76521         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76523 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76524             Ian Lance Taylor  <iant@google.com>
76526         * math/libm-test.inc (lround_test): New testcase.
76527         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76529 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76531         * Makefile: Remove support for automatic cvs check-ins.
76532         * Makerules: Likewise.
76533         * config.make.in: Likewise.
76534         * configure.in: Likewise.
76535         * intl/Makefile: Likewise.
76536         * locale/Makefile: Likewise.
76537         * po/Makefile: Likewise.
76538         * posix/Makefile: Likewise.
76539         * sysdeps/gnu/Makefile: Likewise.
76540         * sysdeps/mach/hurd/Makefile: Likewise.
76541         * sysdeps/sparc/sparc32/Makefile: Likewise.
76543         [BZ #13118]
76544         * posix/Makefile (bug-regex32-ENV): Define.
76545         Patch by John Stanley <jpsinthemix@verizon.net>.
76547         * misc/Makefile (headers): Add bits/select2.h.
76548         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76549         * misc/bits/select2.h: New file.
76550         * include/bits/select2.h: New file.
76551         * debug/Makefile (routines): Add fdelt_chk.
76552         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76553         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76554         FD_ISSET.
76555         * debug/fdelt_chk.c: New file.
76557         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76558         * wcsmbs/test-wmemcmp.c: Likewise.
76559         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76560         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76562 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76564         * string/Makefile (strop-tests): Add memcmp.
76565         * string/test-wmemcmp.c: New file.
76566         * string/test-memcmp.c: Add wmemcmp support.
76568 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76570         [BZ #13153]
76571         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76572         2011-07-19 change.
76574         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76575         garbage value in a __mach_port_mod_refs call in the cases of the
76576         task-self and thread-self ports.
76578 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76580         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76582 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76584         * elf/dl-load.c (lose): Check for non-null L.
76586 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76588         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76590         * elf/dl-libc.c (dlerror_run): Pass back error code from
76591         dl_catch_error.
76593         [BZ #13123]
76594         * elf/dl-load.c (lose): Free l_origin if it is valid.
76596         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76597         names.
76598         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76599         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76600         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76601         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76602         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76603         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76605 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76607         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76608         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76609         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76610         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76611         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76612         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76613         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76614         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76615         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76616         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76618 2011-08-15  Alan Modra  <amodra@gmail.com>
76620         [BZ #13092]
76621         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76622         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76623         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76624         ppc_mcount to static-only-routines.
76625         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76626         __mcount_internal.
76627         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76628         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76630 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76632         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76633         for finite and infinity parameters.
76635 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76637         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76638         and add nop instructions for throughput optimization.
76639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76641 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76643         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76644         aligned copy for power7 with vector-scalar instructions.
76645         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76647 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76649         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76650         AVX check.
76652 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76654         [BZ #13144]
76655         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76656         last change.
76658 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76660         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76661         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76662         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76663         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76664         clock_gettime.
76666 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76668         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76669         Forgot to demangle the pointer.
76671         * sysdeps/i386/sysdep.h: Define atom_text_section.
76672         * sysdeps/x86_64/sysdep.h: Likewise.
76673         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76674         section with atom_text_section.
76675         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76676         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76677         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76678         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76679         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76681         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76682         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76683         already be defined.  Change to take two parameters and don't assign
76684         result to variable.  Adjust all users.
76685         Define INTERNAL_GETTIME if not already defined.
76686         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76687         call.
76688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76689         HAVE_CLOCK_GETTIME_VSYSCALL.
76690         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76693         gettimeofday vsyscall, just use time.
76695 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76697         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76698         <errno.h>.
76700 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76702         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76703         syscall on x86-64.
76704         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76705         syscall.
76706         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76707         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76708         syscall if possible.
76710 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76712         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76713         e_ident.  Don't pass to find_mapsXX.
76714         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76716 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76719         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76720         * sysdeps/x86_64/multiarch/strchr.S: Update.
76721         Check bit_slow_BSF bit.
76722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76723         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76724         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76726 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76728         [BZ #13134]
76729         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76730         before glibc 2.15.
76731         (tryshell): Define.
76732         (__spawni): Change last parameter to be flag.  Test
76733         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76734         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76735         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76736         * posix/spawni.c: Likewise.
76737         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76738         * posix/spawnp.c: Likewise.  Change normal version to use
76739         SPAWN_XFLAGS_USE_PATH.
76740         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76741         SPAWN_XFLAGS_TRY_SHELL.
76743         [BZ #13150]
76744         * posix/glob.h: Remove gcc 1.x support.
76746         [BZ #13068]
76747         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76749 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76752         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76753         strrchr-sse2-bsf
76754         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76755         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76756         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76757         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76758         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76759         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76761 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76763         * sysdeps/x86_64/wcscmp.S: New file.
76765         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76766         wcscmp-c wcscmp-sse2
76767         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76768         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76769         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76770         * wcsmbs/wcscmp.c: Allow renaming.
76772 2011-09-05  David S. Miller  <davem@davemloft.net>
76774         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76775         stack slot, rather than the struct return pointer slot.
76776         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76777         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76779         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76781 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76783         * po/ja.po: Update from translation team.
76785         [BZ #13144]
76786         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76787         kernel in 64-bit binaries.
76789 2011-09-01  David S. Miller  <davem@davemloft.net>
76791         * elf/elf.h (HWCAP_SPARC_*): Move to..
76792         * sysdeps/sparc/sysdep.h: this new file and add new values.
76793         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76794         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76795         _DL_HWCAP_COUNT to 24.
76796         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76797         entries.
76798         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76799         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76800         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76801         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76802         instead of magic constants.
76803         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76805 2011-08-31  David S. Miller  <davem@davemloft.net>
76807         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76809         Reimplement to do errno handling inline.
76810         (SYSCALL_ERROR_HANDLER): New macro.
76811         (__SYSCALL_STRING): Do not do errno handling in asm.
76812         (__CLONE_SYSCALL_STRING): Delete.
76813         (__INTERNAL_SYSCALL_STRING): Delete.
76814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76815         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76816         (PSEUDO): Reimplement to do errno handling inline.
76817         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76818         (SYSCALL_ERROR_HANDLER): New macro.
76819         (__SYSCALL_STRING): Do not do errno handling in asm.
76820         (__CLONE_SYSCALL_STRING): Delete.
76821         (__INTERNAL_SYSCALL_STRING): Delete.
76822         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76823         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76824         i386.
76825         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76826         (inline_syscall*): Add 'err' argument.
76827         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76828         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76829         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76830         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76832         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76833         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76835 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76837         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76839 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76841         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76842         directive.
76844 2011-08-24  David S. Miller  <davem@davemloft.net>
76846         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76848 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76850         * elf/Makefile: Add rules to build and run unload8 test.
76851         * elf/unload8.c: New file.
76852         * elf/unload8mod1.c: New file.
76853         * elf/unload8mod1x.c: New file.
76854         * elf/unload8mod2.c: New file.
76855         * elf/unload8mod3.c: New file.
76857         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76858         it wasn't used.
76860 2011-08-23  David S. Miller  <davem@davemloft.net>
76862         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76863         subtract stack bias.
76864         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76865         %sp not %fp in calculations.
76866         (_JMPBUF_UNWINDS_ADJ): Likewise.
76868         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76869         (aio_suspend): Call it to force an exception region around the
76870         AIO_MISC_WAIT() invocation.
76872 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76874         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76875         backslash.
76877 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76879         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76880         protection macro.
76881         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76882         and <dl-machine.h>.
76883         (Elf64_FuncDesc): Remove.
76885 2011-08-22  David S. Miller  <davem@davemloft.net>
76887         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76888         sigaltstack check, add missing cfi directives.
76889         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76890         missing cfi directives, and sigaltstack handling.
76892 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76894         [BZ #11724]
76895         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76896         object is seen twice.
76897         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76899         * elf/Makefile (distribute): Add tst-initorder2.c.
76900         (tests): Add tst-initorder2.
76901         (modules-names): Add tst-initorder2a tst-initorder2b
76902         tst-initorder2c tst-initorder2d.  Add rules to build them.
76903         ($(objpfx)tst-initorder2.out): New rule.
76904         * elf/tst-initorder2.c: New file.
76905         * elf/tst-initorder2.exp: New file.
76907 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76909         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76911         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76912         dependencies back to end of function.
76914         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76915         $(elfobjdir)/ld.so.
76917 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76920         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76922         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76923         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76924         of __vdso_gettimeofday.
76925         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76926         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76927         attribute_hidden.
76928         (_libc_vdso_platform_setup): Remove initialization of
76929         __vdso_gettimeofday and __vdso_time.
76931 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76933         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76934         and fgetc_unlocked.
76935         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76936         getc_unlocked.
76938         * elf/dl-open.c (add_to_global): Report additions to the global scope
76939         for LD_DEBUG=scopes.
76940         (dl_open_worker): Also print scope of newly loaded dependencies.
76941         (_dl_show_scope): Indicate if there is no scope.
76943         [BZ #13114]
76944         * stdio-common/Makefile (tests): Add bug24.
76945         * stdio-common/bug24.c: New file.
76947 2011-08-19  Andreas Jaeger  <aj@suse.de>
76949         [BZ #13114]
76950         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76951         non-existant file when using close-on-exec mode.
76953 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76956         the very first instruction.
76958         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76959         the CFI state in the end.
76960         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76961         inclusion of dl-trampoline.h.
76962         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76964 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76966         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76967         expectations for long double.
76969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76970         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76972 2011-08-14  David S. Miller  <davem@davemloft.net>
76974         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76975         artificual limit depends upon the system page size.
76977 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76979         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76980         * resolv/Makefile: Define CFLAGS-libresolv.
76982 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76984         * nss/makedb.c (compute_tables): Make variables used in nested
76985         function static.
76987 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76989         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76990         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76991         if buffer was too small.
76993         * elf/pldd.c (main): Attach to all threads in the process.
76994         Rewrite /proc handling to use *at functions.
76996 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76998         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76999         specifies first scope to show.
77000         (dl_open_worker): Update callers.  Move printing scope of new
77001         object to before the relocation.
77002         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77003         * sysdeps/generic/ldsodefs.h: Update declaration.
77005         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77006         string for the scope number.
77008 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77010         * nscd/servicescache.c (cache_addserv): Make sure written is always
77011         initialized.
77013 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77015         * sysdeps/i386/i486/bits/atomic.h
77016         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77017         statement expression, so as to suppress "set but not used" warning.
77018         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77020         * string/strncat.c (STRNCAT): Use prototype definition.
77022         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77023         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77024         -Iprograms here.
77025         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77026         (localedef-modules): Add localedef.
77027         (locale-modules): Add locale.
77029         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77030         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77031         to avoid a warning.
77033 2011-08-14  David S. Miller  <davem@davemloft.net>
77035         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77036         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77038 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77040         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77041         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77042         * elf/rtld.c (dl_main): Set l_name of vDSO.
77043         Call _dl_show_scope when DL_DEBUG_SCOPES.
77044         (process_dl_debug): Recognize scopes flag and also set it for all.
77045         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77046         Declare _dl_show_scope.
77048         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77049         (do_dlopen): Pass caller_dlopen to dl_open.
77050         (__libc_dlopen_mode): Initialize caller_dlopen.
77052         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77053         of libc.  Make tolower call locale-independent.  Optimize a bit by
77054         using isdigit instead of isalnum.
77055         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77057 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77059         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77060         was a dependency or dynamically loaded.
77062 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77064         * intl/l10nflist.c: Allow architecture-specific pop function.
77065         * sysdeps/x86_64/l10nflist.c: New file.
77067         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77068         classification.
77070 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77072         * include/dirent.h: Add libc_hidden_proto for scandirat and
77073         scandirat64.  Don't declare __scandirat64.
77074         * dirent/scandirat.c: Add libc_hidden_def.
77075         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77076         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77078 2011-08-10  David S. Miller  <davem@davemloft.net>
77080         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77081         enum.
77082         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77083         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77084         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77086 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77088         * Versions.def [libc]: Add GLIBC_2.15.
77089         * dirent/Makefile (routines): Add scandirat and scandirat64.
77090         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77091         GLIBC_2.15.
77092         * dirent/dirent.h: Declare scandirat and scandirat64.
77093         * dirent/scandirat.c: New file.
77094         * dirent/scandirat64.c: New file.
77095         * sysdeps/wordsize-64/scandirat.c: New file.
77096         * sysdeps/wordsize-64/scandirat64.c: New file.
77097         * dirent/opendir.c: Define opendirat.
77098         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77099         using scandirat.
77100         * dirent/scandir64.c: Adjust for scandir.c change.
77101         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77102         __scandirat64, and __scandir_cancel_handler.
77103         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77104         additional parameter and use openat instead of open (outside of ld.so).
77105         Add new __opendir as wrapper around __opendirat.
77106         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77107         here without requiring old scandirat implementation.
77109 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77111         * dirent/scandir.c (cancel_handler): Renamed to
77112         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77113         defined.  Adjust users.
77114         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77115         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77117 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77119         * string/test-string.h (IMPL): Use __STRING to expand name and then
77120         stringify it.
77122         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77123         of cleanups.
77125 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77127         * string/Makefile: Update.
77128         (strop-tests): Append strncat.
77129         * string/test-wcscmp.c: New file.
77130         New comprehensive test for wcscmp.
77131         * string/test-strcmp.c: Update.
77132         (WIDE): New define.
77134 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77136         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77137         line.
77139 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77142         encoding to ACE if AI_IDN.
77144 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77146         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77147         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77149 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77151         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77152         Fix overflow bug in strncat.
77153         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77155         * string/test-strncat.c: Update.
77156         Add new tests for checking overflow bugs.
77158 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77161         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77162         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77163         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77164         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77165         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77166         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77167         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77168         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77170         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77171         (USE_AS_STRCAT): Define.
77172         Add strcat and strncat support.
77173         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77175 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77177         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77178         __n bigger than INT_MAX+1.
77179         (__strncmp_g): Likewise.
77181 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77183         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77184         * libio/stido.h: Likewise.
77186         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77187         (AF_NFC): Define.
77188         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77189         (AF_NFC): Define.
77191         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77194         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77195         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77197         [BZ #13021]
77198         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77199         installed.
77201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77202         typo.
77203         (_dl_x86_64_save_sse): Likewise.
77205 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77207         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77208         OSXSAVE.
77209         (_dl_x86_64_save_sse): Likewise.
77211         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77213         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77215 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77217         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77218         change.
77219         (_dl_x86_64_save_sse): Use correct AVX check.
77221 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77224         bug in strncpy/strncat.
77225         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77227 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77229         * string/tester.c (test_strcat): Add tests for different alignments
77230         of source and destination.
77231         (test_strncat): Likewise.
77233 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77235         [BZ #12852]
77236         * posix/glob.c (glob): Check passed in values before using them in
77237         expressions to avoid some overflows.
77238         (glob_in_dir): Likewise.
77240         [BZ #13007]
77241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77242         check for AVX enablement so that we don't crash with old kernels and
77243         new hardware.
77244         * elf/tst-audit4.c: Add same checks here.
77245         * elf/tst-audit6.c: Likewise.
77247         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77249 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77251         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77253 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77255         * po/cs.po: Update from translation team.
77256         * po/bg.po: Likewise.
77258 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77260         * misc/sys/cdefs.h: Add support for const attribute.
77261         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77262         to gnu_dev_{major,minor,makedev} functions.
77264 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77266         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77268 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77270         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77271         strlen results.
77273 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77276         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77277         register in order to avoid conflicts with the soft frame pointer
77278         being held in r11 when necessary.
77279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77280         (INTERNAL_VSYSCALL_NCS): Likewise.
77282 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77284         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77285         * elf/dl-fini.c (_dl_fini): Adjust caller.
77286         * elf/dl-close.c (_dl_close_worker): Likewise.
77287         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77289 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77291         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77292         "aux_cache->nlibs < 0".
77294         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77295         in the reload-count case.
77297 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77300         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77301         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77302         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77303         * sysdeps/x86_64/multiarch/strcat.S: New file.
77304         * sysdeps/x86_64/multiarch/strncat.S: New file.
77305         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77306         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77307         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77308         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77309         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77310         (USE_AS_STRCAT): Define.
77311         Add strcat and strncat support.
77312         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77313         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77314         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77315         * string/strncat.c: Update.
77316         (USE_AS_STRNCAT): Define.
77317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77318         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77319         and i7.
77320         * sysdeps/x86_64/multiarch/init-arch.h
77321         (bit_Prefer_PMINUB_for_stringop): New.
77322         (index_Prefer_PMINUB_for_stringop): Likewise.
77323         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77324         bit_Prefer_PMINUB_for_stringop.
77326 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77328         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77329         buffer64.
77330         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77331         of casting of buffer.
77332         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77333         buffer32 and buffer64.
77334         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77335         writes instead of casting of buffer.
77336         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77337         buffer32.
77338         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77339         casting of buffer.
77341 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77343         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77345 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77347         * nscd/nscd.c (termination_handler): Don't do anything for a database
77348         if it has not yet been initialized.
77350 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77352         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77354 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77356         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77358 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77360         * po/nl.po: Update from translation team.
77361         * po/sv.po: Likewise.
77363 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77365         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77366         now disallowed by GCC.
77368         * configure.in (use-default-link): Default to yes if a test -shared
77369         link meets our qualifications.
77370         * configure: Regenerated.
77372         * config.make.in (output-format): New variable.
77373         * configure.in: Check for ld --print-output-format support.
77374         * configure: Regenerated.
77375         * Makerules ($(common-objpfx)format.lds)
77376         [$(output-format) != unknown]: Just use $(output-format),
77377         instead of the linker-script munging.
77379 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77381         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77382         of $(common-objpfx)shlib.lds.
77383         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77385         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77386         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77388         * configure.in (-z relro check): Adjust test code to add a large
77389         writable data section after it.
77390         * configure: Regenerated.
77392 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77394         * configure.in (-z relro check): Fix test code to make the variable
77395         truly const.
77396         * configure: Regenerated.
77398 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77400         * nscd/nscd.h (struct traced_file): Define.
77401         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77402         elements.  Add traced_files.
77403         (inotify_fd): Declare.
77404         (register_traced_file): Declare.
77405         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77406         (inotify_fd): Export.
77407         (resolv_conf_descr): Remove.
77408         (nscd_init): Move inotify descriptor creation to main.
77409         Don't register files for notification here.
77410         (register_traced_file): New function.
77411         (invalidate_cache): Don't use reset_res to determine whether to call
77412         res_init, go through the list of registered files.
77413         (main_loop_poll): The inotify descriptors are now stored in the
77414         structures for the traced files.
77415         (main_loop_epoll): Likewise.
77416         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77417         to __nss_disable_nscd.
77418         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77419         for a database anymore.  Check the records for all the registered
77420         files instead.
77421         * nss/Makefile (libnss_files-routines): Add files-init.
77422         (libnss_db-routines): Add db-init.
77423         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77424         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77425         * nss/nss_db/db-init.c: New file.
77426         * nss/nss_files/files-init.c: New file.
77427         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77428         __nss_lookup_function.
77429         (__nss_lookup_function): Call nss_load_library.
77430         (nss_load_all_libraries): New function.
77431         (__nss_disable_nscd): Take parameter with callback function for files
77432         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77433         used for the cached services.
77434         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77435         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77436         options for features to all the files in nscd.
77438         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77440 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77442         * csu/elf-init.c (__libc_csu_init): Comment typo.
77444 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77446         * po/pl.po: Update from translation team.
77447         * po/ja.po: Likewise.
77448         * po/ru.po: Likewise.
77449         * po/ko.po: Likewise.
77450         * po/fr.po: Likewise.
77452 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77454         * configure.in (.ctors/.dtors header and trailer check):
77455         Use an empirical test on a built program.
77456         * configure: Regenerated.
77458         * configure.in (-z relro check): Use an empirical test on a built DSO.
77459         Detect, but do not require, on ia64.
77460         * configure: Regenerated.
77462         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77463         Update tests that use readelf to use $READELF instead.
77464         * configure: Regenerated.
77466 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77468         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77469         if the result is not used.
77471 2011-07-05  Andreas Jaeger  <aj@suse.de>
77473         [BZ#9696]
77474         * stdlib/tst-strtod.c: Add testcase.
77476 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77478         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77479         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77480         The latter has a higher limit.  Take additional parameter to pass to
77481         the new function.
77482         (__pathconf): Pass file to __statfs_link_max.
77483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77484         __statfs_link_max.
77485         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77486         __statfs_link_max.
77488         [BZ #12868]
77489         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77490         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77491         Handle Lustre.
77492         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77493         (__statfs_filesize_max): Likewise.
77494         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77496 2011-07-05  Andreas Jaeger  <aj@suse.de>
77498         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77500 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77502         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77503         `status' variable.
77504         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77505         Likewise.
77507 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77509         * Makefile (strop-tests): Add strncat.
77510         * string/test-strncat.c: New file.
77512 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77514         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77516 2011-06-21  Andreas Jaeger  <aj@suse.de>
77518         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77519         Copy rule from iconvdata/Makefile.
77521 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77523         [BZ #12922]
77524         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77525         but no long options are defined, just return 'W'.
77527 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77529         [BZ #9696]
77530         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77532 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77534         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77535         netgroups to read.
77536         (innetgr): Likewise.
77538 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77540         * config.make.in (install_root): Default to $(DESTDIR).
77542 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77544         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77546 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77548         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77550         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77551         containing directory rather than embedding absolute directory names.
77553         * scripts/check-local-headers.sh: Rewritten using awk.
77554         Match by word, not by line.  Print error messages for matches.
77555         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77557         * Makerules [shlib-lds-flags empty]:
77558         ($(common-objpfx)libc_pic.opts): New target.
77559         ($(common-objpfx)libc_pic.os.clean): New target.
77560         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77562         * config.make.in (OBJCOPY): New variable.
77563         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77564         * configure: Regenerated.
77566         * config.make.in (use-default-link): New variable.
77567         * configure.in (use_default_link): Grok --with-default-link to set it.
77568         * configure: Regenerated.
77569         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77570         (shlib-lds, shlib-lds-flags): Define to empty.
77572         * Makerules (shlib-lds): New variable.
77573         (shlib-lds-flags): New variable.
77574         (build-shlib, build-moduile, build-module-asneeded): Use it.
77575         ($(common-objpfx)libc.so): Use $(shlib-lds).
77576         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77577         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77579         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77580         DT_FLAGS/DT_FLAGS_1 with zero flags.
77582         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77583         linker script munging.
77585 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77587         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77588         as 128-bit value.
77589         * crypt/sha512.c (sha512_process_block): Perform total addition using
77590         128-bit if possible.
77591         (__sha512_finish_ctx): Likewise.
77592         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77593         as 64-bit value.
77594         * crypt/sha256.c (SWAP64): Define.
77595         (sha256_process_block): Perform total addition using 64-bit if
77596         possible.
77597         (__sha256_finish_ctx): Likewise.
77599 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77601         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77602         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77603         * nscd/hstcache.c (cache_addhst): Likewise.
77604         * nscd/grpcache.c (cache_addgr): Likewise.
77605         * nscd/aicache.c (addhstaiX): Likewise.
77606         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77608 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77610         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77611         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77612         * nscd/hstcache.c (cache_addhst): Likewise.
77613         * nscd/grpcache.c (cache_addgr): Likewise.
77614         * nscd/aicache.c (addhstaiX): Likewise.
77616 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77618         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77619         domain only when needed.
77621 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77624         is always restored.
77626 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77628         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77629         are re-adding the entry.
77630         * nscd/servicescache.c (cache_addserv): Likewise.
77632 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77634         * sysdeps/generic/dl-irel.h: fix protection against multiple
77635         inclusions.
77636         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77638 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77640         [BZ #12935]
77641         * malloc/memusage.sh: Fix quoting in message.
77642         * debug/xtrace.sh: Likewise.
77644         * configure.in: Remove support for --experimental-malloc option, make
77645         it the default.
77646         * config.make.in: Likewise.
77647         * malloc/Makefile: Likewise.
77649 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77651         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77652         two-byte characters.
77654 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77656         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77657         AC_CACHE_CHECK invocation.
77658         * configure: Regenerated.
77660         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77662 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77664         [BZ #12350]
77665         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77666         bit from old_res_options.
77668         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77670         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77671         value type for setfct.
77673 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77676         __gettimeofday instead of gettimeofday.
77678 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77680         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77682 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77684         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77686         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77687         info.
77689 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77692         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77693         strcpy-sse2-unaligned strncpy-sse2-unaligned
77694         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77695         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77696         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77697         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77698         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77699         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77700         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77701         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77702         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77703         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77704         (STRCPY): Support SSE2 and SSSE3 versions.
77706 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77708         [BZ #12874]
77709         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77710         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77711         kernels which artificially limit size of requests.
77713 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77716         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77717         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77718         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77719         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77720         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77721         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77722         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77723         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77724         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77725         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77726         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77727         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77728         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77729         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77731         Enable unaligned load optimization for Intel Core i3, i5 and i7
77732         processors.
77733         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77734         Define.
77735         (index_Fast_Unaligned_Load): Define.
77736         (HAS_FAST_UNALIGNED_LOAD): Define.
77738 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77740         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77742 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77744         [BZ #12907]
77745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77746         until it is clear that the information is realy needed.
77747         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77749 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77753 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77755         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77756         /sys/devices/system/cpu/online if it is usable.
77758         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77759         reading the information from the /proc filesystem to once a second.
77761 2011-06-21  Andreas Jaeger  <aj@suse.de>
77763         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77764         NULL after inclusion of kernel headers.
77766 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77768         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77769         calls to internal_setent.
77771         [BZ #12885]
77772         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77773         addresses using gethostbyname4_r ignore IPv4 addresses.
77775         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77776         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77778         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77780 2011-06-20  David S. Miller  <davem@davemloft.net>
77782         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77783         inclusions.
77784         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77786         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77787         (elf_irel): Use it.
77788         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77789         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77790         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77791         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77792         * sysdeps/x86_64/dl-irel.h: Likewise.
77794         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77795         * elf/dl-sym.c: Likewise.
77797 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77799         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77800         need to dereference resplen2.
77802 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77804         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77806 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77808         * Makeconfig: Define vardbdir and inst_vardbdir.
77809         * nss/Makefile: Add rules to install db-Makefile.
77811         * nss/nss_db/db-XXX.c: Cleanup.
77813         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77814         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77815         GLIBC_PRIVATE.
77816         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77817         * nss/makedb.c: Implement -g option to specify that value strings
77818         are generated and should not be added to table iterated over for
77819         get*ent calls.
77820         * nss/nss_db/db-initgroups.c: New file.
77822         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77823         interface.
77825         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77826         (internal_getgrouplist): Adjust to name change.
77827         Update use_initgroups_entry if this is not the first call.
77828         * nss/databases.def: Add initgroups entry.
77830         * nss/makedb.c (compute_tables): Check result of multiple hash table
77831         sizes to minimize maximum chain length.
77833 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77835         * Versions.def: Add entry for libnss_db.
77836         * shlib-versions: Likewise.
77837         * nss/Makefile: Add rules to build libnss_db.
77838         * nss/Versions: Add libnss_db information.  Organize libnss_files
77839         entries better.
77840         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77841         makedb progra.  Some minor improvements to generate smaller files.
77842         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77843         here from...
77844         * nss/makedb.c: ...here.
77845         Improve database format to be smaller and require less memory at
77846         runtime.
77847         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77848         db anymore.
77849         * nss/nss_db/db-netgrp.c: Likewise.
77850         * nss/nss_db/db-open.c: Likewise.
77851         * nss/nss_files/flies-XXX.x: Adjust comments.
77852         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77853         * nss/nss_files/files-grp.c: Likewise.
77854         * nss/nss_files/files-hosts.c: Likewise.
77855         * nss/nss_files/files-network.c: Likewise.
77856         * nss/nss_files/files-proto.c: Likewise.
77857         * nss/nss_files/files-pwd.c: Likewise.
77858         * nss/nss_files/files-rpc.c: Likewise.
77859         * nss/nss_files/files-service.c: Likewise.
77860         * nss/nss_files/files-sgrp.c: Likewise.
77861         * nss/nss_files/files-spwd.c: Likewise.
77862         * nss/nss_db/db-alias.c: Removed.
77863         * nss/nss_db/dummy-db.h: Removed.
77865 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77867         * nss/makedb.c: Rewritten to not use database library.
77868         * nss/Makefile: Update to build new makedb program.
77870 2011-06-14  Andreas Jaeger  <aj@suse.de>
77872         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77873         memset declaration.
77875 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77878         tmpbuf.
77880 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77882         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77883         * elf/Makefile ($(objpfx)ld.so): Likewise.
77885         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77886         Don't list ld.so twice in dependencies.
77888         * posix/bug-regex31.c: Include <stdlib.h>.
77890         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77892         * nis/nss_compat/compat-spwd.c
77893         (getspent_next_nss_netgr): Remove unused variable.
77894         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77896         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77897         nonmembers" output to use the right array.
77899         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77901         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77903         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77904         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77905         * catgets/gencat.c (read_input_file): Likewise.
77906         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77908         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77909         variable definition inside #if's controlling its use.
77911         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77913         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77915         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77917         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77918         unreachable code.
77920         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77922         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77923         * configure: Regenerated.
77925         * Makerules: Revert last change.
77926         * elf/Makefile: Likewise.
77928 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77930         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77931         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77932         (reloc-link): Likewise.
77934 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77936         * elf/Makefile: Add rules to build pldd.
77937         * elf/pldd.c: New file.
77938         * elf/pldd-xx.c: New file.
77940 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77942         * version.h: Update for 2.15 development version.
77944 2011-06-07  David S. Miller  <davem@davemloft.net>
77946         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77947         ifuncs.
77948         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77949         elf_machine_lazy_rel): Likewise.
77950         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77952         elf_machine_lazy_rel): Likewise.
77953         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77954         dl_hwcap via passed in argument.
77955         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77956         Likewise.
77958 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77960         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77962 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77964         [BZ #12849]
77965         * manual/fdl-1.1.texi: New file, verbatim from:
77966         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77967         * manual/lgpl-2.1.texi: New file, verbatim from:
77968         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77969         * manual/Makefile (licenses): New variable, list those new file names.
77970         (texis): Use it.
77971         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77973         * manual/fdl.texi: File removed.
77974         * manual/lesser.texi: File removed.
77975         * manual/libc.texinfo (Copying, Documentation License):
77976         Use new @include file names, put @appendix directive before @include.
77978 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77980         [BZ #12841]
77981         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77982         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77983         (mq_open): Add __NTH.
77985 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77987         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77988         Assume Intel Core i3/i5/i7 processor if AVX is available.
77990 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77993         typo.
77995 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77997         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77998         memory.  Use alloca_account.  Fix memory leak when retrying.
78000 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78002         * version.h (RELEASE): Bump for 2.14 release.
78003         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78005         * config.make.in (RANLIB): Remove entry.
78007 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78009         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78010         (libc.pot): Work around missing support for .ksh extension in xgettext.
78012         [BZ #12684]
78013         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78014         if both request failed.
78015         (send_dg): In case of server errors clear resplen or *resplen2.
78017         [BZ #12454]
78018         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78019         when there are multiple maps.
78020         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78021         (_dl_fini): Remove test here.
78023         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78025 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78027         [BZ #12350]
78028         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78029         bit from old_res_options.
78030         (gaih_inet): Likewise.
78032         [BZ #11099]
78033         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78034         as signed.
78036         * resolv/res_init.c (res_setoptions): Make the code more compact.
78038         [BZ #11558]
78039         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78040         set RES_USEVC.
78042         [BZ #11634]
78043         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78045         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78047         [BZ #11781]
78048         * malloc/malloc.h: Declare malloc hook variables as volatile.
78050         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78051         in last patch.
78053         [BZ #11799]
78054         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78055         raise in the comment.
78056         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78057         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78058         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78060 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78062         [BZ #12811]
78063         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78064         grow the buffers more if it already has to be sufficient.
78065         (build_wcs_upper_buffer): Likewise.
78066         * posix/regexec.c (check_matching): Likewise.
78067         (clean_state_log_if_needed): Likewise.
78068         (extend_buffers): Don't enlarge buffers beyond size of the input
78069         buffer.
78070         Patches mostly by Emil Wojak <emil@wojak.eu>.
78071         * posix/bug-regex32.c: New file.
78072         * posix/Makefile (tests): Add bug-regex32.
78074         * locale/findlocale.c (_nl_find_locale): Return right away if
78075         _nl_explode_name failed.
78076         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78078         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78080         * debug/xtrace.sh: Unify messages.
78081         * malloc/memusage.sh: Likewise.
78083         [BZ #12813]
78084         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78085         time symbol from vDSO.  Substitute with vsyscall if not available.
78086         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78087         __vdso_time.
78089         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78090         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78091         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78092         Add sendmmsg and internal_sendmmsg.
78093         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78094         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78095         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78097         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78098         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78099         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78101 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78103         [BZ #12813]
78104         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78105         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78106         available.
78107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78108         __vdso_getcpu.
78110         [BZ #12814]
78111         * iconvdata/Makefile (tests): Add bug-iconv9.
78112         * iconvdata/bug-iconv9.c: New file.
78114 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78116         [BZ #12814]
78117         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78119 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78121         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78122         (struct user_regs_struct): Change intcs field back to cs.
78124 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78126         * po/ja.po: Update from translation team.
78128 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78130         [BZ #12795]
78131         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78132         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78134 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78136         * stdlib/longlong.h: Update from GCC.
78138 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78140         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78141         parameter name.
78142         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78143         Add parameter name.
78144         (__sysconf): Pass it down.
78146 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78148         [BZ #12671]
78149         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78150         some situations.
78151         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78152         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78153         add in in __libc_use_alloca calls.  Adjust callers.
78154         (glob): Use malloc in some situations.
78156         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78157         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78158         pltexit.
78160 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78162         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78163         and CLOCK_BOOTTIME_ALARM.
78165         [BZ #12782]
78166         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78167         is returned.
78169         * string/_strerror.c (__strerror_r): Print negative errors as signed
78170         numbers.
78172         [BZ #12777]
78173         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78174         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78175         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78177         * configure.in: Fix typo in redirection and correct removal of test
78178         files in two cases.
78180         [BZ #12788]
78181         * locale/setlocale.c (new_composite_name): Fix test to check for
78182         identical name of all categories.
78184         [BZ #12792]
78185         * libio/filedoalloc.c (local_isatty): New function.
78186         (_IO_file_doallocate): Use local_isatty.
78187         * stdio-common/perror.c (perror): In case a new stream is used
78188         forward the stream error.
78189         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78190         error flag.
78192 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78194         [BZ #11884]
78195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78196         alloca.
78197         * include/alloca.h (extend_alloca_account): Define.
78199         [BZ #11857]
78200         * posix/regex.h: Fix comments with documentation of user-accessible
78201         fields after compilation and describe correct free'ing of pattern
78202         after re_compile_pattern.
78203         Patch by Reuben Thomas <rrt@sc3d.org>.
78205 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78207         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78208         and -mno-altivec to prevent the compiler from using Altivec and/or
78209         VSX instructions when the corresponding registers are not available.
78211 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78213         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78215 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78217         * libio/freopen.c (freopen): Use __dup2, not dup2.
78218         * libio/freopen64.c (freopen64): Likewise.
78220 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78222         [BZ #12775]
78223         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78224         * math/Makefile (tests): Add test-powl.
78225         (CFLAGS-test-powl.c): Define.
78226         * math/test-powl.c: New file.
78228 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78230         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78232 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78234         [BZ #11837]
78235         * iconvdata/gb18030.c: Update to GB18020-2005.
78237 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78239         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78240         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78241         Patch by Aharon Robbins <arnold@skeeve.com>.
78243         [BZ #11892]
78244         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78245         on the stack.
78247         [BZ #11895]
78248         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78249         through underflows.
78251         [BZ #12766]
78252         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78253         point to strings before performing equality test for error_one_per_line
78254         mode.
78256         [BZ #11697]
78257         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78259         [BZ #11820]
78260         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78261         (struct user_fpregs_struct): Avoid __uint*_t types.
78263         [BZ #6420]
78264         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78265         symbol info.  Use it instead of calling _dl_addr locally.
78266         (lock_and_info): New function.
78267         (tr_freehook): Call lock_and_info and pass symbol info as additional
78268         parameter to tr_where.
78269         (tr_mallochook): Likewise.
78270         (tr_reallochook): Likewise.
78271         (tr_memalignhook): Likewise.
78273         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78274         used and couldn't be at all thread-safe.
78276 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78278         * libio/freopen.c (freopen): Don't close old file descriptor
78279         before the new one is opened.  Instead dup the new file descriptor
78280         to the old one after the new stream is created.
78281         * libio/freopen64.c (freopen64): Likewise.
78282         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78283         * libio/fileops.c (_IO_new_file_close_it): Handle new
78284         _IO_FLAGS2_NOCLOSE flag.
78285         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78286         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78287         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78288         _IO_FLAGS2_NOCLOSE flag.
78289         * include/unistd.h: Add hidden_proto for dup3.
78290         Define __have_dup3.
78291         * io/dup3.c: Define hidden symbol.
78292         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78294         [BZ #7101]
78295         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78296         when an incomplete long option is used.
78297         * posix/tst-getopt_long1.c: New file.
78298         * posix/Makefile (tests): Add tst-getopt_long1.
78300         [BZ #10138]
78301         * scripts/config.guess: Update from autoconf-2.68.
78302         * scripts/config.sub: Likewise.
78304         [BZ #10157]
78305         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78306         tests into ...
78307         (has_cpuclock): ...this.  New function.
78308         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78309         macro here based on has_cpuclock code.
78311         [BZ #10149]
78312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78313         First byte (not low byte) is now always NUL.
78314         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78316         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78317         Use non-cancelable interfaces.
78319         [BZ #9809]
78320         * locale/iso-639.def: Add entry for Sorani.
78322         [BZ #11901]
78323         * include/stdlib.h: Move include protection to the right place.
78324         Define abort_msg_s.  Declare __abort_msg with it.
78325         * stdlib/abort.c (__abort_msg): Adjust type.
78326         * assert/assert.c (__assert_fail_base): New function.  Majority
78327         of code from __assert_fail.  Allocate memory for __abort_msg with
78328         mmap.
78329         (__assert_fail): Now call __assert_fail_base.
78330         * assert/assert-perr.c: Remove bulk of implementation.  Use
78331         __assert_fail_base.
78332         * include/assert.hL Declare __assert_fail_base.
78333         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78334         mmap.
78335         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78337 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78339         [BZ #11952]
78340         [BZ #12453]
78341         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78342         until all modules are registered in the DTV.
78343         * elf/Makefile: Add rules to build and run tst-tls19.
78344         * elf/tst-tls19.c: New file.
78345         * elf/tst-tls19mod1.c: New file.
78346         * elf/tst-tls19mod2.c: New file.
78347         * elf/tst-tls19mod3.c: New file.
78348         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78350         [BZ #12083]
78351         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78352         correctly.
78354         [BZ #12601]
78355         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78356         two-byte sequence errors.
78357         * iconvdata/Makefile (tests): Add bug-iconv8.
78358         * iconvdata/bug-iconv8.c: New file.
78360         [BZ #12626]
78361         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78362         buf2 definition.
78364         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78366         [BZ #12432]
78367         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78368         (dummy_getcfa): New function.
78369         (init): Get _Unwind_GetCFA address, use dummy if not found.
78370         (backtrace_helper): In recursion check, also check whether CFA changes.
78371         (__backtrace): Completely initialize arg.
78373         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78374         storing incomplete byte sequence in state object.  Avoid testing for
78375         guaranteed too small input if we know there is enough data available.
78377 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78379         * Makeconfig (+link-pie): Indent.
78380         * Rules (binaries-pie): Define if $(have-fpie) and
78381         $(build-shared).
78382         (binaries-shared): Also filter out $(binaries-pie).
78383         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78384         * nscd/Makefile (others-pie): Add nscd.
78385         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78386         ($(objpfx)nscd): Remove command override.
78387         * login/Makefile (others-pie): Add pt_chown.
78388         ($(objpfx)pt_chown): Remove command override.
78389         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78390         remove command overrides.
78392 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78394         * libio/tst_putwc.c: Fix error messages.
78396         [BZ #12724]
78397         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78398         currently writing and seek to current position when not.
78399         * libio/Makefile (tests): Add bug-fclose1.
78400         * libio/bug-fclose1.c: New file.
78402 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78404         [BZ #12511]
78405         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78406         don't set DF_1_NODELETE here.
78407         (do_lookup_x): When entering new entry test for copy relocation
78408         and if necessary set DF_1_NODELETE flag.
78409         * elf/tst-unique4.cc: New file.
78410         * elf/tst-unique4.h: New file.
78411         * elf/tst-unique4lib.cc: New file.
78412         * elf/Makefile: Add rules to build and run tst-unique4.
78413         Patch by Piotr Bury <pbury@goahead.com>.
78415 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78417         [BZ #12052]
78418         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78420         [BZ #12625]
78421         * misc/mntent_r.c (addmntent): Flush the stream after the output
78423         [BZ #12393]
78424         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78425         (is_trusted_path_normalize): Skip initial colon.  Append slash
78426         to empty buffer.  Duplicate is_trusted_path code but allow
78427         constructed patch to be prefix.
78428         (is_dst): Allow $ORIGIN followed by /.
78429         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78430         Correct testing of result of is_trusted_path_normalize
78431         (decompose_rpath): Fix warning.
78433 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78435         [BZ #11257]
78436         * grp/initgroups.c (internal_getgrouplist): When we found the service
78437         list through the initgroups entry in nsswitch.conf do not always
78438         continue on a successful lookup.  Don't always use the
78439         __nss_group_database value if it is set.
78440         * nss/nsswitch.conf (initgroups): Change action for successful db
78441         lookup to continue for compatibility.
78443 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78445         [BZ #11532]
78446         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78447         and CP774 modules.
78448         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78449         and CP774 modules.
78450         * iconvdata/tst-tables.sh: Likewise.
78451         * iconvdata/cp770.c: New file.
78452         * iconvdata/cp771.c: New file.
78453         * iconvdata/cp772.c: New file.
78454         * iconvdata/cp773.c: New file.
78455         * iconvdata/cp774.c: New file.
78456         * iconvdata/testdata/CP770: New file.
78457         * iconvdata/testdata/CP770..UTF8: New file.
78458         * iconvdata/testdata/CP771: New file.
78459         * iconvdata/testdata/CP771..UTF8: New file.
78460         * iconvdata/testdata/CP772: New file.
78461         * iconvdata/testdata/CP772..UTF8: New file.
78462         * iconvdata/testdata/CP773: New file.
78463         * iconvdata/testdata/CP773..UTF8: New file.
78464         * iconvdata/testdata/CP774: New file.
78465         * iconvdata/testdata/CP774..UTF8: New file.
78467         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78468         END CHARMAP line.
78469         * iconvdata/gen-8bit-gap.sh: Likewise.
78470         * iconvdata/gen-8bit.sh: Likewise.
78472         * locale/iso-639.def: Add ary entry.
78474         [BZ #11258]
78475         * locale/C-translit.h.in: Add U20A1 transliteration.
78477         [BZ #12178]
78478         * locale/iso-639.def: Add wae entry.
78479         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78481         [BZ #12545]
78482         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78483         for n.
78485         [BZ #12711]
78486         * locale/C-translit.h.in: Add entry for U20B9.
78487         Patch by pravin.d.s@gmail.com.
78489 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78491         [BZ #12713]
78492         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78493         ENAMETOOLONG use generic getcwd.
78494         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78495         in rtld.  Use *stat64.
78496         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78497         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78498         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78499         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78500         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78501         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78502         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78503         __fstatat64 macros.
78504         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78505         * dirent/rewinddir.c: Add libc_hidden_def.
78506         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78507         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78509         * include/dirent.h (__alloc_dir): Add flags parameter.
78510         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78511         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78512         __alloc_dir.
78513         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78514         from fdopendir if O_CLOEXEC is already set.
78516 2011-03-15  Alan Modra  <amodra@gmail.com>
78518         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78519         l_tls_firstbyte_offset non-zero.  Save padding offset in
78520         l_tls_firstbyte_offset for later use.
78521         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78522         freeing static tls block.
78524 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78526         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78527         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78528         being defined by the kernel headers.
78530 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78532         [BZ #12734]
78533         * resolv/resolv.h: Define RES_NOTLDQUERY.
78534         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78535         no-tld-query and set RES_NOTLDQUERY.
78536         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78537         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78538         modern BIND to search name as TLD unless forbidden.
78540 2011-05-07  Petr Baudis  <pasky@suse.cz>
78541             Ulrich Drepper  <drepper@gmail.com>
78543         [BZ #12393]
78544         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78545         (is_trusted_path): ...to here.
78546         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78547         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78548         using is_trusted_path_normalize() in setuid scripts.
78550 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78552         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78553         __BEGIN/__END_DECLS.
78555 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78558         NSS_STATUS_NOTFOUND if no record was found.
78560 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78562         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78563         (headers-not-in-tirpc): Remove rpc/netdb.h
78564         * resolv/netdb.h: Revert last change.
78566 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78568         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78569         circular dependency between libgcc.a and libc.a.
78571 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78573         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78574         * nis/Makefile: Don't install rpcsvc/*.
78575         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78576         instead of <rpc/types.h>.
78577         (MAXHOSTNAMELEN): Define.
78579 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78581         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78583 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78585         [BZ #12714]
78586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78587         gethostbyname4_r when IPv6 results are possible.
78589 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78591         [BZ #12723]
78592         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78593         _PC_PIPE_BUF handling.
78595 2011-04-30  Bruno Haible  <bruno@clisp.org>
78597         [BZ #12717]
78598         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78599         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78600         to 'int'.
78601         * inet/getnameinfo.c (getnameinfo): Likewise.
78603 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78605         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78606         to groups setting in database lookup.
78607         * nss/nsswitch.conf: Add initgroups entry.
78609 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78611         [BZ #12685]
78612         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78613         mode string.
78614         Patch by Eric Blake <eblake@redhat.com>.
78616 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78618         * sunrpc/Makefile (need-export-routines): Add svc_run.
78619         (routines): Remove svc_run.
78620         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78621         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78622         * sunrpc/svc_run.c (svc_run): Likewise.
78623         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78625 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78627         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78628         problem in reallocation in last patch.
78630 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78632         * sunrpc/Makefile: Move inclusion of Rules.
78634 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78636         * nss/nss_files/files-initgroups.c: New file.
78637         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78638         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78639         _nss_files_initgroups_dyn.
78641 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78643         * elf/elf.h (R_ARM_IRELATIVE): Define.
78645 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78647         * po/ru.po: Update from translation team.
78649 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78651         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78652         dependencies.
78654 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78656         [BZ #12653]
78657         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78658         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78659         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78660         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78661         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78663 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78665         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78666         differing bytes.
78667         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78668         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78669         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78671 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78673         [BZ #12420]
78674         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78675         storing it.
78676         * stdlib/bug-getcontext.c: New file.
78677         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78679 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78681         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78682         instructions into .machine "z9-109".
78683         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78684         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78686 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78688         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78689         between environment variables and auxiliary vector.
78691 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78693         * Makefile: Add rules to build linkobj/libc.so.
78694         * include/libc-symbols.h: Define libc_hidden_nolink.
78695         * include/rpc/auth.h: Mark functions which are to be hidden.
78696         * include/rpc/auth_des.h: Likewise.
78697         * include/rpc/auth_unix.h: Likewise.
78698         * include/rpc/clnt.h: Likewise.
78699         * include/rpc/des_crypt.h: Likewise.
78700         * include/rpc/key_prot.h: Likewise.
78701         * include/rpc/pmap_clnt.h: Likewise.
78702         * include/rpc/pmap_prot.h: Likewise.
78703         * include/rpc/pmap_rmt.h: Likewise.
78704         * include/rpc/rpc_msg.h: Likewise.
78705         * include/rpc/svc.h: Likewise.
78706         * include/rpc/svc_auth.h: Likewise.
78707         * include/rpc/xdr.h: Likewise.
78708         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78709         * nss/Makefile: Likewise.
78710         * sunrpc/Makefile: Don't install headers.  Build library with normal
78711         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78712         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78713         for the compat linking library.  Remove use of INTDEF/INTUSE.
78714         * sunrpc/auth_none.c: Likewise.
78715         * sunrpc/auth_unix.c: Likewise.
78716         * sunrpc/authdes_prot.c: Likewise.
78717         * sunrpc/authuxprot.c: Likewise.
78718         * sunrpc/clnt_gen.c: Likewise.
78719         * sunrpc/clnt_perr.c: Likewise.
78720         * sunrpc/clnt_raw.c: Likewise.
78721         * sunrpc/clnt_simp.c: Likewise.
78722         * sunrpc/clnt_tcp.c: Likewise.
78723         * sunrpc/clnt_udp.c: Likewise.
78724         * sunrpc/clnt_unix.c: Likewise.
78725         * sunrpc/des_crypt.c: Likewise.
78726         * sunrpc/des_soft.c: Likewise.
78727         * sunrpc/get_myaddr.c: Likewise.
78728         * sunrpc/key_call.c: Likewise.
78729         * sunrpc/key_prot.c: Likewise.
78730         * sunrpc/netname.c: Likewise.
78731         * sunrpc/pm_getmaps.c: Likewise.
78732         * sunrpc/pm_getport.c: Likewise.
78733         * sunrpc/pmap_clnt.c: Likewise.
78734         * sunrpc/pmap_prot.c: Likewise.
78735         * sunrpc/pmap_prot2.c: Likewise.
78736         * sunrpc/pmap_rmt.c: Likewise.
78737         * sunrpc/publickey.c: Likewise.
78738         * sunrpc/rpc_cmsg.c: Likewise.
78739         * sunrpc/rpc_common.c: Likewise.
78740         * sunrpc/rpc_dtable.c: Likewise.
78741         * sunrpc/rpc_prot.c: Likewise.
78742         * sunrpc/rpc_thread.c: Likewise.
78743         * sunrpc/rtime.c: Likewise.
78744         * sunrpc/svc.c: Likewise.
78745         * sunrpc/svc_auth.c: Likewise.
78746         * sunrpc/svc_authux.c: Likewise.
78747         * sunrpc/svc_raw.c: Likewise.
78748         * sunrpc/svc_run.c: Likewise.
78749         * sunrpc/svc_simple.c: Likewise.
78750         * sunrpc/svc_tcp.c: Likewise.
78751         * sunrpc/svc_udp.c: Likewise.
78752         * sunrpc/svc_unix.c: Likewise.
78753         * sunrpc/svcauth_des.c: Likewise.
78754         * sunrpc/xcrypt.c: Likewise.
78755         * sunrpc/xdr.c: Likewise.
78756         * sunrpc/xdr_array.c: Likewise.
78757         * sunrpc/xdr_float.c: Likewise.
78758         * sunrpc/xdr_intXX_t.c: Likewise.
78759         * sunrpc/xdr_mem.c: Likewise.
78760         * sunrpc/xdr_rec.c: Likewise.
78761         * sunrpc/xdr_ref.c: Likewise.
78762         * sunrpc/xdr_sizeof.c: Likewise.
78763         * sunrpc/xdr_stdio.c: Likewise.
78765 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78767         [BZ #12650]
78768         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78769         * sysdeps/ia64/dl-tls.h: Likewise.
78770         * sysdeps/powerpc/dl-tls.h: Likewise.
78771         * sysdeps/s390/dl-tls.h: Likewise.
78772         * sysdeps/sh/dl-tls.h: Likewise.
78773         * sysdeps/sparc/dl-tls.h: Likewise.
78774         * sysdeps/x86_64/dl-tls.h: Likewise.
78775         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78777 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78779         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78780         rpath element also skip the following colon.
78781         (expand_dynamic_string_token): Add is_path parameter and pass
78782         down to DL_DST_REQUIRED and _dl_dst_substitute.
78783         (decompose_rpath): Call expand_dynamic_string_token with
78784         non-zero is_path.  Ignore empty rpaths.
78785         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78786         with zero is_path.
78788 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78791         Make cancelable.
78793 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78795         [BZ #12655]
78796         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78797         Patch by Filipe David Manana <fdmanana@apache.org>.
78799 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78801         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78802         Maintain aligned stack.
78803         (CHECK_RSP): Remove unused macro.
78805 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78807         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78808         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78810 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78812         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78814         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78816 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78818         [BZ #12518]
78819         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78820         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78821         * sysdeps/x86_64/memmove.c: New file.
78822         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78823         (memcpy): Renamed to ...
78824         (__new_memcpy): This.
78825         (memcpy): Provide GLIBC_2_14 memcpy.
78826         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78827         (memcpy): Provide GLIBC_2_2_5 memcpy.
78829 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78831         [BZ #12631]
78832         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78834 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78836         * misc/syncfs.c: New file.
78837         * misc/Makefile (routines): Add syncfs.
78838         * posix/unistd.h: Declare syncfs.
78839         * sysdeps/unix/syscalls.list: Add syncfs.
78841 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78843         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78844         open_by_handle_at.
78845         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78846         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78848         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78850         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78851         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78853 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78855         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78856         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78857         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78858         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78859         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78861         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78863         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78864         sync_file_range.c with -fexceptions.
78865         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78866         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78867         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78868         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78869         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78870         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78872         sync_file_range as cancellation point
78873         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78874         now a wrapper around __call_sync_file_range with cancellation handling.
78875         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78876         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78877         function name to __call_sync_file_range.
78878         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78879         Add call_sync_file_range.
78881 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78884         bits/timex.h.
78886 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78888         * iconv/iconv.h: Fix typo in comment.
78889         * io/fcntl.h: Likewise.
78890         * libio/stdio.h: Likewise.
78891         * posix/spawn.h: Likewise.
78892         * posix/unistd.h: Likewise.
78893         * stdlib/stdlib.h: Likewise.
78894         * time/time.h: Likewise.
78895         * wcsmbs/wchar.h: Likewise.
78897         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78898         open_by_handle): Add.
78899         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78900         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78901         Augment a few comments.
78902         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78904         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78906         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78907         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78908         open_by_handle.
78910         * io/fcntl.h (AT_EMPTY_PATH): Define.
78912 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78914         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78915         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78916         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78917         to...
78918         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78919         * Versions.def: Add GLIBC_2.14.
78920         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78921         Export.
78923 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78925         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78926         round counter.
78927         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78929 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78931         [BZ #12597]
78932         * string/test-strncmp.c (do_page_test): New function.
78933         (check2): Likewise.
78934         (test_main): Call check2.
78935         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78937 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78939         [BZ #12587]
78940         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78941         Handle cache information in CPU leaf 4.
78942         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78944 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78946         [BZ #12583]
78947         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78948         character representation.
78949         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78951 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78953         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78954         END(__isnan) to END(__isnanf) to match function entry point/label
78955         EALIGN(__isnanf,...).
78957 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78959         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78961 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78963         [BZ #12510]
78964         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78965         copy from the symbol referenced in the relocation to initialize the
78966         used variable.
78967         Patch by Piotr Bury <pbury@goahead.com>.
78968         * elf/Makefile: Add rules to build and tst-unique3.
78969         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78970         * elf/tst-unique3.cc: New file.
78971         * elf/tst-unique3.h: New file.
78972         * elf/tst-unique3lib.cc: New file.
78973         * elf/tst-unique3lib2.cc: New file.
78975         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78977 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78979         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78980         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78981         to _start.
78983 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78985         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78986         to-be-loaded object along a path to loader is ld.so.
78988 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78989             Ulrich Drepper  <drepper@gmail.com>
78991         * sysdeps/x86_64/memset.S: After aligning destination, code
78992         branches to different locations depending on the value of
78993         misalignment, when multiarch is enabled. Fix this.
78995 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78997         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78998         Set _x86_64_preferred_memory_instruction for AMD processsors.
78999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79000         Set bit_Prefer_SSE_for_memop for AMD processors.
79002 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79004         * libio/fmemopen.c (fmemopen): Optimize a bit.
79006 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79008         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79010 2011-03-03  Roland McGrath  <roland@redhat.com>
79012         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79014 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79016         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79017         __bzero_ultra1 instead of __memset_ultra1.
79019 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79020             Ulrich Drepper  <drepper@gmail.com>
79022         [BZ #12509]
79023         * include/link.h (struct link_map): Add l_orig_initfini.
79024         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79025         returning unsuccessfully.
79026         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79027         close of a file loaded at startup, restore the original l_initfini
79028         list.
79029         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79030         list, store the pointer.
79031         * elf/Makefile ($(objpfx)noload-mem): New rule.
79032         (noload-ENV): Define.
79033         (tests): Add $(objpfx)noload-mem.
79034         * elf/noload.c: Include <memcheck.h>.
79035         (main): Call mtrace.  Close all opened handles.
79037 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79039         [BZ #12454]
79040         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79041         dependencies are missing.
79043 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79045         Fix __if_freereq crash: Unlike the generic version which uses free,
79046         Hurd needs munmap.
79047         * sysdeps/mach/hurd/ifreq.h: New file.
79049 2011-01-27  Petr Baudis  <pasky@suse.cz>
79050             Ulrich Drepper  <drepper@gmail.com>
79052         [BZ 12445]#
79053         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79054         to extend_alloca().
79055         * stdio-common/bug23.c: New file.
79056         * stdio-common/Makefile (tests): Add bug23.
79058 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79059             Ulrich Drepper  <drepper@gmail.com>
79061         [BZ #12489]
79062         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79063         before performing relro protection.  At old place add assertion
79064         to make sure nothing changed.
79066 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79067             Glauber de Oliveira Costa  <glommer@gmail.com>
79069         * elf/elf.h: Add new ARM TLS relocs.
79071 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79074         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79075         cast from r3.
79076         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79077         'tests' variable.
79078         * sysdeps/wordsize-64/tst-writev.c: New file.
79080 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79082         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79083         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79084         insns in _dl_start to prevent a TOC reference before relocs are
79085         resolved.
79087 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79089         [BZ #12469]
79090         * Makeconfig: Remove RANLIB definition.
79091         * Makerules: Don't use RANLIB.
79092         * aclocal.m4: Remove ranlib test.
79093         * configure.in: No need to check for ranlib.
79094         * elf/rtld-Rules: Don't use RANLIB.
79096 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79098         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79099         protection macro.
79100         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79101         inclusion protection macro.
79103         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79104         SIGRTMIN and SIGRTMAX and print information in that case only when
79105         SIGRTMIN is defined.
79107 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79109         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79110         arginfo fn returning -1.
79112         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79113         and thousands string is zero terminated.
79115 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79118         sysdeps/unix/sysv/linux/bits/socket.h.
79120 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79122         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79123         (__CPU_COUNT): Remove old macros.
79124         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79125         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79126         (__CPU_ALLOC, __CPU_FREE): Add macros.
79127         (__sched_cpualloc, __sched_cpufree): Add declarations.
79129 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79131         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79132         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79133         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79134         (readdhstai): Return value of addhstaiX call.
79135         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79136         (addgrbyX): Return value returned by cache_addgr.
79137         (readdgrbyname): Return value returned by addgrbyX.
79138         (readdgrbygid): Likewise.
79139         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79140         (addpwbyX): Return value returned by cache_addpw.
79141         (readdpwbyname): Return value returned by addhstbyX.
79142         (readdpwbyuid): Likewise.
79143         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79144         (addservbyX): Return value returned by cache_addserv.
79145         (readdservbyname): Return value returned by addservbyX:
79146         (readdservbyport): Likewise.
79147         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79148         (addhstbyX): Return value returned by cache_addhst.
79149         (readdhstbyname): Return value returned by addhstbyX.
79150         (readdhstbyaddr): Likewise.
79151         (readdhstbynamev6): Likewise.
79152         (readdhstbyaddrv6): Likewise.
79153         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79154         (readdinitgroups): Return value returned by addinitgroupsX.
79155         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79156         (prune_cache): Keep track of timeout value of re-added entries.
79157         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79158         * nscd/nscd.h: Adjust prototypes of readd* functions.
79160 2011-02-04  Roland McGrath  <roland@redhat.com>
79162         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79163         (nis_stats): Likewise.
79164         * nis/nis_modify.c (nis_modify): Likewise.
79165         * nis/nis_remove.c (nis_remove): Likewise.
79166         * nis/nis_add.c (nis_add): Likewise.
79168         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79170         * posix/fnmatch_loop.c: Add some consts.
79172         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79174 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79176         [BZ #12460]
79177         * config.make.in (config-cflags-novzeroupper): Define.
79178         * configure.in: Substitute libc_cv_cc_novzeroupper.
79179         * elf/Makefile (AVX-CFLAGS): Define.
79180         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79181         (CFLAGS-tst-auditmod4a.c): Likewise.
79182         (CFLAGS-tst-auditmod4b.c): Likewise.
79183         (CFLAGS-tst-auditmod6b.c): Likewise.
79184         (CFLAGS-tst-auditmod6c.c): Likewise.
79185         (CFLAGS-tst-auditmod7b.c): Likewise.
79186         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79188 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79190         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79191         function to the callback.
79192         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79194 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79196         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79197         of errno.
79199 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79201         [BZ #11724]
79202         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79203         of constructors.
79204         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79205         of destructors.
79206         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79208         [BZ #11724]
79209         * elf/Makefile: Add rules to build and run new test.
79210         * elf/tst-initorder.c: New file.
79211         * elf/tst-initorder.exp: New file.
79212         * elf/tst-initordera1.c: New file.
79213         * elf/tst-initordera2.c: New file.
79214         * elf/tst-initordera3.c: New file.
79215         * elf/tst-initordera4.c: New file.
79216         * elf/tst-initorderb1.c: New file.
79217         * elf/tst-initorderb2.c: New file.
79218         * elf/tst-order-a1.c: New file.
79219         * elf/tst-order-a2.c: New file.
79220         * elf/tst-order-a3.c: New file.
79221         * elf/tst-order-a4.c: New file.
79222         * elf/tst-order-b1.c: New file.
79223         * elf/tst-order-b2.c: New file.
79224         * elf/tst-order-main.c: New file.
79225         New test case by George Gensure <werkt0@gmail.com>.
79227 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79230         decoding ACE if AI_CANONIDN.
79232 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79234         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79236 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79238         * version.h (RELEASE): Bump for 2.13 release.
79239         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79241         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79243         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79244         MADV_NOHUGEPAGE.
79245         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79246         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79247         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79248         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79249         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79250         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79252         * posix/getconf.c: Update copyright year.
79253         * catgets/gencat.c: Likewise.
79254         * csu/version.c: Likewise.
79255         * debug/catchsegv.sh: Likewise.
79256         * debug/xtrace.sh: Likewise.
79257         * elf/ldconfig.c: Likewise.
79258         * elf/ldd.bash.in: Likewise.
79259         * elf/sprof.c (print_version): Likewise.
79260         * iconv/iconv_prog.c: Likewise.
79261         * iconv/iconvconfig.c: Likewise.
79262         * locale/programs/locale.c: Likewise.
79263         * locale/programs/localedef.c: Likewise.
79264         * malloc/memusage.sh: Likewise.
79265         * malloc/mtrace.pl: Likewise.
79266         * nscd/nscd.c (print_version): Likewise.
79267         * nss/getent.c: Likewise.
79269         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79270         PF_CAIF, and PF_ALG.
79271         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79273 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79275         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79276         (modules-names): Use them.
79277         (ifunc-test-modules, ifunc-pie-tests): Define.
79278         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79279         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79280         (test-extras): Likewise.
79281         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79282         $(compile-command.c).
79283         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79284         (all-built-dso): Define.
79285         (check-textrel.out, check-execstack.out): Depend on it.
79287         * configure.in: Don't override --enable-multi-arch.
79289 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79291         [BZ #6812]
79292         * nscd/hstcache.c (tryagain): Define.
79293         (cache_addhst): Return tryagain not notfound for temporary errors.
79294         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79295         failed.
79297 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79299         [BZ #10563]
79300         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79301         to make the syscall.
79302         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79304         [BZ #12378]
79305         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79306         and fall back to matching as normal character if the string ends before
79307         the matching ']' is found.  This is what POSIX requires.
79308         * posix/testfnm.c: Adjust test result.
79309         * posix/globtest.sh: Adjust test result.  Add new test.
79310         * posix/tst-fnmatch.input: Likewise.
79311         * posix/tst-fnmatch2.c: Add new test.
79313 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79315         * elf/Makefile (check-execstack): Revert last change.  Depend on
79316         check-execstack.h.
79317         (check-execstack.h): New target.
79318         (generated): Add check-execstack.h.
79319         * elf/check-execstack.c: Include "check-execstack.h".
79320         (main): Revert last change.
79321         (handle_file): Return zero if GNU_STACK is absent and
79322         DEFAULT_STACK_PERMS doesn't include PF_X.
79324 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79326         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79327         in child fails because the descriptor is already closed.
79328         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79329         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79330         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79332         [BZ #12397]
79333         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79334         syscall.
79336         [BZ #10484]
79337         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79338         temporary buffer used to handle multi lookups locally.
79339         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79341 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79343         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79344         loader is ld.so.
79346 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79348         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79349         alignment for SSE2.
79351 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79353         [BZ #12394]
79354         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79355         characters.  When rounding increased number of integer digits recompute
79356         number of groups.
79357         * stdio-common/tst-grouping.c: New file.
79358         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79360 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79362         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79363         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79365         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79366         void.
79367         * bits/select.h: Likewise.
79369 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79371         * po/ja.po: Update from translation team.
79373 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79375         [BZ #11155]
79376         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79377         implementation just like for lxstat, fxstatat, et al.
79379 2010-12-27  Jim Meyering  <meyering@redhat.com>
79381         [BZ #12348]
79382         * posix/regexec.c (build_trtable): Return failure indication upon
79383         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79385 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79387         [BZ #12201]
79388         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79389         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79390         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79391         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79393         [BZ #12207]
79394         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79396         [BZ #12204]
79397         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79398         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79400 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79402         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79403         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79404         script has SORT_BY_INIT_PRIORITY.
79405         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79406         NO_CTORS_DTORS_SECTIONS is defined.
79407         * elf/soinit.c: Likewise.
79408         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79409         NO_CTORS_DTORS_SECTIONS is defined.
79410         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79411         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79412         * sysdeps/sh/init-first.c: Likewise.
79413         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79415 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79417         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79418         always use the slow path.
79420 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79422         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79423         similar rule which adds the sysdep directories to the header search in
79424         order to pick up the correct platform stackinfo.h.
79425         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79426         perform test if it is, otherwise return successfully without testing.
79427         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79428         DEFAULT_STACK_PERMS define in stackinfo.h.
79429         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79430         defined in stackinfo.h.
79431         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79432         DEFAULT_STACK_PERMS defined in stackinfo.h.
79433         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79434         * sysdeps/ia64/stackinfo.h: Likewise.
79435         * sysdeps/s390/stackinfo.h: Likewise.
79436         * sysdeps/sh/stackinfo.h: Likewise.
79437         * sysdeps/sparc/stackinfo.h: Likewise.
79438         * sysdeps/x86_64/stackinfo.h: Likewise.
79439         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79440         PF_X for powerpc64.  Retain PF_X for powerpc32.
79442 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79444         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79445         accurately.
79446         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79447         GETDENTS_64BIT_ALIGNED.
79449 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79451         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79453 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79455         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79456         _GNU_SOURCE.
79458         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79459         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79460         Remove __restrict.
79461         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79462         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79464 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79466         [BZ #11655]
79467         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79468         are initialized.
79470 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79472         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79474 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79476         * po/it.po: Update from translation team.
79478 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79481         unused codes.
79483 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79485         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79487 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79489         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79490         specially.
79491         (gaih_getanswer_slice): Likewise.
79493 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79497 2010-05-31  Petr Baudis  <pasky@suse.cz>
79499         [BZ #11149]
79500         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79501         silently even in the chroot mode.
79503 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79505         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79506         last patch a bit.  Pretty printing
79508 2010-05-31  Petr Baudis <pasky@suse.cz>
79510         [BZ #10085]
79511         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79512         initialization of skip_initgroups_dyn.
79514 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79516         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79517         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79519 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79521         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79523 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79525         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79526         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79527         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79528         ($(objpfx)tst-fnmatch-mem): New rule.
79529         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79530         * posix/tst-fnmatch.c (main): Call mtrace.
79532 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79535         Support Intel processor model 6 and model 0x2c.
79537 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79539         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79540           signed comparison.
79542 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79544         [BZ #12205]
79545         * string/test-strncasecmp.c (check_result): New function.
79546         (do_one_test): Use it.
79547         (check1): New function.
79548         (test_main): Use it.
79549         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79550         Support strcasecmp and strncasecmp.
79552 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79554         [BZ #12194]
79555         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79556         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79558 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79560         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79561         IFUNC support.
79562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79563         memset-x86-64.
79564         * sysdeps/x86_64/multiarch/bzero.S: New file.
79565         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79566         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79567         * sysdeps/x86_64/multiarch/memset.S: New file.
79568         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79570         Set bit_Prefer_SSE_for_memop for Intel processors.
79571         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79572         Define.
79573         (index_Prefer_SSE_for_memop): Define.
79574         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79576 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79578         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79579         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79581 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79583         [BZ #12191]
79584         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79585         (__x86_64_raw_data_cache_size_half): Likewise.
79586         (__x86_64_raw_shared_cache_size): Likewise.
79587         (__x86_64_raw_shared_cache_size_half): Likewise.
79589         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79590         (__x86_64_raw_data_cache_size_half): Likewise.
79591         (__x86_64_raw_shared_cache_size): Likewise.
79592         (__x86_64_raw_shared_cache_size_half): Likewise.
79593         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79594         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79595         and __x86_64_raw_shared_cache_size_half.  Round
79596         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79597         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79598         to multiple of 256 bytes.
79600 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79602         [BZ #12167]
79603         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79604         of inacessible symlinks.  Verify result of symlink before returning it.
79605         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79606         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79608 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79610         * math/math.h (isinf): Fix typo in comment.
79612 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79614         * po/da.po: Update from translation team.
79616 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79618         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79619         is added to the list.
79621 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79622             Ulrich Drepper  <drepper@gmail.com>
79624         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79625         the global list here.  Move code to...
79626         (_dl_add_to_namespace_list): ...here.  New function.
79627         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79628         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79629         * elf/dl-load.c (lose): Don't remove the element from the list.
79630         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79631         (_dl_map_object): Likewise.
79633 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79635         [BZ #12159]
79636         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79637         into all bytes of SSE register.
79638         Patch by Richard Li <richardpku@gmail.com>.
79640 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79642         [BZ #12140]
79643         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79644         perturbing.
79646 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79648         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79649         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79650         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79651         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79653         submachine.
79654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79656 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79658         * include/dlfcn.h (__RTLD_SECURE): Define.
79659         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79660         mode & __RTLD_SECURE instead.
79661         (open_path): Rename preloaded parameter to secure.
79662         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79663         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79664         * elf/dl-deps.c (openaux): Likewise.
79665         * elf/rtld.c (struct map_args): Remove is_preloaded.
79666         (map_doit): Don't use it.
79667         (dl_main): Likewise.
79668         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79669         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79671 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79673         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79674         (sysd-rules-targets): Remove duplicates.
79675         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79676         rtld-%.$o dependency.
79678 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79680         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79681         _dl_map_object do it.
79683 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79685         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79686         fast fma builtins, define the macros in the C99 standard.
79687         (FP_FAST_FMAF): Likewise.
79688         (FP_FAST_FMAL): Likewise.
79689         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79691         * bits/mathdef.h: Update copyright year.
79692         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79694 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79696         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79697         builtins, define the macros in the C99 standard.
79698         (FP_FAST_FMAF): Likewise.
79699         (FP_FAST_FMAL): Likewise.
79700         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79701         multiply/add.
79702         (FP_FAST_FMAF): Likewise.
79704 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79706         [BZ #3268]
79707         * math/libm-test.inc (fma_test): Some new testcases.
79708         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79710         y and infinite z.  Do multiplication by C already in long double.
79711         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79713         y and infinite z.  Do bitwise or of inexact bit into u.d.
79714         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79715         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79716         * sysdeps/i386/fpu/s_fma.S: Removed.
79717         * sysdeps/i386/fpu/s_fmal.S: Removed.
79719 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79721         [BZ #3268]
79722         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79723         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79724         computation is not scheduled after fetestexcept.  Fix value
79725         of minimum denormal long double.
79727 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79729         [BZ #3268]
79730         * math/libm-test.inc (fma_test): Add some more tests.
79731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79732         correctly.
79734 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79736         * scripts/data/localplt-s390-linux-gnu.data: New file.
79737         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79739 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79741         [BZ #3268]
79742         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79743         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79744         instead of dbl-64.
79745         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79746         inlines.
79747         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79749         if one of x and y is very large and the other is subnormal.
79750         * sysdeps/s390/fpu/s_fmaf.c: New file.
79751         * sysdeps/s390/fpu/s_fma.c: New file.
79752         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79753         * sysdeps/powerpc/fpu/s_fma.S: New file.
79754         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79755         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79756         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79758 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79760         [BZ #3268]
79761         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79762         fma tests.
79763         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79764         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79765         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79766         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79767         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79768         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79769         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79771 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79773         [BZ #12078]
79774         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79775         * posix/bug-regex31.input: Add test case.
79777 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79779         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79780         * posix/bug-regex31.input: New file.
79782         [BZ #12078]
79783         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79784         (parse_sub_exp): Fix last change, use postorder.
79786         * posix/bug-regex31.c: New file.
79787         * posix/Makefile: Add rules to build and run bug-regex31.
79789         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79791         [BZ #12078]
79792         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79794         [BZ #12108]
79795         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79796         to have entries in sys_siglist.
79798         [BZ #12093]
79799         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79800         be NULL.
79802 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79804         [BZ #3268]
79805         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79806         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79807         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79808         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79809         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79810         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79811         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79812         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79813         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79814         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79815         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79816         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79817         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79818         * math/ftestexcept.c (fetestexcept): Likewise.
79819         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79820         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79821         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79822         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79823         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79824         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79825         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79827 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79829         [BZ #12107]
79830         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79831         newline.
79833 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79835         * string/bug-strstr1.c: New file.
79836         * string/Makefile: Add rules to build and run bug-strstr1.
79838 2010-10-05  Eric Blake  <eblake@redhat.com>
79840         [BZ #12092]
79841         * string/str-two-way.h (two_way_long_needle): Always clear memory
79842         when skipping input due to the shift table.
79844 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79846         [BZ #12005]
79847         * malloc/mcheck.c: Handle large requests.
79849         [BZ #12077]
79850         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79851         for strncmp and strncasecmp.
79852         * string/stratcliff.c: Add tests for strcmp and strncmp.
79853         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79855 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79857         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79858         __set_fpscr.
79860 2010-09-30  Andreas Jaeger  <aj@suse.de>
79862         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79863         (CGROUP_SUPER_MAGIC): Define.
79864         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79865         Handle btrfs and cgroup file systems.
79866         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79867         Likewise.
79869 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79871         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79872         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79874 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79876         [BZ #12067]
79877         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79878         trying to locate the ELF header.
79880 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79882         [BZ #11611]
79883         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79884         Mask out sign-bit copies when constructing f_fsid.
79886 2010-09-24  Petr Baudis <pasky@suse.cz>
79888         * debug/stack_chk_fail_local.c: Add missing licence exception.
79889         * debug/warning-nop.c: Likewise.
79891 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79893         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79894         implementing getdents64 using getdents syscall, set d_type if
79895         __ASSUME_GETDENTS32_D_TYPE.
79897 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79899         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79900         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79902 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79904         [BZ #12037]
79905         * posix/unistd.h: Undo change of feature selection for ftruncate from
79906         2010-01-11.
79908 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79910         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79911         detection.
79913 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79915         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79916         fanotify_mark.
79917         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79919 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79921         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79922         variables after CHECK_SP call.
79923         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79925 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79926             Ulrich Drepper  <drepper@redhat.com>
79928         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79929         re-relocationg ld.so.
79930         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79931         _dl_init_paths call.
79932         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79933         here anymore.
79935 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79937         * resolv/res_init.c (__res_vinit): Count the default server we added.
79939 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79940             Ulrich Drepper  <drepper@redhat.com>
79942         [BZ #11968]
79943         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79944         (____longjmp_chk): Use %ebx for saving value across system call.
79945         Add unwind info.
79947 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79949         * manual/Makefile: Don't mix pattern rules with normal rules.
79951 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79953         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79954         operation.
79955         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79956         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79957         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79958         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79959         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79960         Likewise.
79962 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79964         [BZ #11979]
79965         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79966         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79968 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79970         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79971         * sysdeps/x86_64/addmul_1.S: Likewise.
79972         * sysdeps/x86_64/lshift.S: Likewise.
79973         * sysdeps/x86_64/mul_1.S: Likewise.
79974         * sysdeps/x86_64/rshift.S: Likewise.
79975         * sysdeps/x86_64/sub_n.S: Likewise.
79976         * sysdeps/x86_64/submul_1.S: Likewise.
79978 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79980         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79981         Define __sched_param instead of SCHED_* and sched_param when
79982         <bits/sched.h> is included with __need_schedparam defined.
79983         * bits/sched.h [__need_schedparam]
79984         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79985         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79986         (__defined_schedparam): Define to 1.
79987         (__sched_param): New structure, identical to sched_param.
79988         (__need_schedparam): Undefine.
79990 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79992         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79993         (epoll_create1): Declare.
79995         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79997 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79999         [BZ #7066]
80000         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80001         shifting retval into place.
80003 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80005         * nis/rpcsvc/nis.h: Update copyright notice.
80006         * nis/rpcsvc/nis.x: Likewise.
80007         * nis/rpcsvc/nis_callback.h: Likewise.
80008         * nis/rpcsvc/nis_callback.x: Likewise.
80009         * nis/rpcsvc/nis_object.x: Likewise.
80010         * nis/rpcsvc/nis_tags.h: Likewise.
80011         * nis/rpcsvc/yp.h: Likewise.
80012         * nis/rpcsvc/yp.x: Likewise.
80013         * nis/rpcsvc/ypupd.h: Likewise.
80014         * nis/yp_xdr.c: Likewise.
80015         * nis/ypupdate_xdr.c: Likewise.
80017         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80018         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80019         (pmap_getport): Use __libc_rpc_getport.
80020         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80021         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80022         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80024 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80027         fanotify_mark.
80029 2010-08-27  Roland McGrath  <roland@redhat.com>
80031         * sysdeps/i386/i686/multiarch/Makefile
80032         (CFLAGS-varshift.c): New variable.
80034 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80036         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80037         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80039         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80041         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80043 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80045         * sysdeps/x86_64/strlen.S: Unroll the loop.
80046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80047         strlen-sse2 strlen-sse2-bsf.
80048         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80049         __strlen_no_bsf if bit_Slow_BSF is set.
80050         (__strlen_sse42): Removed.
80051         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80052         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80054 2010-08-25  Roland McGrath  <roland@redhat.com>
80056         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80057         * sysdeps/x86_64/multiarch/varshift.c: New file.
80058         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80059         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80060         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80061         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80063 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80066         strlen-sse2 strlen-sse2-bsf.
80067         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80068         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80069         (__strlen_sse2): Removed.
80070         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80071         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80073         bit_Slow_BSF for Atom.
80074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80075         (index_Slow_BSF): Define.
80076         (HAS_SLOW_BSF): Define.
80078 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80080         [BZ #10851]
80081         * resolv/res_init.c (__res_vinit): When no server address at all
80082         is given default to loopback.
80084 2010-08-24  Roland McGrath  <roland@redhat.com>
80086         * configure.in: Remove config-name.h generation.
80087         * configure: Regenerated.
80088         * config-name.in: File removed.
80089         * scripts/config-uname.sh: New file.
80090         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80091         ($(objdir)config-name.h): New target.
80093         * sunrpc/rpc_parse.h: Avoid nested comment.
80095 2010-08-24  Richard Henderson  <rth@redhat.com>
80096             Ulrich Drepper  <drepper@redhat.com>
80097             H.J. Lu  <hongjiu.lu@intel.com>
80099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80100         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80101         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80102         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80103         _mm_alignr_epi8 with _mm_loadu_si128.
80104         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80105         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80106         (__m128i_shift_right): Removed.
80107         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80108         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80109         * sysdeps/x86_64/multiarch/varshift.h: New file.
80110         * sysdeps/x86_64/multiarch/varshift.S: New file.
80112 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80114         * configure.in: Move assembler checks to before sysdep dir checking.
80116 2010-08-20  Petr Baudis  <pasky@suse.cz>
80118         * LICENSES: Sync the sunrpc license.
80120 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80122         * sunrpc/auth_des.c: Update copyright notice once again.
80123         * sunrpc/auth_none.c: Likewise.
80124         * sunrpc/auth_unix.c: Likewise.
80125         * sunrpc/authdes_prot.c: Likewise.
80126         * sunrpc/authuxprot.c: Likewise.
80127         * sunrpc/bindrsvprt.c: Likewise.
80128         * sunrpc/clnt_gen.c: Likewise.
80129         * sunrpc/clnt_perr.c: Likewise.
80130         * sunrpc/clnt_raw.c: Likewise.
80131         * sunrpc/clnt_simp.c: Likewise.
80132         * sunrpc/clnt_tcp.c: Likewise.
80133         * sunrpc/clnt_udp.c: Likewise.
80134         * sunrpc/clnt_unix.c: Likewise.
80135         * sunrpc/des_crypt.c: Likewise.
80136         * sunrpc/des_soft.c: Likewise.
80137         * sunrpc/get_myaddr.c: Likewise.
80138         * sunrpc/getrpcport.c: Likewise.
80139         * sunrpc/key_call.c: Likewise.
80140         * sunrpc/key_prot.c: Likewise.
80141         * sunrpc/openchild.c: Likewise.
80142         * sunrpc/pm_getmaps.c: Likewise.
80143         * sunrpc/pm_getport.c: Likewise.
80144         * sunrpc/pmap_clnt.c: Likewise.
80145         * sunrpc/pmap_prot.c: Likewise.
80146         * sunrpc/pmap_prot2.c: Likewise.
80147         * sunrpc/pmap_rmt.c: Likewise.
80148         * sunrpc/rpc/auth.h: Likewise.
80149         * sunrpc/rpc/auth_unix.h: Likewise.
80150         * sunrpc/rpc/clnt.h: Likewise.
80151         * sunrpc/rpc/des_crypt.h: Likewise.
80152         * sunrpc/rpc/key_prot.h: Likewise.
80153         * sunrpc/rpc/netdb.h: Likewise.
80154         * sunrpc/rpc/pmap_clnt.h: Likewise.
80155         * sunrpc/rpc/pmap_prot.h: Likewise.
80156         * sunrpc/rpc/pmap_rmt.h: Likewise.
80157         * sunrpc/rpc/rpc.h: Likewise.
80158         * sunrpc/rpc/rpc_des.h: Likewise.
80159         * sunrpc/rpc/rpc_msg.h: Likewise.
80160         * sunrpc/rpc/svc.h: Likewise.
80161         * sunrpc/rpc/svc_auth.h: Likewise.
80162         * sunrpc/rpc/types.h: Likewise.
80163         * sunrpc/rpc/xdr.h: Likewise.
80164         * sunrpc/rpc_clntout.c: Likewise.
80165         * sunrpc/rpc_cmsg.c: Likewise.
80166         * sunrpc/rpc_common.c: Likewise.
80167         * sunrpc/rpc_cout.c: Likewise.
80168         * sunrpc/rpc_dtable.c: Likewise.
80169         * sunrpc/rpc_hout.c: Likewise.
80170         * sunrpc/rpc_main.c: Likewise.
80171         * sunrpc/rpc_parse.c: Likewise.
80172         * sunrpc/rpc_parse.h: Likewise.
80173         * sunrpc/rpc_prot.c: Likewise.
80174         * sunrpc/rpc_sample.c: Likewise.
80175         * sunrpc/rpc_scan.c: Likewise.
80176         * sunrpc/rpc_scan.h: Likewise.
80177         * sunrpc/rpc_svcout.c: Likewise.
80178         * sunrpc/rpc_tblout.c: Likewise.
80179         * sunrpc/rpc_util.c: Likewise.
80180         * sunrpc/rpc_util.h: Likewise.
80181         * sunrpc/rpcinfo.c: Likewise.
80182         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80183         * sunrpc/rpcsvc/key_prot.x: Likewise.
80184         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80185         * sunrpc/rpcsvc/mount.x: Likewise.
80186         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80187         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80188         * sunrpc/rpcsvc/rex.x: Likewise.
80189         * sunrpc/rpcsvc/rstat.x: Likewise.
80190         * sunrpc/rpcsvc/rusers.x: Likewise.
80191         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80192         * sunrpc/rpcsvc/spray.x: Likewise.
80193         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80194         * sunrpc/rtime.c: Likewise.
80195         * sunrpc/svc.c: Likewise.
80196         * sunrpc/svc_auth.c: Likewise.
80197         * sunrpc/svc_authux.c: Likewise.
80198         * sunrpc/svc_raw.c: Likewise.
80199         * sunrpc/svc_run.c: Likewise.
80200         * sunrpc/svc_simple.c: Likewise.
80201         * sunrpc/svc_tcp.c: Likewise.
80202         * sunrpc/svc_udp.c: Likewise.
80203         * sunrpc/svc_unix.c: Likewise.
80204         * sunrpc/svcauth_des.c: Likewise.
80205         * sunrpc/xcrypt.c: Likewise.
80206         * sunrpc/xdr.c: Likewise.
80207         * sunrpc/xdr_array.c: Likewise.
80208         * sunrpc/xdr_float.c: Likewise.
80209         * sunrpc/xdr_mem.c: Likewise.
80210         * sunrpc/xdr_rec.c: Likewise.
80211         * sunrpc/xdr_ref.c: Likewise.
80212         * sunrpc/xdr_sizeof.c: Likewise.
80213         * sunrpc/xdr_stdio.c: Likewise.
80215         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80216         handling.
80218 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80220         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80222 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80224         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80225         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80227         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80228         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80229         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80230         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80231         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80232         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80233         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80234         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80235         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80236         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80237         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80239 2010-07-26  Anton Blanchard  <anton@samba.org>
80241         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80242         * malloc/arena.c (heap_trim): Likewise.
80244 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80246         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80247         here.  Not...
80248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80249         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80251 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80253         * sysdeps/i386/elf/Makefile: New file.
80255 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80257         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80258         from fanotify_init.
80259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80262 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80264         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80265         of strncasecmp_l.
80266         * sysdeps/multiarch/strcmp.S: Likewise.
80268 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80270         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80271         strncase_l-nonascii.
80272         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80273         Add strncase_l-ssse3.
80274         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80275         * sysdeps/x86_64/strcmp.S: Likewise.
80276         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80277         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80278         * sysdeps/x86_64/strncase.S: New file.
80279         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80280         * sysdeps/x86_64/strncase_l.S: New file.
80281         * string/Makefile (strop-tests): Add strncasecmp.
80282         * string/test-strncasecmp.c: New file.
80284         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80285         warning.
80287         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80288         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80290 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80292         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80294 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80296         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80297         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80298         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80300 2010-05-01  Alan Modra  <amodra@gmail.com>
80302         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80303         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80304         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80305         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80306         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80307         tidying.  Don't tail-call __sigjmp_save for static lib.
80308         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80309         save location.
80310         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80311         (CALL_MCOUNT): Add eh info, and nop after bl.
80312         (TAIL_CALL_SYSCALL_ERROR): New macro.
80313         (PSEUDO_RET): Use it.
80314         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80315         Correct save location of integer regs and cr.
80316         (_dl_profile_resolve): Correct cr save location.  Delete nops
80317         after bl when SHARED.  Reduce cfi size a little by better
80318         placement of cfi directives.
80319         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80320         make a stack frame.  Instead use parm save area as a temp.
80321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80322         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80324         Don't make a stack frame for parent, use parm save area.
80325         Increase child stack frame to 112 bytes.  Don't save unused reg,
80326         and adjust reg usage.  Set up cfi on error recovery and
80327         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80329         (__makecontext): Add dummy nop after jump to exit.
80330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80331         Use correct parm save area and cr save, reduce stack frame.
80332         Correct cfi for possible PSEUDO_RET frame setup.
80333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80334         Branch to local label emitted by PSEUDO_RET rather than
80335         __syscall_error.
80337 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80339         [BZ #11904]
80340         * locale/programs/locale.c (print_assignment): New function.
80341         (show_locale_vars): Use it.
80343 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80345         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80346         field.
80347         (struct statfs64): Likewise.
80348         (_STATFS_F_FLAGS): Define.
80349         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80350         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80351         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80352         (ST_VALID): Define locally.
80353         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80354         __statvfs_getflags, use the provided value.
80355         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80356         __ASSUME_STATFS_F_FLAGS.
80358         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80360         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80361         Add sys/fanotify.h.
80362         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80363         fanotify_mask for GLIBC_2.13.
80364         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80365         fanotify_init and fanotify_mark.
80366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80367         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80369         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80370         Add prlimit.
80371         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80372         prlimit64 for GLIBC_2.13.
80373         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80374         prlimit64.
80375         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80376         syscall.
80377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80378         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80379         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80380         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80382         add prlimit alias.
80383         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80385         [BZ #11903]
80386         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80387         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80389         * nss/Makefile: Add rules to build and run tst-nss-test1.
80390         * shlib-versions: Add entry for libnss_test1.
80391         * nss/nss_test1.c: New file.
80392         * nss/tst-nss-test1.c: New file.
80394         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80395         (__nss_configure_lookup): Set appropriate entry in
80396         __nss_configure_lookup to true.
80397         * nss/nsswitch.h: Define enum with indeces of databases in
80398         databases and __nss_database_custom arrays.  Declare
80399         __nss_database_custom.
80400         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80401         to avoid using nscd when custom rules are installed.
80402         * nss/getXXbyYY_r.c: Likewise.
80403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80405         * nss/nss_files/files-parse.c: Whitespace fixes.
80407 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80409         [BZ #11883]
80410         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80411         * posix/fnmatch_loop.c: Likewise.
80413 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80415         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80416         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80417         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80418         * Versions.def [GLIBC_2.13]: Add.
80420 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80422         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80423         Also fail if tpwd after pwuid call is NULL.
80425 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80427         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80428         when converting to ms.
80430 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80432         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80433         EOPNOTSUPP errors with ENOTTY.
80434         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80435         EOPNOTSUPP errors with ENOTTY.
80437 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80439         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80440         Add strcasecmp_l-ssse3.
80441         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80442         strcasecmp.
80443         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80444         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80445         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80447 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80449         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80451         * string/Makefile (strop-tests): Add strcasecmp.
80452         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80453         strcasecmp_l-nonascii.
80454         (gen-as-const-headers): Add locale-defines.sym.
80455         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80456         * sysdeps/x86_64/strcasecmp.S: New file.
80457         * sysdeps/x86_64/strcasecmp_l.S: New file.
80458         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80459         * sysdeps/x86_64/locale-defines.sym: New file.
80460         * string/test-strcasecmp.c: New file.
80462         * string/test-strcasestr.c: Test both ends of the range of characters.
80463         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80465 2010-07-29  Roland McGrath  <roland@redhat.com>
80467         [BZ #11856]
80468         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80470 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80472         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80473         for ld.so.
80475 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80477         * manual/memory.texi (Malloc Tunable Parameters): Document
80478         M_PERTURB.
80480 2010-07-26  Roland McGrath  <roland@redhat.com>
80482         [BZ #11840]
80483         * configure.in (-fgnu89-inline check): Set and substitute
80484         gnu89_inline, not libc_cv_gnu89_inline.
80485         * configure: Regenerated.
80486         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80488 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80490         * string/test-strnlen.c: New file.
80491         * string/Makefile (strop-tests): Add strnlen.
80492         * string/tester.c (test_strnlen): Add a few more test cases.
80493         * string/tst-strlen.c: Better error reporting.
80495         * sysdeps/x86_64/strnlen.S: New file.
80497 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80499         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80500         lower-latency instructions.
80502 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80504         * string/test-strcasestr.c: New file.
80505         * string/test-strstr.c: New file.
80506         * string/Makefile (strop-tests): Add strstr and strcasestr.
80507         * string/str-two-way.h: Don't undefine MAX.
80508         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80510 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80513         strcasestr-nonascii.
80514         (CFLAGS-strcasestr-nonascii.c): Define.
80515         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80516         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80517         Remove unused attribute.
80519 2010-07-20  Roland McGrath  <roland@redhat.com>
80521         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80522         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80523         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80524         like LD_HWCAP_MASK can disable hwcaps.
80526 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80528         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80530 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80532         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80533         call in strcasestr.
80534         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80535         __strcasestr_sse42_nonascii.
80536         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80537         strcasestr-nonascii.c.
80538         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80540 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80542         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80543         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80544         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80545         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80547 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80549         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80550         fcntl.
80552 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80554         [BZ #11577]
80555         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80556         dl_signal_cerror.
80558 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80560         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80561         _PC_PIPE_BUF using F_GETPIPE_SZ.
80563 2010-07-05  Roland McGrath  <roland@redhat.com>
80565         * manual/arith.texi (Rounding Functions): Fix rint description
80566         implicit in round description.
80568 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80570         * elf/Makefile: Fix linking for a few tests to make recent linker
80571         happy.
80573 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80575         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80576         $(common-objpfx)libc_nonshared.a.
80578 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80580         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80581         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80582         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80583         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80584         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80585         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80586         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80587         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80602         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80603         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80604         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80605         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80606         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80607         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80608         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80609         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80610         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80611         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80612         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80613         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80629 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80631         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80632         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80633         * string/memmove.c (memmove): Renamed to ...
80634         (MEMMOVE): ...this.  Default to memmove.
80635         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80636         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80637         (END_CHK): Define.
80638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80639         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80640         mempcpy-ssse3-back memmove-ssse3-back.
80641         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80642         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80644         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80645         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80646         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80647         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80648         * sysdeps/x86_64/multiarch/memmove.c: New file.
80649         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80650         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80651         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80652         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80653         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80654         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80655         Define.
80656         (index_Fast_Copy_Backward): Define.
80657         (HAS_ARCH_FEATURE): Define.
80658         (HAS_FAST_REP_STRING): Define.
80659         (HAS_FAST_COPY_BACKWARD): Define.
80661 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80663         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80664         Restore proper fallback handling.
80666 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80668         [BZ #11701]
80669         * posix/group_member.c (__group_member): Correct checking loop.
80671         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80672         OOM in getpwuid_r correctly.  Return error number when the caller
80673         should return, otherwise -1.
80674         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80675         call returning > 0 value.
80676         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80678 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80680         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80681         libc_nonshared.a from targets in modules-names.
80683 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80685         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80686         requires it.
80688 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80690         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80691         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80692         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80693         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80695 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80697         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80699 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80701         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80702         and F_GETPIPE_SZ.
80703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80704         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80705         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80707         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80708         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80710 2010-06-14  Roland McGrath  <roland@redhat.com>
80712         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80714 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80716         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80717         __REDIRECT followed by __THROW.
80718         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80719         * posix/getopt.h (getopt): Likewise.
80721 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80723         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80724         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80725         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80726         in AT_FLAGS.
80727         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80728         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80730 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80732         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80734 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80736         [BZ #11640]
80737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80738         Properly check family and model.
80740 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80742         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80744 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80746         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80748 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80750         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80751         symbol reference.
80753 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80755         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80756         symbol reference.
80758 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80760         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80761         and internal_recvmmsg.
80762         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80763         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80764         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80765         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80767         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80768         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80769         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80771 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80773         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80775 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80777         POWER7 optimizations.
80778         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80779         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80781 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80783         * version.h: Update for 2.13 development version.
80785 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80787         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80788         exceptions.  Return 0.
80790 2010-05-07  Roland McGrath  <roland@redhat.com>
80792         * elf/ldconfig.c (main): Add a const.
80794 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80796         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80797         (args_options): Add no-idn option.
80798         (ahosts_keys_int): Add idn_flags to ai_flags.
80799         (parse_option): Handle 'i' option to clear idn_flags.
80801         * malloc/malloc.c (_int_free): Possible race in the most recently
80802         added check.  Only act on the data if no current modification
80803         happened.
80805 See ChangeLog.17 for earlier changes.